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 

build.mak help a noob.

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



Joined: 18 Mar 2006
Posts: 14

PostPosted: Mon Apr 23, 2007 2:12 am    Post subject: build.mak help a noob. Reply with quote

Ok.
I defined all the vars in environment vars in windows and as well as cygwin.

I was getting that "toolchain not found" error code. So I changed pspsdk var to not look at that to get its path because apparently theres like a hidden var I'm not changing to make this work. I dont understand.... Where do I obtain "build.mak" because when I check that EXACT LOCATION "d:/cygwin/usr/local/pspdev/lib/build.mak" there was no file.

So my first question is where do I obtain build.mak the correct one. Also is there anything I should know about the make files and the formattings?
My second question is what is the irc server name "irc.efnet.net"?

My tool chain version does show up =O 4.0.2 or something. I have the latest.
_________________
LOL @ linux users
Back to top
View user's profile Send private message Send e-mail AIM Address
Insert_witty_name



Joined: 10 May 2006
Posts: 376

PostPosted: Mon Apr 23, 2007 4:36 am    Post subject: Reply with quote

build.mak should be located at D:\cygwin\usr\local\pspdev\psp\sdk\lib\build.mak for you.

Set your paths so they are correct.
Back to top
View user's profile Send private message
Riekistyx



Joined: 18 Mar 2006
Posts: 14

PostPosted: Mon Apr 23, 2007 3:17 pm    Post subject: Reply with quote

Performing Makefile project actions
Converting PSP Project1.vcproj...
psp-g++ -I. -ID:/cygwin/usr/local/pspdev/psp/sdk/include -G0 -Wall -I. -ID:/cygwin/usr/local/pspdev/psp/sdk/include -G0 -Wall -fno-exceptions -fno-rtti -c ./main.cpp -o ./main.o
make: psp-g++: Command not found
make: *** [main.o] Error 127
PSP Project1 : error PRJ0002 : error result returned from 'd:\heap\bat000002.bat'.

is something new I get... from the window....
What am I missing.
I have operated this psp-g++ command from cygwin and has worked..... lol.

I have been compiling stuff all day today i got a psp app running moving a sprite around nad playing some tunes.
_________________
LOL @ linux users
Back to top
View user's profile Send private message Send e-mail AIM Address
Riekistyx



Joined: 18 Mar 2006
Posts: 14

PostPosted: Tue Apr 24, 2007 9:49 am    Post subject: Reply with quote

plz!!!
_________________
LOL @ linux users
Back to top
View user's profile Send private message Send e-mail AIM Address
Wally



Joined: 26 Sep 2005
Posts: 672

PostPosted: Tue Apr 24, 2007 10:58 am    Post subject: Reply with quote

Check your paths like IWN said
Back to top
View user's profile Send private message AIM Address
Riekistyx



Joined: 18 Mar 2006
Posts: 14

PostPosted: Wed Apr 25, 2007 1:14 am    Post subject: Reply with quote

PATH = D:\Applications\Microsoft DirectX SDK (October 2006)\Utilities\Bin\x86;"D:\Applications\Microsoft DirectX SDK (October 2006)\Utilities\Bin\x86";%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;D:\APPLIC~1\ALIENB~1\Client\APPLIC~1\Tools;D:\APPLIC~1\ALIENB~1\Client\APPLIC~1\Bin;C:\Program Files\Common Files\Adobe\AGL;C:\Program Files\Common Files\Autodesk Shared\;D:\Applications\Autodesk\backburner\;D:\Applications\QuickTime\QTSystem\;D:\Applications\AMD\CodeAnalyst\bin;D:\Applications\SVN\bin;%PSPSDK%\bin

PSPSDK = d:/cygwin/usr/local/pspdev/psp/sdk

(These are my windows environment vars)

Do I also set them in cygwin also? if i do I use that "Set" command and do i have to call it all the time?
_________________
LOL @ linux users
Back to top
View user's profile Send private message Send e-mail AIM Address
Riekistyx



Joined: 18 Mar 2006
Posts: 14

PostPosted: Wed Apr 25, 2007 1:19 am    Post subject: Reply with quote

If it helps any I can compile stuff (my uber hello world app) I have made the eboot by typing "make" in cygwin... but im sick doing that...
The make files look almost similar
So I'm just like what do I do... can someone show me a screen shot at what I should do.
_________________
LOL @ linux users
Back to top
View user's profile Send private message Send e-mail AIM Address
Insert_witty_name



Joined: 10 May 2006
Posts: 376

PostPosted: Wed Apr 25, 2007 4:01 am    Post subject: Reply with quote

It looks as though your paths are correct then if it compiles via cygwin.

Seems the error is with your IDE setup.
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 -> PSP 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