swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Swarm-Support] gcc can't find Swarm libraries


From: Scott Christley
Subject: Re: [Swarm-Support] gcc can't find Swarm libraries
Date: Wed, 12 May 2004 18:37:33 -0500
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.2) Gecko/20040301

Javier,

By default, gcc does not know where to find header files except for maybe a few system default directories. The fact that you are calling gcc directly instead of using a standard makefile means that you must use the -I parameter to gcc to specify directories that gcc should search for header files. Something like this:

gcc -I /usr/local/swarm/include -c -Wno-import Regla.m

cheers
Scott

Javier wrote:

Hello, I have a cygwin under Windows 2000 and the Swarm-2.2. When I execute
the heatbug example everything is O.K. but when I want to compile my own
file, this messages are reporting:



$ gcc -c -Wno-import Regla.m

In file included from Regla.m:5:

Regla.h:7:29: objectbase/Swarm.h: No such file or directory

Regla.h:8:35: objectbase/SwarmObject.h: No such file or directory

Regla.h:9:21: activity.h: No such file or directory

Regla.h:10:21: simtools.h: No such file or directory

Regla.h:11:24: collections.h: No such file or directory



I am a lot of time looking for the solution for this problem, but I don't
Know why gcc doesn't find this libraries. My mount table is:



C:\cygwin\usr\X11R6\lib\X11\fonts on /usr/X11R6/lib/X11/fonts type system
(binmo

de)

C:\cygwin\bin on /usr/bin type user (binmode)

C:\cygwin\lib on /usr/lib type user (binmode)

c:\Swarm-2.2 on /Swarm-2.2 type system (binmode)

C:\cygwin on / type user (binmode)

c: on /cygdrive/c type user (binmode,noumount)

d: on /cygdrive/d type user (binmode,noumount)

f: on /cygdrive/f type user (binmode,noumount)



and my PATH:



:/Swarm-2.2/bin:/usr/local/bin:/usr/bin:/bin:/cygdrive/c/WINNT/system32:/cy
gdri

ve/c/WINNT:/cygdrive/c/WINNT/System32/Wbem:/cygdrive/c/MSSQL7/BINN:/Swarm-2.
2/in

clude



I don't know if you need some another information.

Thank you!!!
_______________________________________________
Support mailing list
address@hidden
http://www.swarm.org/mailman/listinfo/support




reply via email to

[Prev in Thread] Current Thread [Next in Thread]