build.mak help a noob.

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
Riekistyx
Posts: 14
Joined: Sat Mar 18, 2006 9:56 am

build.mak help a noob.

Post by Riekistyx »

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
Insert_witty_name
Posts: 376
Joined: Wed May 10, 2006 11:31 pm

Post by Insert_witty_name »

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.
Riekistyx
Posts: 14
Joined: Sat Mar 18, 2006 9:56 am

Post by Riekistyx »

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
Riekistyx
Posts: 14
Joined: Sat Mar 18, 2006 9:56 am

Post by Riekistyx »

plz!!!
LOL @ linux users
User avatar
Wally
Posts: 663
Joined: Mon Sep 26, 2005 11:25 am

Post by Wally »

Check your paths like IWN said
Riekistyx
Posts: 14
Joined: Sat Mar 18, 2006 9:56 am

Post by Riekistyx »

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
Riekistyx
Posts: 14
Joined: Sat Mar 18, 2006 9:56 am

Post by Riekistyx »

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
Insert_witty_name
Posts: 376
Joined: Wed May 10, 2006 11:31 pm

Post by Insert_witty_name »

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

Seems the error is with your IDE setup.
Post Reply