QJ.NET | Videos | Forums | iPhone | MMORPG | Nintendo DS | Wii | PlayStation 3 | PSP | Xbox 360 | PC | Downloads | Contact Us
Forums | Gaming News | Videos | Downloads | Today's Posts | Mark Forums Read | Chat | FAQ | Members List | Contact

QJ.net Game Discussion - PSP, Xbox, Wii, PS3, PSP Homebrew, and PSP Guides

Go Back   QJ.net Game Discussion - PSP, Xbox, Wii, PS3, PSP Homebrew, and PSP Guides > Developers Corner > PSP Development, Hacks, and Homebrew > PSP Development Forum
The above video goes away if you are a member and logged in, so log in now!

Programming question

This is a discussion on Programming question within the PSP Development Forum forums, part of the PSP Development, Hacks, and Homebrew category; im trying to use cygwin to do some hello world stuff and it keeps telling me to "Set $PSPDEV before ...

Reply
 
LinkBack Thread Tools
Old 06-01-2007, 09:03 PM   #1
 
Join Date: Feb 2007
Posts: 43
Trader Feedback: 0
Default Programming question

im trying to use cygwin to do some hello world stuff and it keeps telling me to "Set $PSPDEV before continuing"
ANY HELP AT ALL WILL BE FINE
psp1mp is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-01-2007, 09:14 PM   #2
 
PSPJunkie_'s Avatar
 
Join Date: Dec 2006
Location: main();
Posts: 1,071
Trader Feedback: 0
Default

Open your '.bashrc' in notepad++ or notepad and put this at the end of it,

Quote:
export PSPDEV="/usr/local/pspdev"
export PATH="$PSPDEV/bin:$PATH"
Also, '.bashrc' is a file located in your home folder. Usually at 'C:/cygwin/home/user_name_folder/.bashrc'. Obviously, replace user_name_folder with your username.
__________________
YEAH!

[center][COLOR="DimGray"][SIZE="2"][FONT="Times New Roman"]Julius Parishy
[[URL="http://jparishy.com"]Homepage[/URL]][/FONT][/COLOR]

Affiliates:
[url=http://xfacter.jparishy.com/]Xfacter[/url] | [url=http://flatmush.jparishy.com/]Flatmush[/url] | [url=http://yaustar.jparishy.com/]Yaustar[/url]

[url=http://jparishy.com/wp/source-code/]Soure Code[/url]

[/center]
[/size]
PSPJunkie_ is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-01-2007, 09:15 PM   #3
 
pspballer07's Avatar
 
Join Date: Feb 2007
Posts: 315
Trader Feedback: 0
Default

Make sure you set it up first.
pspballer07 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-01-2007, 09:20 PM   #4
 
Join Date: Feb 2007
Posts: 43
Trader Feedback: 0
Default

it still says the same thing
psp1mp is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-01-2007, 09:29 PM   #5
 
pspballer07's Avatar
 
Join Date: Feb 2007
Posts: 315
Trader Feedback: 0
Default

did you set it up right like it says on psp-programming.com
pspballer07 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-01-2007, 10:07 PM   #6
 
Join Date: Feb 2007
Posts: 43
Trader Feedback: 0
Default

yes, what about the other things that come with it when i check the box?, this is starting to piss me off
psp1mp is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-01-2007, 10:16 PM   #7


Retired PSP Developer
 
MániácX's Avatar
 
Join Date: Feb 2007
Location: Canada
Posts: 407
Trader Feedback: 0
Default

Use the program in my sig.

Click the banner if you are using IE, or click offline install if using firefox/opera/ect...

PLEASE INSTALL THE 1.21 PATCH ASWELL!

CSP is a All In One Development studio for the PSP, like visual studio for Windows. All needed assemblies and toolchains are prebuilt. No cygwin required.

THIS DOESN'T WORK ON VISTA!!
__________________
MániácX is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-01-2007, 10:32 PM   #8

...in a dream...
 
SG57's Avatar
 
Join Date: Jul 2005
Posts: 4,957
Trader Feedback: 0
Default

Maniack - Please inform him how PSPDev Win32 has a fixed set of libraries, so if you wish to truly stand out, it ain't for you
__________________
SG57 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-01-2007, 10:53 PM   #9

Developer in Making...
 
BlackShark's Avatar
 
Join Date: Oct 2006
Location: Pimp'en in the US F#cking A!!!
Posts: 1,254
Trader Feedback: 0
Default

Can't you add library's to it like normal?
__________________
The Wentire Worls in two Sectors....
When did I get dev statz?
Spoiler for my PSP homebrewReleases:
Ace of Space V1|PvP Pong Online|PvP Pong v3 | 3.03 BlackShark Custom Firmware
(PvP Pong DL'ed well over 2403 times combined! get yours now!)
Spoiler for Great Quotes:

"No Snowflake in an Avalanche ever feels responsible....." - Fortune Cookie.
BlackShark is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-01-2007, 10:56 PM   #10
 
PSPJunkie_'s Avatar
 
Join Date: Dec 2006
Location: main();
Posts: 1,071
Trader Feedback: 0
Default

Nope.
__________________
YEAH!

[center][COLOR="DimGray"][SIZE="2"][FONT="Times New Roman"]Julius Parishy
[[URL="http://jparishy.com"]Homepage[/URL]][/FONT][/COLOR]

Affiliates:
[url=http://xfacter.jparishy.com/]Xfacter[/url] | [url=http://flatmush.jparishy.com/]Flatmush[/url] | [url=http://yaustar.jparishy.com/]Yaustar[/url]

[url=http://jparishy.com/wp/source-code/]Soure Code[/url]

[/center]
[/size]
PSPJunkie_ is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-01-2007, 10:56 PM   #11

...in a dream...
 
SG57's Avatar
 
Join Date: Jul 2005
Posts: 4,957
Trader Feedback: 0
Default

No, I believe the only way is to either wait for hte next version to include it or maybe manually go into the include, lib, etc. folder and link your library your using like the makefile within the library's svn folder download is (i know for a fact you cant run the make file that comes iwth them in PSPDev win32 and have it install)
__________________
SG57 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-02-2007, 12:48 AM   #12


Retired PSP Developer
 
MániácX's Avatar
 
Join Date: Feb 2007
Location: Canada
Posts: 407
Trader Feedback: 0
Default

SG57, can you please show me how to do that?

That would be great.

And, he is trying to do Hello World. No external libraries needed for that.

Thanks,
MániácX
__________________
MániácX is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-02-2007, 12:52 AM   #13

Heroes never die
 
hallo007's Avatar
 
Join Date: Aug 2006
Location: ...........
Posts: 1,318
Trader Feedback: 0
Default

did you type make? or did it show up when starting cygwin?
hallo007 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-02-2007, 01:15 AM   #14

...in a dream...
 
SG57's Avatar
 
Join Date: Jul 2005
Posts: 4,957
Trader Feedback: 0
Default

Maniack - Look at LTE Engine. It uses a BATCH file to install the engine, and it says its compatible with PSP Dev Win32 (look where it copies the library files, include files, e tc. in the install.bat) Hope that helps
__________________
SG57 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-02-2007, 01:36 AM   #15


Retired PSP Developer
 
MániácX's Avatar
 
Join Date: Feb 2007
Location: Canada
Posts: 407
Trader Feedback: 0
Default

Thanks for the help!

D'ling it right now.
__________________
MániácX is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-02-2007, 02:59 AM   #16
 
brethren's Avatar
 
Join Date: Apr 2007
Posts: 464
Trader Feedback: 0
Default

maniacx, you can get a library installer for pspdev. It has loads of different libraries,this is from the readme::
Tested Libs (Guaranteed to Work)
-PSPGL
-LibBulletMl
-Libpng
-Libmad
-zlib
-libtremor

:: SDL, SDL_Mixer
These are the two biggest and hardest libs to install. They should install correctly however and should work. They may need some slight adjustments in the sdl-config file which is located in your C:\pspdev\psp\bin folder.

i use them with your ide, let me know if you want the installer
brethren is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-02-2007, 03:01 AM   #17

...in a dream...
 
SG57's Avatar
 
Join Date: Jul 2005
Posts: 4,957
Trader Feedback: 0
Default

That library installer isn't so great... It has alot of outdated libraries (for ex, the PSPGL library doesnt have display lists)
__________________
SG57 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-02-2007, 03:14 AM   #18
 
brethren's Avatar
 
Join Date: Apr 2007
Posts: 464
Trader Feedback: 0
Default

sg57, if someone was to install cygwin and pspsdk ,then download and compile the latest libraries could they then copy the libraries over to pspdev? It'd be great if maniacs ide came with the latest libs

Last edited by brethren; 06-02-2007 at 03:30 AM..
brethren is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-02-2007, 10:57 AM   #19

...in a dream...
 
SG57's Avatar
 
Join Date: Jul 2005
Posts: 4,957
Trader Feedback: 0
Default

brethen - PSPDev Win32 is the entire PSP toolchain,sdk,libraries all compiled and installed. That someone would have to install EVERY library available, then do whatever PSPDev Win32 does to make it work in CMD.
__________________
SG57 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-02-2007, 12:21 PM   #20
 
brethren's Avatar
 
Join Date: Apr 2007
Posts: 464
Trader Feedback: 0
Default

i was thinking along the lines of libmad, libpng etc. Just some of the main libraries a beginner would need to start out. pspdev win32 doesn't come with them pre-installed
brethren is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-02-2007, 01:05 PM   #21

Developer
 
yaustar's Avatar
 
Join Date: Jun 2006
Location: UK
Posts: 2,317
Trader Feedback: 0
Default

http://www.sendspace.com/file/el0ppl

About 2 months or so old. Last post.
yaustar is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-02-2007, 01:15 PM   #22
 
PSPJunkie_'s Avatar
 
Join Date: Dec 2006
Location: main();
Posts: 1,071
Trader Feedback: 0
Default

Installing the SDK with cygwin really isn't that hard.


Also, yaustar, can you go on IRC?
__________________
YEAH!

[center][COLOR="DimGray"][SIZE="2"][FONT="Times New Roman"]Julius Parishy
[[URL="http://jparishy.com"]Homepage[/URL]][/FONT][/COLOR]

Affiliates:
[url=http://xfacter.jparishy.com/]Xfacter[/url] | [url=http://flatmush.jparishy.com/]Flatmush[/url] | [url=http://yaustar.jparishy.com/]Yaustar[/url]

[url=http://jparishy.com/wp/source-code/]Soure Code[/url]

[/center]
[/size]
PSPJunkie_ is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Tags
programming , question

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -8. The time now is 06:35 AM.



Use of this Web site constitutes acceptance of the TERMS & CONDITIONS and PRIVACY POLICY
Copyright © 2009, QJ.NET. All Rights Reserved.
Contact Us