I have a project in C language and I have the make-file of it. But i want to change the project codes in Eclipse(Mars) installed in Debian Jessie OS.
This project relates to Arm processor and should be cross compiled in eclipse CDT. In Eclipse i made a C++ project, because i want to add some c++ codes to my pure C project. I installed arm-linux-gnueabihf-... compiler in my Debian OS with apt-get.
After adding my source and header files to a source folder in my new c++ project, and doing this link procedure :
`"youtube.com/watch?v=T9yFyWsyyGk"`
I could not compile my codes.Eclipse says can't find compiler headers during linking although i give it the correct path relates to:
"/usr/arm-linux-gnueabihf/include...and ../library
I could compile this project in Microsoft Visual C++ 2010 with the help of this link:"http://visualgdb.com/tutorials/beaglebone/crosscompiler/" already and I'm sure my source codes don't have any bug.
After that i installed "GNU ARM Eclipse Plug-ins" ...
My project includes "protobuf-c.h" and libprotobuf-c.a and libprotibuf-c.so for arm ....But I'm not successful because of eclipse says that cant find :
"cannot find -l/media/hou19/A072AF8D72AF66AE/ZSTGW/Source/protobuf-c-arm/lib/libprotobuf-c.a.... and libprotobuf-c.so"
Although I give the path of them to project properties -> C/C++ General -> Path and Symbols ->Libraries Or Library Path.....
Any body can help me ? I'm very confuse Because 3 month I cant solve this problem.