Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Cannot add an so file(Cannot add a library to a project)
Cannot add an so file [message #982830] Tue, 13 November 2012 07:59 Go to next message
Aravind S R is currently offline Aravind S R
Messages: 4
Registered: November 2012
Junior Member
Hi,

I want to add an *.so file to my project so that it dont shows all the functions while auto completing and to remove errors.

I followed the below procedure

project properties->C/C++ build->Settings->GCC C++ Linker->Libraries->

but there ins no way to open GCC C++ Linker. I have attached a screenshot of the same. Please check it

index.php/fa/12318/0/

Any help is appreciated Laughing
  • Attachment: eclipse.png
    (Size: 82.98KB, Downloaded 285 times)
Re: Cannot add an so file [message #983891 is a reply to message #982830] Wed, 14 November 2012 03:20 Go to previous messageGo to next message
Axel Mueller is currently offline Axel Mueller
Messages: 1949
Registered: July 2009
Senior Member
You are using a so called Makefile project, i.e. you provide a Makefile and Eclipse will then just call make. Eclipse will not change your Makefile or offer you the GUI to modify it. You have to add the linker options in the Makefile manually.

If you want Eclipse to manage the Makefile then you must go to project properties->C/C++ build and check "Generate Makefiles".


Before you ask
- search this forum
- see the FAQ http://wiki.eclipse.org/CDT/User/FAQ
- google
Re: Cannot add an so file [message #983948 is a reply to message #983891] Wed, 14 November 2012 04:23 Go to previous messageGo to next message
Aravind S R is currently offline Aravind S R
Messages: 4
Registered: November 2012
Junior Member
The next problem is that I can make the same in terminal. But when I try to do it on eclipse make it shows error: unknown type name 'Value'.

Value is defined by a set of ifdef ......

[Updated on: Wed, 14 November 2012 04:26]

Report message to a moderator

Re: Cannot add an so file [message #983949 is a reply to message #983948] Wed, 14 November 2012 04:24 Go to previous message
Aravind S R is currently offline Aravind S R
Messages: 4
Registered: November 2012
Junior Member
Also for some reason even after including stdio.h it says it cant find FILE
Previous Topic:MISRA C Checker for Codan
Next Topic:Associate source of project while debugging with gdbserver
Goto Forum:
  


Current Time: Fri Aug 29 01:44:45 EDT 2014

Powered by FUDForum. Page generated in 0.02683 seconds