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 

Setting up Dev-C++ with PSPSDK
Goto page Previous  1, 2, 3
 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
sandberg



Joined: 05 Oct 2005
Posts: 90
Location: Denmark

PostPosted: Tue Feb 21, 2006 9:12 am    Post subject: Reply with quote

This link works. Don't know if it works since I'm not using Windows. But it seems to be valid.

http://psp-dev.org/pukiwiki/index.php?Dev-C%2B%2B
_________________
Br, Sandberg
Back to top
View user's profile Send private message
F9zDark



Joined: 02 Apr 2005
Posts: 127

PostPosted: Sat May 27, 2006 3:29 am    Post subject: Reply with quote

I followed the instructions in the link above and downloaded the PSP Toolchain in Win32 installer format from: http://xorloser.com/

However I get this error when compiling:

Quote:
C:\pspdev\Projects\makefile [Build Error] No rule to make target `helloworld.o', needed by `helloworld.elf'. Stop.


This is the makefile that I am using(copied from sdktest)

Code:
TARGET = helloworld
OBJS = main.o

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

LIBDIR =
LDFLAGS =

EXTRA_TARGETS = EBOOT.PBP
PSP_EBOOT_TITLE = Hello World

PSPSDK= C:/pspdev/psp/sdk
include $(PSPSDK)/lib/build.mak


Anyone have any ideas?

Edit::

OK I got it to work, I was stupid and named the file helloword.c instead of main.c....

It doesn't compile in DevC++ giving an error cygreadline6.dll was not found, however it does work using the command prompt and typing in make; so its not really a big deal.
Back to top
View user's profile Send private message AIM Address
eniac



Joined: 30 May 2006
Posts: 1

PostPosted: Tue May 30, 2006 9:31 am    Post subject: Reply with quote

Bad link ...

(whoeps stupid, sorry, ignore now)
Back to top
View user's profile Send private message
iEpsilonMeteOra



Joined: 14 Jul 2006
Posts: 6

PostPosted: Fri Jul 14, 2006 9:27 pm    Post subject: I have converted Makefile into Dev-C++. Reply with quote

I have not seen that tutorial because I cannot open the web page. So, I try it by myself. Finally, I find that it is very easy.

1, create an empty project.
2, add all the source code file into this project.
3, Press "Alt + p" to open the property of project.
4, open the tab of "Makefile", choise the "Use custom Make file"

Ok, all operations have been done. You can complier the project at this time. But Pls make sure you have setup the PSP programming environment at first time.

Add PSPSDK into windows' PATH var and modify the original Makefile like this.

==============================================
TARGET = cube
OBJS = cube.o logo.o ../common/callbacks.o ../common/vram.o

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

LIBDIR =
LDFLAGS =
LIBS= -lpspgum -lpspgu -lm

EXTRA_TARGETS = EBOOT.PBP
PSP_EBOOT_TITLE = Cube Sample

#PSPSDK=$(shell psp-config --pspsdk-path) <- - Comment this line
include $(PSPSDK)/lib/build.mak

logo.o: logo.raw
bin2o -i logo.raw logo.o logo
===============================================
Back to top
View user's profile Send private message
lokust



Joined: 28 May 2006
Posts: 22

PostPosted: Sat Jul 15, 2006 1:55 pm    Post subject: Reply with quote

Has anyone been able to integrate gdb with dev-c++?
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
Goto page Previous  1, 2, 3
Page 3 of 3

 
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