Qt and ICE compilation

in Help Center
Hello all
I am running ICE with QT using CENTOS and c++ environment, but I'm having a problem with compilation because QT requires cpp11 but ICE running environment was not compiled with cpp11. How can I overcome this?
If I need to recompile ICE with cpp11 how can I do that?
Thanks in advance for your help.
best regards
João
Tagged:
0
Comments
By the way, my ICE version is 3.6.2.
Hi Joao,
What Centos version are you using? Our rhel7 packages include both C++98 and C++11 builds.
See Setting up your Linux environment to use Ice.
If you need to build Ice yourself you must set CPP11=yes in cpp/config/Make.rules.
You should upgrade to 3.6.3.
Regards,
José
I am using Centos7
thank you José, It seams that the best way is realy to upgrade to 3.6.3
best regards,
João
This is the same with 3.6.2 and 3.6.3 the key point is to link with libraries in /usr/lib/c++11 or /usr/lib64/c++11 for 32 and 64 bits builds respectively as described in the Setting up your Linux environment to use Ice. I just mentioned the 3.6.3 upgrade because it includes numerous bug fixes and is binary compatible with 3.6.2.