Official Gp2x Sdk


NoidZ

Mind the world, need for panic
Joined
Apr 2, 2006
Messages
757
Age
35
Location
The Netherlands
Website
Visit site
From now on, official GP2X SDK is available and you can download them from the link below

This is the Windows version
This is the Linux version

For WINDOWS version, some inconvenient things such as library link and the shortage of template source were corrected.
In the case of the SDK for Linux OS, it does not contain editor however script program for generating compiler and library files are included in the SDK for Linux OS.

Regarding opening source code,
Dev-C++ source file is contained in a compressed file for Windows.
Once you install this program, it will automatically download the compiler source for Linux from the internet.
And the compiler source for Windows is obtainable from script for Linux.

And If you need more library source, please contact to dev@gp2x.com and GPH will gladly provide it or open it on dev forum, http://dev.gp2x.com/forum/

However you can easily get most of the library from the internet, as Dev-C++ for GP2X was coded with the source code which is already opened on the internet.
[CUT]

Thanks,
Gamepark Holdings[/CUT]
 
I actually downloaded the official SDK a few weeks ago, but figured it was old news since GPH didn't have any news article about it on their site at the time, so I didn't say anything.

EDIT: As my download records say: "Started: 5/15/2006 10:14:56 AM -- Finished: 5/15/2006 11:29:05 AM"

The file was http://dev.gp2x.com/sdk/gp2xsdk_060515.zip.

EDIT 2: Ah, I see. This is a different file and a linux version was released.
 
Hello
if anybody is interested, i have posted here the steps i have followed to get this SDK to work on Mac OS X. I hope it is useful for somebody else ;)

Regards
kounch
 
well i can't get it to compile the template it's given. I just extracted it to c:\ then i started devcpp choose new SDL project and then choose execute compile. and it gives me this :
Building Makefile: "C:\GP2XSDK\Makefile.win"
Executing make...
make.exe -f "C:\GP2XSDK\Makefile.win" all
cygwin-mkdir -p "win"

/gp2xsdk/bin/cygwin-mkdir: missing operand
Try `/gp2xsdk/bin/cygwin-mkdir --help' for more information.
make.exe: *** [all-before] Error 1

Execution terminated

i couldn't get the previous version to work either. Anyone have it working on windows ?
 
i couldn't get the previous version to work either. Anyone have it working on windows ?

I was able to get the latest version to compile. Im using XP SP2. I extracted the files to my desktop, created a new project and compiled. I switched the GP2X compiler option and it also worked (meaning I got a gpe file, havnt tried it on my GP2X) But the windows version worked. I really didnt have to do anything special.
 
Last edited by a moderator:
weird thing is if i use msys and type make -f makefilewin under that it compiles just fine but if i try to compile from inside devc++ i get errors like :
Compiler: win
Building Makefile: "C:\GP2XSDK\Makefile.win"
Executing make...
make.exe -f "C:\GP2XSDK\Makefile.win" main.o
gcc.exe -I"C:/GP2XSDK/include/GP2X" -I"C:/GP2XSDK/include/SDL" -I"C:/GP2XSDK/include" -D_REENTRANT -DWIN32 -c -o main.o main.c

gcc.exe: no input files

make.exe: *** [main.o] Error 1

Execution terminated

i have no clue why this happens doh only thing i can think of is that it can't find main.c for some reason guess i'll stick with devkitgp2x
 
weird thing is if i use msys and type make -f makefilewin under that it compiles just fine but if i try to compile from inside devc++ i get errors like :
Compiler: win
Building Makefile: "C:\GP2XSDK\Makefile.win"
Executing make...
make.exe -f "C:\GP2XSDK\Makefile.win" main.o
gcc.exe -I"C:/GP2XSDK/include/GP2X" -I"C:/GP2XSDK/include/SDL" -I"C:/GP2XSDK/include" -D_REENTRANT -DWIN32 -c -o main.o main.c

gcc.exe: no input files

make.exe: *** [main.o] Error 1

Execution terminated

i have no clue why this happens doh only thing i can think of is that it can't find main.c for some reason guess i'll stick with devkitgp2x

Check your PATH.

I had the same problem until I ensured that c:\gp2xsdk\bin;c:\gp2xsdk\mingw32\bin
were in the path. Previous use of devkitGP2X had included its directories in the path
and there are many executables that are the same so they start but then fail.

It is probably not possible to have both kits available at the same time.
 
Last edited by a moderator:
Has anyone really found a benefit to bothering to get this working? I already use DevC++ and the old 'devkitgp2x' SDK. Seems to work well. Newer GCC or something else neat included, at least? I may as well just drop the /bin, /include and /lib dirs etc over my old SDK in all likelihood and not bother getting their Dev C++ install working, as the last time I tried, it made a mess of things.
 
nope
devkitarm is already set up so I'm not bothering with this

I've only used it a couple of days, without prior experience on DevC++.
Found a few of points of interest:

1. Installation appears to be clean, except for PATH, so removal is easy
too - just delete the directory.

2. Compilers gcc 3.4.2 for win and gcc 3.4.6 for gp2x are included.

3. Linux 2.4.25 libraries are included so -shared configuration is possible.

4. DevC++ is an acceptable IDE, including built-in gdb support for win.
 
Last edited by a moderator:
Back
Top