 |
forums.ps2dev.org Homebrew PS2, PSP & PS3 Development Discussions
|
| View previous topic :: View next topic |
| Author |
Message |
sandberg
Joined: 05 Oct 2005 Posts: 90 Location: Denmark
|
|
| Back to top |
|
 |
F9zDark
Joined: 02 Apr 2005 Posts: 127
|
Posted: Sat May 27, 2006 3:29 am Post subject: |
|
|
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 |
|
 |
eniac
Joined: 30 May 2006 Posts: 1
|
Posted: Tue May 30, 2006 9:31 am Post subject: |
|
|
Bad link ...
(whoeps stupid, sorry, ignore now) |
|
| Back to top |
|
 |
iEpsilonMeteOra
Joined: 14 Jul 2006 Posts: 6
|
Posted: Fri Jul 14, 2006 9:27 pm Post subject: I have converted Makefile into Dev-C++. |
|
|
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 |
|
 |
lokust

Joined: 28 May 2006 Posts: 22
|
Posted: Sat Jul 15, 2006 1:55 pm Post subject: |
|
|
| Has anyone been able to integrate gdb with dev-c++? |
|
| Back to top |
|
 |
|
|
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
|