fersanmed / tonatiuh

Automatically exported from code.google.com/p/tonatiuh
0 stars 0 forks source link

SoQt under Mac OS X - Problem building against Qt library #14

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hi,

I get an error when compiling SoQt under MacOS X 10.5.7 --with Xcode
3.1.2-, Coin3D 3.1.0 and Qt 4.5.1.

At some point of my ./configure --enable-debug=no  --without-framework
stops showing:

checking for Qt library devkit...  -L/usr/local/Trolltech/Qt-4.5.1/lib
UNRESOLVED

I tried to solve the problem changing my environmental variables as
explained in the error text, but I cannot get it to work.

My variables are:

CPPFLAGS="-I/usr/local/Trolltech/Qt-4.5.1/include/Qt
-I/usr/local/Trolltech/Qt-4.5.1/include/QtGui/
-I/usr/local/Trolltech/Qt-4.5.1/include/Qt3Support/
-I/usr/local/Trolltech/Qt-4.5.1/include/QtCore/"

CONFIG_QTLIBS="-lQt3Support -lQtGui -lQtCore"

QTDIR=/usr/local/Trolltech/Qt-4.5.1

and finally, my config.log is attached.

Thank you in advance for your support,

Best regards,
Emilio Murcia

Original issue reported on code.google.com by emmur...@gmail.com on 15 Jun 2009 at 4:58

Attachments:

GoogleCodeExporter commented 8 years ago
Hi Emilio,
In the attached config.log file some of the include path defined on the 
CPPFLAGS 
variable doesn't appear. Maybe, the system don't take the correct value for the 
variable.

Original comment by amaiamut...@gmail.com on 16 Jun 2009 at 3:54

GoogleCodeExporter commented 8 years ago
Replacing the config script (line 28673):

              "-lQtGui${sim_ac_qt_suffix}${sim_ac_qt_major_version}
-lQtCore${sim_ac_qt_suffix}${sim_ac_qt_major_version}
-lQt3Support${sim_ac_qt_suffix}${sim_ac_qt_major_version}" \

by

              "-lQtGui -lQtCore -lQt3Support" \

seems to do the work just fine. Everything compiled and installed successfully.

I think this is something that the SoQt team should fix.

########

Thank you

Original comment by emmur...@gmail.com on 17 Jun 2009 at 6:04

GoogleCodeExporter commented 8 years ago

Original comment by manuel.j...@gmail.com on 6 Jul 2009 at 11:44