← Back to team overview

linuxdcpp-team team mailing list archive

[Bug 342905] Re: Compile problem winxp mingw

 

Fixed in version 2.5.0.

** Changed in: adchpp
       Status: Fix Committed => Fix Released

-- 
Compile problem winxp mingw
https://bugs.launchpad.net/bugs/342905
You received this bug notification because you are a member of
Dcplusplus-team, which is subscribed to ADCH++.

Status in ADCH++: Fix Released

Bug description:
I cant get adch++ to compile on winxp using mingw.

First i got this:

Compiling build\debug-mingw\adchpp\AdcCommand.o (shared)
In file included from adchpp\/AdcCommand.h:24,
                 from adchpp\AdcCommand.cpp:21:
adchpp\/Util.h:78: error: 'adchpp::FastMutex adchpp::intrusive_ptr_base<T>::mtx' is not a static member of 'class adchpp::intrusive_ptr_base<T>'
adchpp\/Util.h:78: error: template definition of non-template 'adchpp::FastMutex adchpp::intrusive_ptr_base<T>::mtx'
scons: *** [build\debug-mingw\adchpp\AdcCommand.o] Error 1
scons: building terminated because of errors.


So i tried to update mingw, and then i got this.
cc1plus.exe: error: unrecognized command line option "-Wno-missing-field-initializers"

So i removed -Wno-missing-field-initializers from SConstruct, and now i get this:

scons: Building targets ...
Compiling build\debug-mingw\adchpp\AdcCommand.o (shared)
In file included from boost/boost/tr1/tr1/functional:27,
                 from adchpp\adchpp.h:114,
                 from adchpp\AdcCommand.cpp:19:
boost/boost/tr1/functional.hpp:18:48: tr1/functional: No such file or directory
In file included from boost/boost/tr1/tr1/memory:28,
                 from adchpp\adchpp.h:115,
                 from adchpp\AdcCommand.cpp:19:
boost/boost/tr1/memory.hpp:63:44: tr1/memory: No such file or directory
In file included from adchpp\adchpp.h:117,
                 from adchpp\AdcCommand.cpp:19:
boost/boost/tr1/tr1/unordered_map:23:54: tr1/unordered_map: No such file or directory
In file included from adchpp\adchpp.h:118,
                 from adchpp\AdcCommand.cpp:19:
boost/boost/tr1/tr1/unordered_set:23:54: tr1/unordered_set: No such file or directory
In file included from adchpp\AdcCommand.h:24,
                 from adchpp\AdcCommand.cpp:21:
adchpp\Util.h:28: error: `hash' is not a template
adchpp\Util.h:78: error: `adchpp::FastMutex adchpp::intrusive_ptr_base<T>::mtx' is not a static member of `class adchpp::intrusive_ptr_base<T>'
adchpp\Util.h:78: error: template definition of non-template `adchpp::FastMutex adchpp::intrusive_ptr_base<T>::mtx'
scons: *** [build\debug-mingw\adchpp\AdcCommand.o] Error 1
scons: building terminated because of errors.