mobilehunter Messages: 87 Registered: November 2006
Member
I can compile and link with boost library.
I cannot use blitz mode, since compiler will compain about 't_G' something.
Any solution working with blitz mode?
My project is GUI wrapper for existing application.
My test was, create a GUI and just add old source code that use boost library to the project and compile.
At the GUI part i still not use the old code, just template.
I can compile and link with boost library.
I cannot use blitz mode, since compiler will compain about 't_G' something.
Any solution working with blitz mode?
I am not sure in what mode are you using boost? Linked library?
mobilehunter Messages: 87 Registered: November 2006
Member
luzr wrote on Fri, 08 December 2006 17:20
mobilehunter wrote on Fri, 08 December 2006 02:51
I can compile and link with boost library.
I cannot use blitz mode, since compiler will compain about 't_G' something.
Any solution working with blitz mode?
I am not sure in what mode are you using boost? Linked library?
I can compile and link with boost library.
I cannot use blitz mode, since compiler will compain about 't_G' something.
Any solution working with blitz mode?
I am not sure in what mode are you using boost? Linked library?
Mirek
My link mode option is 'Use shared libs'.
Ah, I meant whether you are trying to compile as sources in TheIDE, or just put .so in the project.. (looks like second option).
Well, I guess 't_*' name clash was mentioned before. Maybe it is not that hard to avoid this clash in U++. Adding to list
mobilehunter Messages: 87 Registered: November 2006
Member
I just linking against boost, i got the compiled library which complied by VS.Net 2003.
Here are the error descriptions.
include\boost\bind.hpp(95) : error C2614: 'boost::_bi::value<T>' : illegal member initialization: 't_GetLngString'
is not a base or member
with
[
T=ChainBox *
]
include\boost\bind.hpp(95) : while compiling class-template member function 'boost::_bi::value<T>::value(const T & )'
with
[
T=ChainBox *
]
include\boost\bind.hpp(249) : see reference to class template instantiation 'boost::_bi::value<T>' being compiled
with
[
T=ChainBox *
]
include\boost\bind\bind_template.hpp(161) : see reference to class template instantiation 'boost::_bi::list1<A1>'
being compiled
with
[
A1=boost::_bi::list_av_1<ChainBox *>::B1
]
G:\MyApps\Main\ChainBox.cpp(74) : see reference to class template instantiation 'boost::_bi::bind_t<R,F,L>'
being compiled
with
[
R=void,
F=boost::_mfi::mf0<void,ChainBox>,
L=boost::_bi::list1<boost::_bi::list_av_1<ChainBox *>::B1>
]
mobilehunter Messages: 87 Registered: November 2006
Member
luzr wrote on Mon, 11 December 2006 17:23
Hm, seems I will have to install the boost after all..
What is in ChainBox?
Mirek
Inside ChainBox class i do this from member function
mThread = new boost::thread(boost::bind(&ChainBox::startChain,this));
If i commented that line everything is ok.
Another thing i found is, after i commented, the compilation works, but when i uncommented back. why the compilation result still ok? But if i do rebuild all the boost error message will show.