Skip to: Site menu | Main content


Welcome to PSP-Programming.com, a place for developers to get together.

Welcome to the forums. Here you can find other user tutorials as well as homebrew releases and the source code repository. You can also ask for help with your code here and post your own homebrew!

PSP-Programming.com Forums
February 08, 2012, 07:12:47 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length

News: Check out the Code Section!
Home Help Search Shop Login Register
Digg This!
Pages: 1 [2] 3 4
Print
Author Topic: The quickest and easiest way to set up your environment on Windows  (Read 21082 times)
Pothead
Newbie
*

Karma: +22/-21
Offline Offline

Posts: 32
71.83 points

View Inventory
Send Money to Pothead


View Profile
« Reply #15 on: August 09, 2007, 02:49:41 AM »

Help! Confused Sad
I have a problem with DevkitPro! When I type "make" the shell writes  Arrow "make: *** No targets. Stop."
Pls help me!
Logged


gibbocool
Embellished by our ignorance
News Posters
Hero Member
*

Karma: +34/-11
Offline Offline

Posts: 822
2973.87 points

View Inventory
Send Money to gibbocool

Power Overwhelming


View Profile WWW
« 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 Offline

Posts: 290
5774.81 points

View Inventory
Send Money to BadBoy_


View Profile WWW
« 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

Pothead
Newbie
*

Karma: +22/-21
Offline Offline

Posts: 32
71.83 points

View Inventory
Send Money to Pothead


View Profile
« Reply #18 on: August 09, 2007, 03:40:39 AM »

@ BadBoy_ I have this file in the folder with the "main.c" file but the shell shows "... No targets. Stop."
@ gibbocool How do I set the environment PATH variable? Or where do I find this "Readme"?  Question Question Question Sad
Logged
jono
C/C++ Developer
Full Member
*

Karma: +23/-1
Offline Offline

Posts: 210
282.59 points

View Inventory
Send Money to jono


View Profile WWW
« 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 Offline

Posts: 822
2973.87 points

View Inventory
Send Money to gibbocool

Power Overwhelming


View Profile WWW
« 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

Pothead
Newbie
*

Karma: +22/-21
Offline Offline

Posts: 32
71.83 points

View Inventory
Send Money to Pothead


View Profile
« Reply #21 on: August 10, 2007, 09:20:51 AM »

And then? Do I have to restart my PC now? Because it doesn´t work yet though I have added these "Paths" to the "Path" variable. Oh my god what shall I do??!! Sad Sad Sad
Logged
gibbocool
Embellished by our ignorance
News Posters
Hero Member
*

Karma: +34/-11
Offline Offline

Posts: 822
2973.87 points

View Inventory
Send Money to gibbocool

Power Overwhelming


View Profile WWW
« 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 Offline

Posts: 32
71.83 points

View Inventory
Send Money to Pothead


View Profile
« Reply #23 on: August 12, 2007, 09:17:25 AM »

Is there maybe a mistake in my Makefile?
Code:
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 Offline

Posts: 822
2973.87 points

View Inventory
Send Money to gibbocool

Power Overwhelming


View Profile WWW
« Reply #24 on: August 13, 2007, 12:28:28 AM »

Try put

Code:
PSPSDK=$(shell psp-config --pspsdk-path)
include $(PSPSDK)/lib/build.mak
at the end of your makefile
Logged

Pothead
Newbie
*

Karma: +22/-21
Offline Offline

Posts: 32
71.83 points

View Inventory
Send Money to Pothead


View Profile
« 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? Wink
Thx Pothead.
Logged
gibbocool
Embellished by our ignorance
News Posters
Hero Member
*

Karma: +34/-11
Offline Offline

Posts: 822
2973.87 points

View Inventory
Send Money to gibbocool

Power Overwhelming


View Profile WWW
« 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 Offline

Posts: 3
261.51 points

View Inventory
Send Money to lopazopy

View Profile
« 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
gibbocool
Embellished by our ignorance
News Posters
Hero Member
*

Karma: +34/-11
Offline Offline

Posts: 822
2973.87 points

View Inventory
Send Money to gibbocool

Power Overwhelming


View Profile WWW
« Reply #28 on: October 31, 2007, 06:50:53 PM »

ZX81 released a better kit for windows.. check it out
http://zx81.zx81.free.fr/serendipity/index.php?/archives/239-PSP-Development-Kit-ready-to-use-for-Windows-Users.html
Logged

mfc
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 7
354.54 points

View Inventory
Send Money to mfc

View Profile
« Reply #29 on: November 24, 2007, 05:15:47 PM »

Whenever I try to compile anything with it, it gives me a weird error:

Code:
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
Pages: 1 [2] 3 4
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 0.187 seconds with 38 queries.
Sister Sites: Guitar Hero 4   BrokeniTouch.com