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 11, 2012, 01:09:56 AM *
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: Help with Game Engine please!  (Read 10726 times)
yaustar
gibbocool rules!
All-Around Dev
Hero Member
*

Karma: +74/-13
Offline Offline

Posts: 523
17011.11 points

View Inventory
Send Money to yaustar


View Profile WWW
« Reply #45 on: December 08, 2007, 05:07:11 PM »

It might be because you are missing the libs that it needs (non JGE libraries) or the makefile has the libs in the wrong order or even missing them completely.
Logged



Destruction44
Extremely Advanced
Newbie
*

Karma: +0/-11
Offline Offline

Posts: 40
1250.99 points

View Inventory
Send Money to Destruction44

View Profile
« Reply #46 on: December 09, 2007, 02:58:48 PM »

Here is the makfile for the JGE hello world
tutorial:

Quote
TARGET = HelloWorld
OBJS = src/GameApp.o src/GameLauncher.o

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

INCDIR = ../../JGE/include ../../JGE/include/psp ../../JGE/include/psp/freetype2 ../../JGE/src
LIBDIR = ../../JGE/lib/psp
LDFLAGS =
LIBS = -ljge100 -lfreetype -ljpeg -lgif -lpng -lz -lm -lmikmod -lpsppower -lpspmpeg -lpspaudiocodec -lpspaudiolib -lpspaudio -lpspgum -lpspgu -lpsprtc -lstdc++

EXTRA_TARGETS = EBOOT.PBP
PSP_EBOOT_TITLE = JGE++ HelloWorld
PSP_EBOOT_ICON = icon.png

PSPSDK=$(shell psp-config --pspsdk-path)
include $(PSPSDK)/lib/build.mak

i don't know what order the libs
should be in because i have never
used JGE before.

Is the makefile the problem?
Logged
b1G~n1ck
Full Member
***

Karma: +5/-1
Offline Offline

Posts: 103
5016.77 points

View Inventory
Send Money to b1G~n1ck

View Profile
« Reply #47 on: December 09, 2007, 07:17:11 PM »

As long as you didn't chang anything in the makefile, it isn't the problem.

Did you leave all the JGE stuff inside the JGE folder, or did you move things around? The reason I ask is because the makefiles for the JGE samples, as well as the new projects created by newproject.bat, point the include directories and the lib directories to a path relative to the makefile in the lines below.

Code:
INCDIR = ../../JGE/include ../../JGE/include/psp ../../JGE/include/psp/freetype2 ../../JGE/src
LIBDIR = ../../JGE/lib/psp

If you left the folder structure in tact, the I'm at a loss. If you copied the tutorial folders into your projects directory, then that's at least part of your problem. You'll either have to edit the makefile and put in the absolute path to the JGE include and lib folders, or you'll have to put everything back the way it was with the same folder structure as it had when you un-rar'ed the archive.
Logged
Destruction44
Extremely Advanced
Newbie
*

Karma: +0/-11
Offline Offline

Posts: 40
1250.99 points

View Inventory
Send Money to Destruction44

View Profile
« Reply #48 on: December 11, 2007, 02:54:21 PM »

I did change some of the directories
but then i changed it back to the way it
was when i unrared the archive.

The JGE tutorials did not compile even though
the directories are untouched.  Question
Logged
b1G~n1ck
Full Member
***

Karma: +5/-1
Offline Offline

Posts: 103
5016.77 points

View Inventory
Send Money to b1G~n1ck

View Profile
« Reply #49 on: December 12, 2007, 05:36:00 PM »

I don't know, man. I hate to be the typical message-boarder, but if you can't get it working then maybe you shouldn't be trying to use it.
Logged
Destruction44
Extremely Advanced
Newbie
*

Karma: +0/-11
Offline Offline

Posts: 40
1250.99 points

View Inventory
Send Money to Destruction44

View Profile
« Reply #50 on: December 18, 2007, 12:34:50 PM »

could you suggest a similar game engine to
JGE++ ?

So i can use that instead of JGE
Logged
b1G~n1ck
Full Member
***

Karma: +5/-1
Offline Offline

Posts: 103
5016.77 points

View Inventory
Send Money to b1G~n1ck

View Profile
« Reply #51 on: December 19, 2007, 05:44:08 AM »

You might try OSL. I've never used it, but I think it will be easier for you to set it up. There's a site somewhere that has some OSL tutorials on it, too.
Logged
Destruction44
Extremely Advanced
Newbie
*

Karma: +0/-11
Offline Offline

Posts: 40
1250.99 points

View Inventory
Send Money to Destruction44

View Profile
« Reply #52 on: December 19, 2007, 02:01:14 PM »

ok thanks big nick

I found OSL and installed it.
It was much easier than i expected.

Can you remember the site which has
the OSL Tutorials ?

Thanks Mr. Green
Logged
b1G~n1ck
Full Member
***

Karma: +5/-1
Offline Offline

Posts: 103
5016.77 points

View Inventory
Send Money to b1G~n1ck

View Profile
« Reply #53 on: December 19, 2007, 05:05:31 PM »

Not off the top of my head. Just google it.
Logged
roe-ur-boat
Look who bought all the excess user titles :O
Full Member
***

Karma: +27/-87
Offline Offline

Posts: 124
9999999.99 points

View Inventory
Send Money to roe-ur-boat

View Profile
« Reply #54 on: December 19, 2007, 05:38:40 PM »

If you guys are talking about OSLib then the tuts are on psp-hacks.com
Logged
Destruction44
Extremely Advanced
Newbie
*

Karma: +0/-11
Offline Offline

Posts: 40
1250.99 points

View Inventory
Send Money to Destruction44

View Profile
« Reply #55 on: December 20, 2007, 12:45:51 PM »

Thanks roe-ur- boat

I found them  Mr. Green
Logged
roe-ur-boat
Look who bought all the excess user titles :O
Full Member
***

Karma: +27/-87
Offline Offline

Posts: 124
9999999.99 points

View Inventory
Send Money to roe-ur-boat

View Profile
« Reply #56 on: December 21, 2007, 05:57:51 AM »

cool man, if you need any help with it just ask me Wink
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.371 seconds with 36 queries.
Sister Sites: Guitar Hero 4   BrokeniTouch.com