Trying to learn Eclipse C++ with CDT [message #732349] |
Tue, 04 October 2011 10:57  |
Eclipse User |
|
|
|
I'm trying to learn Eclipse CDT development. To do this, I'm developing a fairly large application, and the first part of it I'm implementing is a low-level C++ dynamic library (lib___.so).
I created a project in another workspace to test the library. I did this to ensure I'd learn how to include the dynamic library in the other pieces of my project as I'm developing it so that there are less surprises down the road.
To include the library, I went into the GCC C++ Linker options of the project and added the -L path to the library my library resides in and the -l library name (minus the lib prefix and .so suffix).
I also copied the header file for the library's interface into my tester project's workspace and #include it in my test project.
When I build, everything builds fine for the test project. The issue I'm having is that when I try to run or debug, the linker cannot find my .so dynamic library file.
Any ideas? (I'm using Eclipse Indigo 3.7.1)
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.14003 seconds