forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

dreamgl compile failure

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS2 Development
View previous topic :: View next topic  
Author Message
Steve F



Joined: 27 Apr 2005
Posts: 75
Location: Texas USA

PostPosted: Sat Jun 18, 2005 11:41 pm    Post subject: dreamgl compile failure Reply with quote

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
View user's profile Send private message
Guest






PostPosted: Sun Jun 19, 2005 1:48 am    Post subject: Reply with quote

"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

PostPosted: Sun Jun 19, 2005 8:49 am    Post subject: Reply with quote

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
View user's profile Send private message
rinco



Joined: 21 Jan 2005
Posts: 255
Location: Canberra, Australia

PostPosted: Sun Jun 19, 2005 9:34 am    Post subject: Reply with quote

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
View user's profile Send private message
Steve F



Joined: 27 Apr 2005
Posts: 75
Location: Texas USA

PostPosted: Sun Jun 19, 2005 9:52 am    Post subject: Reply with quote

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
View user's profile Send private message
rinco



Joined: 21 Jan 2005
Posts: 255
Location: Canberra, Australia

PostPosted: Sun Jun 19, 2005 10:29 am    Post subject: Reply with quote

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
View user's profile Send private message
Steve F



Joined: 27 Apr 2005
Posts: 75
Location: Texas USA

PostPosted: Sun Jun 19, 2005 11:47 am    Post subject: Reply with quote

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
View user's profile Send private message
rinco



Joined: 21 Jan 2005
Posts: 255
Location: Canberra, Australia

PostPosted: Sun Jun 19, 2005 4:25 pm    Post subject: Reply with quote

I'd fix it, except now it serves the greater good.

$PS2DEV is for installed software - not source, unless example source.
Back to top
View user's profile Send private message
Steve F



Joined: 27 Apr 2005
Posts: 75
Location: Texas USA

PostPosted: Sun Jun 19, 2005 10:44 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS2 Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group