Re: Linux to OS X, HELP!
Re: Linux to OS X, HELP!
- Subject: Re: Linux to OS X, HELP!
- From: email@hidden
- Date: Thu, 7 Jun 2001 07:32:35 -0400
I have x installed too, the developer tgz is optional, but I'll assume
you have it.
The path I have from the install is /usr/X11R6/include/X11/
And,
My scrollbar.h (two L 's ) is in
/usr/X11R6/include/X11/Xaw
Given that, I'm going to assume that all of your errors are "can't find
the header" errors.
Now, when I compile agains Scroolbar.h, with the proper path #include
"/usr/X11R6/include/X11"
I get errors referring to the included files in that header, they are in
a <X11/xxxx>
So....
I think you need to set a INCLUDE environment variable for
/usr/X11R6/include
Try that.
If you need to see the /usr and other bsd directorys and don't want to
do it from the terminal,
i'd recommend getting RBrowser, which will show more detail like you
would have seen in unix.
On Wednesday, June 6, 2001, at 11:03 PM, Busman wrote:
Hi!, I have a colision simulator program for PC linux works ok in that
plataform, I really need to use it in my G4, is made with X11 librarys,
I install X on Darwin and works ok, all the librarys are in ok
locations, all the librarys the program made for linux are ok, I check
manualy, but when I try to compile, just don4t work...
I use this to compile...
cc THE_FILE.c -I/usr/X11R6/include -L/usr/X11R6/lib -lXaw -lXt -lXmu
-lX11 -lm -o OUT_FILE
show me 964 errors!
arg! :()
but I check whit a small program that just make some add, only using
stdio.h and math.h and no problem, then I use include some X11 librarys
like scroolbar.h and, cc show me 130 errors in the librarys????, I
thinks I forget some step to make the librarys, real librarys, I think
that is imposible that cc find some sintax error in X11 librarys, plis
help me in any way yo can, take me some time to get X working on
Darwin... the code only use some X11 librarys (like 15 or something..),
stdio.h, math.h
THANKS FOR ANY HElp!
-- -----------------------
Busman
email@hidden
http://thelastline.pdl.cl
"We are TheLastLine"
-----------------------
_______________________________________________
cocoa-dev mailing list
email@hidden
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
A man, A Plan, A Canal, Panama