|
|
|
Re: Eclipse won´t compile [message #1803873 is a reply to message #1803863] |
Tue, 12 March 2019 21:11 |
David Vavra Messages: 1426 Registered: October 2012 |
Senior Member |
|
|
The linker options are set in
Project --> Properties --> C/C++ Build --> Settings --> GCC C++ Linker --> Libraries
You'll have to search for the library.
Since you're using cygwin you can use the find command
Something like
find /usr/lib -name "libgdpc.*" or
find /usr -name "libgdpc.*" or
find <some other dir> -name "libgdpc.*" or
find <project>/Default -name "libgdpc.*" or
find <project> -name "libgdpc.*"
A side note: -L../lib will search a directory relative to where make is executed (its working directory).
Which looks like the Default configuration directory for your project.
Apparently the library isn't in that directory though or it's not correctly described.
It's usually best to use absolute paths instead of relative ones.
Maybe the -L should be -L.? But it's still relative to the Default directory.
[Updated on: Tue, 12 March 2019 21:29] Report message to a moderator
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03071 seconds