QxOrm compilation

Forum for posting problems using QxOrm library

Re: QxOrm compilation

Postby 40KURL » Thu Jul 08, 2010 8:29 pm

nevermind.....moving to boost_1_38_0 fixed the problem
40KURL
 

Re: QxOrm compilation

Postby QxOrm admin » Sat Jul 10, 2010 8:39 am

Ok thank you !

So this is a problem with boost version under linux.
Under Windows and Visual C++ compiler, there is no problem from version 1.38 to 1.42 (1.43 has not been tested yet).

I will resolve this issue in the next release...
QxOrm admin
 

Re: QxOrm compilation

Postby matthieu » Thu Jul 22, 2010 6:11 pm

I've edited include/QxCollection/QxForeach.h, and replaced _foreach_col, _foreach_cur, _foreach_end and _foreach_continue with BOOST_FOREACH_ID(_foreach_...), just like it has been done here in Boost's foreach implementation:
https://svn.boost.org/trac/boost/changeset/51169/trunk/boost/foreach.hpp

It compiles fine with boost 1.41.

hth,

--
Matthieu
matthieu
 

Re: QxOrm compilation

Postby matthieu » Sat Jul 24, 2010 4:45 pm

BTW, for 1.42 (on my Debian sid), I needed two more updates:

    edit include/QxSerialize/boost/QxSerialize_unordered_set.h and replace boost::serialization::stl::archive_input_multiset with boost::serialization::stl::archive_input_set, like
    [url]https://svn.boost.org/trac/boost/changeset/58359/trunk/boost/serialization/set.hpp[/url/[/list]
matthieu
 

Re: QxOrm compilation

Postby ruddy32 » Mon Dec 06, 2010 11:13 pm

Hello,
How to build QxOrm under linux platform?
Thanks
ruddy32
 

Re: QxOrm compilation

Postby QxOrm admin » Tue Dec 07, 2010 8:14 am

First you need to install boost library and Qt library.
Then, QxOrm uses "*.pro" file to create the makefile.
So goto your QxOrm directory and execute :
Code: Select all
qmake // to create makefile
make debug // to build in debug mode
make release // to build in release mode
QxOrm admin
 

Previous

Return to QxOrm - Help

Who is online

Users browsing this forum: No registered users and 11 guests