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 

Can't Compile

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



Joined: 17 Sep 2005
Posts: 7

PostPosted: Mon Sep 19, 2005 12:50 pm    Post subject: Can't Compile Reply with quote

After spending the weekend getting PSPSDK up, I grabbed a couple source codes to try compiling. I got the sources to PSPBlackjack 0.2b4 and PSPGenesis 0.15.

PSPBlackjack doesn't have a make file, but a compile.bat. Upon using the compile.bat, I get slapped with this:

The compile.bat when opened in notepad reads:
Code:
@echo off

echo Compiling %1
C:\PS2Dev\ee\bin\ee-gcc -Wall -march=r4000 -g -mgp32 -mlong32 -c %1
if NOT %errorlevel%==0 ( goto END )

:SUCCESS
echo Successfully compiled %1
:END


With PSPGenesis, I actually can just do the "make" command in the directory. It waits a bit, actually acts like it's working (I'm sure it is) then gives me this:



I have no idea why neither are working, I believe I have installed PSPSDK with no problems.
Are there other programs which can compile for the PSP? Maybe something else was used, and PSPSDK can't compile them? I'm new to this, so any help would be geatly appreciated.
Back to top
View user's profile Send private message AIM Address
CyberBill



Joined: 26 Jul 2005
Posts: 86
Location: Redmond, WA

PostPosted: Mon Sep 19, 2005 12:54 pm    Post subject: Reply with quote

.bat files are windows batch files... just double click it in windows explorer, although really you need to figure out how they are compiling it and do the same. Not everyone is using the same compilation environment.
Back to top
View user's profile Send private message AIM Address MSN Messenger
Heran_Bago



Joined: 17 Sep 2005
Posts: 7

PostPosted: Wed Sep 21, 2005 10:27 am    Post subject: Reply with quote

Windows won't do it either, not even with the command prompt.
I suppose it's idealistic to expect PSPSDK to compile anything in C built for the PSP. Too bad the sources don't even mention what they used to compile.
Back to top
View user's profile Send private message AIM Address
Chrighton



Joined: 15 Jun 2005
Posts: 58

PostPosted: Wed Sep 21, 2005 12:34 pm    Post subject: Reply with quote

Heran_Bago wrote:
Windows won't do it either, not even with the command prompt.
I suppose it's idealistic to expect PSPSDK to compile anything in C built for the PSP. Too bad the sources don't even mention what they used to compile.

In the Blackjack example it is clearly using ee-gcc. This is the old makeshift ps2 compiler that was used to make psp programs very early on. You ought to abandon old stuff written with ee-gcc, especially those using .bat files, as this is poor practice (or else you will have to learn to rewrite the .bats/makefiles to properly invoke and use PSPSDK, but this can prove to be more work than is worth the effort if the sources need fixing too). It is not idealistic to expect PSPSDK to build C programs, it does that just fine.
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