Re: Problem building simple C++ project
Re: Problem building simple C++ project
- Subject: Re: Problem building simple C++ project
- From: Eric Nicolas <email@hidden>
- Date: Sat, 5 Jun 2004 18:23:44 +0200
Something strange: The dynamic library build has been ok.
In the "Products", I see the library, but if I do "Open in Separate
Editor" on it, XCode tells
me indeed that the file is not there (path is
/Users/enicolas/Work/build/ALib.dylib).
But in a console if I do "ls /Users/enicolas/Work/build/ALib.dylib", it
is there !!
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.