|
Re: Shared Library and linked sources [message #1719766 is a reply to message #1719600] |
Mon, 11 January 2016 21:25 |
David Vavra Messages: 1426 Registered: October 2012 |
Senior Member |
|
|
Ecliipse doesn't seem to know about your source files. At least that's the impression I got from your -std=c++0x -DNDEBUG -DUNICODE -D_UNICODE -I/media/username/MyHDD/C++/Common/MySources -O3 -Wall -c -fmessage-length=0. Where did this come from? The build log? If so, there is no source file in it.
You apparently don't realize that FolderXY/subdir.mk:39: recipe for target 'FolderXY/FileXY.o' failed is a message saying the make failed but it isn't telling you why. For that. you need to look at the error messages which preceded it.
The -I flag tells the compiler where to look for included files and not where to look for the source.
You haven't given enough information to see what you've really done.
Can you post an image of the full tree of your project file?
Also a copy of the complete build log when you try to build.
Are you trying to use a relative path? That seems to be checked by default. It must end up somewhere that actually exists. I'd recommend absolute file paths (staring with '/' root) until you get something working.
After you link the files it should look something like this:
Once it looks something like the above (subfolders are OK), you can select the file and right-click Properties ==> Resource. It should say Linked File. If you press the Edit... button it will show you where and give the opportunity to change it.
[Updated on: Mon, 11 January 2016 21:31] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.02740 seconds