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 

Problem, with make ant toolchain

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



Joined: 03 Jun 2007
Posts: 5

PostPosted: Mon Jun 04, 2007 5:45 am    Post subject: Problem, with make ant toolchain Reply with quote

Sry for my English i'm German ;)

I have a new problem, i can't compille my source.
I used this makefile

makefile:
Code:

TARGET = hello
OBJS = main.o

CFLAGS = -O2 -G0 -Wall
CXXFLAGS = $(CFLAGS) -fno-exceptions -fno-rtti
ASFLAGS = $(CFLAGS)

EXTRA_TARGETS = EBOOT.PBP
PSP_EBOOT_TITLE = Hello World

PSPSDK=$(shell psp-config --pspsdk-path)
include $(PSPSDK)/lib/build.mak


And I get this Error:

make: psp-config: Kommando nicht gefunden
makefile:12: /lib/build.mak: No such file or directory
make: *** Keine Regel, um »/lib/build.mak« zu erstellen. Schluss.


What must i chanche in the makefile ??

THX

Builder
Back to top
View user's profile Send private message
J.F.



Joined: 22 Feb 2004
Posts: 2906

PostPosted: Mon Jun 04, 2007 6:27 am    Post subject: Reply with quote

You forgot to set the environment variables for your shell.

Code:
export PSPDEV="/usr/local/pspdev"
export PSPSDK="$PSPDEV/psp/sdk"
export PSPPATH="$PSPDEV/bin:$PSPDEV/psp/bin:$PSPSDK/bin"
export PATH="$PATH:$PSPPATH"
Back to top
View user's profile Send private message AIM Address
Builder



Joined: 03 Jun 2007
Posts: 5

PostPosted: Mon Jun 04, 2007 7:06 pm    Post subject: Reply with quote

Thanks, now it Works :)
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