Bug #13890 2008-05-26 21:05

stimpy77

Project Templates Not Working On Mac OS X

C::B seems to be unable to figure out resource directories for libraries such as Qt4 and irrlicht when creating a new project based on one of those templates.

After spending all night waiting for QT4 to 'make', I tried using it with C::B but C::B could not figure out where the library files, even though they were where they belong. Same behavior happened with the only other project template I tried, irrlicht.

For Qt4 I have it installed at /usr/local/Trolltech/Qt-4.4.0/, which is what I entered (tried both with and without the trailing slash), and the file that it claims is missing is in fact not missing.

Irrlicht is installed at /SDKs/irrlicht/. When this second project template failed in the same way I realized that this isn't a QT4 nor Irrlicht configuration error, this is a bug in C::B, and it seems to be specific to the Mac OS X environment. (Using OS X 10.5.2.)

Qt macro variables:

base = /usr/local/Trolltech/Qt-4.4.0

include = /usr/local/Trolltech/Qt-4.4.0/include (also tried just "include", "/include", etc)

lib = /usr/local/Trolltech/Qt-4.4.0/lib (also tried just "lib", "/lib", etc)

Error messages are:

$(#qt4) = The macro you entered seems valid, but this wizard can't locate the library directory based on this macro.

/usr/local/Trolltech/Qt-4.4.0 = The path you entered seems valid, but this wizard cannot locate the following Qt's library file:

QtCore in it.

(Also tried prepending lib and appending .a and .lib).

Same errors when working with irrlicht.

Thanks,

Jon

Category
Application::Interface
Group
 
Status
Open
Close date
 
Assigned to
 
stimpy77 2008-05-26 21:09

Note also that multiple unanswered queries have gone out in the forums:

http://forums.codeblocks.org/index.php/topic,8141.0.html

http://forums.codeblocks.org/index.php/topic,6004.0.html