Re: Problem building simple C++ project (SOLVED)
Re: Problem building simple C++ project (SOLVED)
- Subject: Re: Problem building simple C++ project (SOLVED)
- From: Eric Nicolas <email@hidden>
- Date: Sat, 5 Jun 2004 18:31:52 +0200
The problem was that the library was named "Testlib.dylib" where it
should be named
"libTestlib.dylib".
XCode does not automatically adds the "lib" prefix to library names !!!
Simple :-/
Eric.
Le 5 juin 04, ` 18:07, Eric Nicolas a icrit :
Hi,
I'm trying to learn XCode.
I want to build a simple C++ console tool:
-> A dynamic library with a class "A" declared in a.h and implemented
in a.cpp
-> A main program implementeed in a main.cpp
I created a new project : standard C++ tool.
I then added a BSD dynamic library target.
I added the a.h and a.cpp files in this library target.
I added the library in "Frameworks & libraries" of the main program.
All the C++ files compile fine.
The dynamic library is created in /build without problems.
BUT the main program does not link ! It does not find the dynamic
library just built.
I really don't understand...
Any help ?
Thanks.
Eric.
Attached:
- Zip file of the XCode project.
[demime 0.98b removed an attachment of type application/zip which had
a name of XCodeTest.zip]
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.