| View previous topic :: View next topic |
| Author |
Message |
Steve F
Joined: 27 Apr 2005 Posts: 75 Location: Texas USA
|
Posted: Sat Jun 18, 2005 11:41 pm Post subject: dreamgl compile failure |
|
|
I CVS checkout dreamgl to my /usr/local/ps2dev directory.
cd to /usr/local/ps2dev/dreamgl and run make.
Compile failed on creating lib/libdreamgl.a .
I mkdir ./lib and run make again.
That part compiled without failure.
Same thing happened with bin. After I mkdir ./bin that part worked.
I would have thought gcc could create directories on the -o option. I looked in other CVS projects and needed directories already exist, so ... |
|
| Back to top |
|
 |
Guest
|
Posted: Sun Jun 19, 2005 1:48 am Post subject: |
|
|
| "Bug reports" is really kinda confusing for this particular forum because I think its intended for "forum" related bugs, not any softwares provided at ps2dev. So please don't mind me shuffling it off to one that looks more appropriate. :) |
|
| Back to top |
|
 |
pixel
Joined: 30 Jan 2004 Posts: 791
|
Posted: Sun Jun 19, 2005 8:49 am Post subject: |
|
|
mkdir of bin and lib should be in makefile. Feel free to add it :P _________________ pixel: A mischievous magical spirit associated with screen displays. The computer industry has frequently borrowed from mythology. Witness the sprites in computer graphics, the demons in artificial intelligence and the trolls in the marketing department. |
|
| Back to top |
|
 |
rinco
Joined: 21 Jan 2005 Posts: 255 Location: Canberra, Australia
|
Posted: Sun Jun 19, 2005 9:34 am Post subject: |
|
|
I blame CVS and it's inadequate handling of empty directories.
Makefile now creates bin/ and lib/ and also installs into $PS2DEV. |
|
| Back to top |
|
 |
Steve F
Joined: 27 Apr 2005 Posts: 75 Location: Texas USA
|
Posted: Sun Jun 19, 2005 9:52 am Post subject: |
|
|
| Getting better. I see that ps2Perf is added. I checked it out of cvs and built it. The dreamgl Makefile references -L$(PS2DEV)/ps2Perf/lib but it looks like it actually is in -L$(PS2DEV)/ps2Perf/ee/lib . |
|
| Back to top |
|
 |
rinco
Joined: 21 Jan 2005 Posts: 255 Location: Canberra, Australia
|
Posted: Sun Jun 19, 2005 10:29 am Post subject: |
|
|
I added the install: to ps2Perf Makefile just last week...
which installs to $(PS2DEV)/ps2Perf/lib.
Be sure not to mix up $PS2DEV with your copy of what's in CVS:
~/ps2cvs != /usr/local/ps2dev |
|
| Back to top |
|
 |
Steve F
Joined: 27 Apr 2005 Posts: 75 Location: Texas USA
|
Posted: Sun Jun 19, 2005 11:47 am Post subject: |
|
|
I only have ps2dev. I have been doing checkout this way:
cd /usr/local/ps2dev
cvs checkout ps2Perf
I get /usr/local/ps2dev/ps2Perf
cd ps2Perf
make
When it's done I find libps2Perf.a in /usr/local/ps2dev/ps2Perf/ee/lib . There is no lib directory under ps2Perf as built straight from cvs. I'm running cygwin and I used Lukasz's tool-chain setup script. I keep my own development files under my home directory. |
|
| Back to top |
|
 |
rinco
Joined: 21 Jan 2005 Posts: 255 Location: Canberra, Australia
|
Posted: Sun Jun 19, 2005 4:25 pm Post subject: |
|
|
I'd fix it, except now it serves the greater good.
$PS2DEV is for installed software - not source, unless example source. |
|
| Back to top |
|
 |
Steve F
Joined: 27 Apr 2005 Posts: 75 Location: Texas USA
|
Posted: Sun Jun 19, 2005 10:44 pm Post subject: |
|
|
I don't get it (what or how it serves the greater good). But anyway, this may be a bit off topic but here is my setup
PS2DEV=/usr/local/ps2dev
PS2SDK=/usr/local/ps2dev/ps2sdk
Would it be better if I made PS2SDK point somewhere else? What are good suggestions? Maybe,
PS2DEV is okay.
PS2SDK = /usr/local/cvs/ps2sdk or /usr/local/ps2cvs/ps2sdk
everything I checkout from cvs goes in /usr/local/cvs and is built from there? And if I understand correctly, the makefiles will copy the necessary headers and libraries over to PS2DEV? Cool! |
|
| Back to top |
|
 |
|