<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.2" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>k-Wave User Forum &#187; Topic: Build error Linux code</title>
		<link>http://www.k-wave.org/forum/topic/build-error-linux-code</link>
		<description>Support for the k-Wave MATLAB toolbox</description>
		<language>en-US</language>
		<pubDate>Tue, 12 May 2026 23:27:46 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.2</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://www.k-wave.org/forum/search.php</link>
		</textInput>
		<atom:link href="http://www.k-wave.org/forum/rss/topic/build-error-linux-code" rel="self" type="application/rss+xml" />

		<item>
			<title>beaujoh on "Build error Linux code"</title>
			<link>http://www.k-wave.org/forum/topic/build-error-linux-code#post-3939</link>
			<pubDate>Thu, 03 Oct 2013 13:10:02 +0000</pubDate>
			<dc:creator>beaujoh</dc:creator>
			<guid isPermaLink="false">3939@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi guys,&#60;/p&#62;
&#60;p&#62;A bit late but I compiled with gcc-4.7.3 on OS X 10.8 by adding an #include &#38;lt;unistd.h&#38;gt; in the hdf5.h file.&#60;/p&#62;
&#60;p&#62;Beau
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Jiri Jaros on "Build error Linux code"</title>
			<link>http://www.k-wave.org/forum/topic/build-error-linux-code#post-2256</link>
			<pubDate>Fri, 12 Apr 2013 15:57:45 +0000</pubDate>
			<dc:creator>Jiri Jaros</dc:creator>
			<guid isPermaLink="false">2256@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi jwjs.&#60;br /&#62;
Thanks for letting me know. I haven't tried gcc 4.7.2 so far (Still working under 4.6.3 which is a part of Ubuntu 12.04LTS). I'll fix this bug in the next K-wave update.&#60;/p&#62;
&#60;p&#62;Jiri
&#60;/p&#62;</description>
		</item>
		<item>
			<title>jwjs on "Build error Linux code"</title>
			<link>http://www.k-wave.org/forum/topic/build-error-linux-code#post-2223</link>
			<pubDate>Thu, 11 Apr 2013 16:47:38 +0000</pubDate>
			<dc:creator>jwjs</dc:creator>
			<guid isPermaLink="false">2223@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi Jiri,&#60;/p&#62;
&#60;p&#62;It seems there's a compile error straight out of the downloaded linux version (i.e. completely vanilla) with newer g++ versions.&#60;/p&#62;
&#60;p&#62;Problem:&#60;br /&#62;
HDF5/HDF5_File.cpp: In member function ‘void THDF5_FileHeader::SetHostName()’:&#60;br /&#62;
HDF5/HDF5_File.cpp:870:30: error: ‘gethostname’ was not declared in this scope&#60;br /&#62;
make: *** [HDF5/HDF5_File.o] Error 1&#60;/p&#62;
&#60;p&#62;Solution:&#60;br /&#62;
Include the following header in HDF5/HDF5_File.cpp&#60;br /&#62;
#include &#38;lt;unistd.h&#38;gt; &#60;/p&#62;
&#60;p&#62;Compiler version:&#60;br /&#62;
gcc version 4.7.2 (Ubuntu)
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
