Pothead
Newbie
Karma: +22/-21
Offline
Posts: 32
71.83 points View InventorySend Money to Pothead
|
 |
« Reply #15 on: August 09, 2007, 02:49:41 AM » |
|
Help!  I have a problem with DevkitPro! When I type "make" the shell writes  "make: *** No targets. Stop." Pls help me!
|
|
|
|
|
Logged
|
|
|
|
|
|
gibbocool
Embellished by our ignorance
News Posters
Hero Member
Karma: +34/-11
Offline
Posts: 822
2973.87 points View InventorySend Money to gibbocool
Power Overwhelming
|
 |
« Reply #16 on: August 09, 2007, 03:12:36 AM » |
|
you need to set the environment PATH variable. should be info in the readme
|
|
|
|
|
Logged
|
|
|
|
BadBoy_
PSP Dev
C/C++ Developer
Sr. Member
Karma: +14/-23
Offline
Posts: 290
5774.81 points View InventorySend Money to BadBoy_
|
 |
« Reply #17 on: August 09, 2007, 03:13:50 AM » |
|
make sure you have a file called "makefile" (without ") in the folder (make also sure that it has no extension)
|
|
|
|
|
Logged
|
|
|
|
|
|
jono
C/C++ Developer
Full Member
Karma: +23/-1
Offline
Posts: 210
282.59 points View InventorySend Money to jono
|
 |
« Reply #19 on: August 09, 2007, 03:18:13 PM » |
|
If when you type 'make' it gives the error "No Targets. Stop" your path is probably correct.
As Badboy said, you need a makefile to tell the compiler what to do, you should place it in the same folder as the main.c.
|
|
|
|
|
Logged
|
Good grief
|
|
|
gibbocool
Embellished by our ignorance
News Posters
Hero Member
Karma: +34/-11
Offline
Posts: 822
2973.87 points View InventorySend Money to gibbocool
Power Overwhelming
|
 |
« Reply #20 on: August 10, 2007, 05:30:35 AM » |
|
Ok i'll tell you:
Control panel > system properties > advanced > environment variables > system variables
Then add C:\devkitPro\devkitPSP\gnu;C:\devkitPro\devkitPSP\bin to the end of the "Path" variable. Of course the exact path might be different depending on where you have installed.
|
|
|
|
|
Logged
|
|
|
|
|
|
gibbocool
Embellished by our ignorance
News Posters
Hero Member
Karma: +34/-11
Offline
Posts: 822
2973.87 points View InventorySend Money to gibbocool
Power Overwhelming
|
 |
« Reply #22 on: August 11, 2007, 07:42:45 PM » |
|
it should work now, that's all i did to get it to work.
|
|
|
|
|
Logged
|
|
|
|
Pothead
Newbie
Karma: +22/-21
Offline
Posts: 32
71.83 points View InventorySend Money to Pothead
|
 |
« Reply #23 on: August 12, 2007, 09:17:25 AM » |
|
Is there maybe a mistake in my Makefile? OBJS = main.o TARGET = hello
CFLAGS = -02 -GO -Wall CXXFLAGS = $(CFLAGS) -fno-exceptions -fno-rtti ASFLAGS = $(CFLAGS)
EXTRA_TARGETS = EBOOT.PBP PSP_EBOOT_TITLE = Hello World! (C) Or maybe I use the wrong shell? I use that one in the dir C:/devkitPro/msys/msys.bat is there another in another folder?
|
|
|
|
« Last Edit: August 12, 2007, 09:24:09 AM by Pothead »
|
Logged
|
|
|
|
gibbocool
Embellished by our ignorance
News Posters
Hero Member
Karma: +34/-11
Offline
Posts: 822
2973.87 points View InventorySend Money to gibbocool
Power Overwhelming
|
 |
« Reply #24 on: August 13, 2007, 12:28:28 AM » |
|
Try put PSPSDK=$(shell psp-config --pspsdk-path) include $(PSPSDK)/lib/build.mak at the end of your makefile
|
|
|
|
|
Logged
|
|
|
|
Pothead
Newbie
Karma: +22/-21
Offline
Posts: 32
71.83 points View InventorySend Money to Pothead
|
 |
« Reply #25 on: August 13, 2007, 08:39:21 AM » |
|
hmm I tried it but it still shows "No targets." Do anyone of you know a homepage where I can download the whole directory of the DevKitPro?  Thx Pothead.
|
|
|
|
|
Logged
|
|
|
|
gibbocool
Embellished by our ignorance
News Posters
Hero Member
Karma: +34/-11
Offline
Posts: 822
2973.87 points View InventorySend Money to gibbocool
Power Overwhelming
|
 |
« Reply #26 on: August 13, 2007, 03:49:33 PM » |
|
I think just do it the long way round - cygwin + psptoolchain.
|
|
|
|
|
Logged
|
|
|
|
lopazopy
Newbie
Karma: +0/-0
Offline
Posts: 3
261.51 points View InventorySend Money to lopazopy
|
 |
« Reply #27 on: October 27, 2007, 07:13:56 PM » |
|
I've got devkitpro installed and trying to get psplinkusb going. (I'm working on a PSP slim here). I don't think I can use the latest build of psplinkusb without updating my toolchain, but devkitpro only updates ever so often. Anybody have any ideas of how I can update my toolchain or get psplinkusb going? The dev cycle of going into USB mode is starting to aggravate me. Thanks.
PS, not interested in going the normal way of installing cygwin and the toolchain that way. I guess I'll just wait if it can't be done yet.
|
|
|
|
|
Logged
|
|
|
|
|
|
mfc
Newbie
Karma: +0/-0
Offline
Posts: 7
354.54 points View InventorySend Money to mfc
|
 |
« Reply #29 on: November 24, 2007, 05:15:47 PM » |
|
Whenever I try to compile anything with it, it gives me a weird error: Error, path not large enough for creating the PSPSDK path Makefile:24: /lib/build.mak: No such file or directory c:\mingw\bin\make.exe *** No rule to make target '/lib/build.mak'. Stop. Any ideas?
|
|
|
|
|
Logged
|
|
|
|
|