QxOrm compilation

Forum for posting problems using QxOrm library

QxOrm compilation

Postby Ilya Zhigalko » Wed Jun 09, 2010 3:32 pm

Hello. I dont speak french, and my english is very bad, but i have a question.
QxOrm wont compile in debian unstable with boost 1.42.
Error:
src/QxSingleton/QxSingletonX.cpp: In static member function ‘static void qx::QxSingletonX::deleteAllSingleton()’:
src/QxSingleton/QxSingletonX.cpp:78: error: ‘_foreach_col78’ was not declared in this scope
src/QxSingleton/QxSingletonX.cpp:78: error: ‘_foreach_cur78’ was not declared in this scope
src/QxSingleton/QxSingletonX.cpp:78: error: ‘_foreach_end78’ was not declared in this scope
src/QxSingleton/QxSingletonX.cpp:78: warning: unused variable ‘_foreach_end’
src/QxSingleton/QxSingletonX.cpp:78: warning: unused variable ‘_foreach_col’
Ilya Zhigalko
 

Re: QxOrm compilation

Postby QxOrm admin » Fri Jun 11, 2010 10:09 am

Hello,

Another user has been the same error due to Qt installation (after reinstalling Qt, there is no problem to compile QxOrm).
What is your Qt version ?

Thank you for testing our library.

QxOrm
QxOrm admin
 

Re: QxOrm compilation

Postby Paul » Mon Jun 28, 2010 6:24 am

Hi, have the same problem.
Using ubuntu linux 10.04, QT is set up from repositories...
Paul
 

Re: QxOrm compilation

Postby QxOrm admin » Mon Jun 28, 2010 6:32 am

Ok I will try to reproduce your problem.

What is your Ubuntu version ?
What is your Qt version ?
What is your boost version ?
What is your gcc version ?

For information, I compile QxOrm whitout problem on Ubuntu 9.XXX, Qt 4.5.2, boost 1.38 and gcc 4.4.1.
Maybe the problem came from gcc or an option of gcc (???).
QxOrm admin
 

Re: QxOrm compilation

Postby Paul » Mon Jun 28, 2010 6:36 am

QxOrm admin wrote:Ok I will try to reproduce your problem.

What is your Ubuntu version ?
What is your Qt version ?
What is your boost version ?
What is your gcc version ?

For information, I compile QxOrm whitout problem on Ubuntu 9.XXX, Qt 4.5.2, boost 1.38 and gcc 4.4.1.
Maybe the problem came from gcc or an option of gcc (???).

What is your Ubuntu version ?

Ubuntu 10.04
What is your Qt version ?
What is your boost version ?
What is your gcc version ?

Where i can find versions of these ones?
Paul
 

Re: QxOrm compilation

Postby Paul » Mon Jun 28, 2010 6:38 am

QxOrm admin wrote:What is your gcc version ?

4.4.3
Paul
 

Re: QxOrm compilation

Postby Paul » Mon Jun 28, 2010 6:49 am

QxOrm admin wrote:What is your Qt version ?

qt 4.6.2

Sorry, i have no any idea, how to find boost version
Paul
 

Re: QxOrm compilation

Postby QxOrm admin » Mon Jun 28, 2010 7:43 pm

Goto file :
./usr/include/boost/version.hpp

This file contains the boost version.

This is maybe your compilation problem because QxOrm uses BOOST_FOREACH macro.

You need to install at least boost version 1.38 to use QxOrm.
QxOrm admin
 

Re: QxOrm compilation

Postby Paul » Mon Jun 28, 2010 8:33 pm

QxOrm admin wrote:./usr/include/boost/version.hpp.


#define BOOST_LIB_VERSION "1_40"
Paul
 

Re: QxOrm compilation

Postby greg » Thu Jul 08, 2010 8:07 pm

I'm in the same boat.
Using Qt 4.6.2, boost 1.43.0 & gcc 4.3.4
greg
 

Next

Return to QxOrm - Help

Who is online

Users browsing this forum: No registered users and 15 guests

cron