Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Libraries
Libraries [message #102228] Thu, 13 May 2004 19:16
Eclipse UserFriend
Originally posted by: ppolyzos.upnet.gr

First of all I am novice and i really need your help.
I use cygwin (gcc) to compile and execute my programs.
When i had to use libraries i wrote:
gcc filename.c -L. -llibcircuits -o name.exe

Now I make a C/C++ project.
I import my old files and to use libraries i select project->properties->
C/C++ Build->Libraries in Libraries(-l) I type e.g libcircuits
and in Library search path (-L) e.g
e:\eclipse-SDK-2.1.3-win32\eclipse\workspace\Erg4\
All my files are in this folder.
When I Build my projects i face problems:
In tasks view:***[Erg4.exe]Error 1

In C-Build:
make clean all
rm -rf Drastiriotita10c.o Erg4.exe
gcc -O3 -gstabs -Wall -c -o Drastiriotita10c.o ../Drastiriotita10c.c
gcc: Erg4.exe: No such file or directory
make: *** [Erg4.exe] Error 1
gcc
-Le:\Software\Platforms\eclipse-SDK-2.1.3-win32\eclipse\work space\Erg4\ -o
Erg4.exe Drastiriotita10c.o -lcircuits
Build complete for project Erg4

I name my project Erg4
What can i do?

Also i would like to ask you where can i give the path for cygwin
(c:\cygwin\bin) to use eclipse without starting it from cygwin shell.

I 'm terribly sorry for your wasting time but please help me.
Thanks a lot.
Previous Topic:Build Error
Next Topic:lint
Goto Forum:
  


Current Time: Thu Jul 10 03:49:07 EDT 2025

Powered by FUDForum. Page generated in 0.16324 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top