Hi,

the error comes from libarchive. You can remove the header files 
if libarchive failed to build, that will solve you problem.. 
You have to uncomment the zlib/tar header checks in scons to build
hydrogen without any drumkit install support.

My patch only adds "-lpthread" to the linker flags. 



On Mon, 08 Jun 2009 20:34:31 -0400, David Bolton <[email protected]>
wrote:
> Sebastian,
> 
> I had followed the instructions posted at the "Coding & packaging on 
> Windows" page. I tried moving the pthread header files from 
> C:\MinGW\include to [h2svn]\build\pthreads\install\include and now it 
> gets much further through the build.
> 
> It looks like there are some ifdefs that need adjusting for MinGW. I 
> will wait for your patch tomorrow in case you have already addressed 
> some of these.
> 
> David
> 
> 
> g++ -o libs\hydrogen\src\sound_library.o -c -DLIBARCHIVE_SUPPORT 
> -DQT_CORE_LIB -
> DQT_GUI_LIB -I. -Igui\src -I3rdparty\install\include 
> -I3rdparty\install\lib -Ibu
> ild\pthreads\include -I3rdparty\libarchive\include -Iwindows\timeFix 
> -Ilibs\hydr
> ogen\include -IC:\Qt\2009.02\qt\include -IC:\Qt\2009.02\qt\include 
> -IC:\Qt\2009.
> 02\qt\include\QtCore -IC:\Qt\2009.02\qt\include\QtGui 
> libs\hydrogen\src\sound_li
> brary.cpp
> In file included from libs\hydrogen\src\sound_library.cpp:38:
> 3rdparty/install/lib/archive_entry.h:325: error: `extern' can only be 
> specified
> for objects and functions
> scons: *** [libs\hydrogen\src\sound_library.o] Error 1
> scons: building terminated because of errors.
> 
> 
> Sebastian Moors wrote:
>> Hi,
>>
>> Please read here for instructions to setup pthreads: 
>> http://trac.assembla.com/hydrogen/wiki/coding%3Apackagingwin
>> I'm going to move that page to "building on windows" since it is more 
>> related to building then packaging..
>> I've installed an old laptop with windows last weekend and it build fine
> 
>> till some QT linker errors occured,
>> so i can commit a small scons improvement tomorrow ..
>> Btw. libarchive fails to build there too :-/
>> - Sebastian
>>
>>
>> Gabriel M. Beddingfield wrote:
>>   
>>> Hi David,
>>>
>>> On Mon, 8 Jun 2009, David Bolton wrote:
>>>   
>>>     
>>>>                 from gui\src\PlaylistEditor\PlaylistDialog.cpp:24:
>>>> libs/hydrogen/include/hydrogen/Object.h:35:21: pthread.h: No such file
>>>> or direct
>>>> ory
>>>>     
>>>>       
>>> Do you have the pthreads, and pthread.h?  It's saying that it can't
> find 
>>> it.  It does not come as a part of mingw.
>>>
>>> Thanks,
>>> Gabriel
>>>     
> 
>
------------------------------------------------------------------------------
> Crystal Reports - New Free Runtime and 30 Day Trial
> Check out the new simplified licensing option that enables unlimited
> royalty-free distribution of the report engine for externally facing 
> server and web deployment.
> http://p.sf.net/sfu/businessobjects
> _______________________________________________
> Hydrogen-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/hydrogen-devel


------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Hydrogen-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/hydrogen-devel

Reply via email to