EmuNewz Network
Can anyone provide step-by-step instructions on how to build jpcsp from source? - Printable Version

+- EmuNewz Network (https://www.emunewz.net/forum)
+-- Forum: PSP Emulation (https://www.emunewz.net/forum/forumdisplay.php?fid=191)
+--- Forum: JPCSP Official Forum (https://www.emunewz.net/forum/forumdisplay.php?fid=51)
+---- Forum: General discussion (https://www.emunewz.net/forum/forumdisplay.php?fid=57)
+---- Thread: Can anyone provide step-by-step instructions on how to build jpcsp from source? (/showthread.php?tid=138452)



Can anyone provide step-by-step instructions on how to build jpcsp from source? - digiadventures - 04-03-2013

It's not really user friendly process, especially people who are not programmers/developers and never used any dev tool, which I presume are most people who visit this and similiar forums.

Some kind of step by step instructions would be great.

For example, I downloaded eclipse and then used some tool I found online to download jpcsp source, started new project in eclipse, used folder where jpcsp source is, and got 112 warnings, and I have no idea what to do next.
It's compiled, because eclipse do it "on the fly", but what next ?
I can't save, I can't run it, I can't do anything...


Can anyone provide step-by-step instructions on how to build jpcsp from source code ? - shadow - 04-03-2013

you can also d/l the precompiled builds. You can find them here :
http://www.emunewz.net/forum/builds.php?filter=last

also better try with netbeans , jpcsp is more netbeans friendly


RE: Can anyone provide step-by-step instructions on how to build jpcsp from source? - digiadventures - 04-03-2013

You mean like on a build bot ? Yes of course most people wouldn't be able to use jpcsp at all without it Smile
I mainly wanted to compile for myself because I want to be able to change the code, add patches to code from other users etc...
I will try with netbeans Smile


RE: Can anyone provide step-by-step instructions on how to build jpcsp from source? - freefive - 04-03-2013

I use netbeans.
It's quite easy, File-->Open Project-->choose jpcsp folder, which will have a coffee cup appearance
After having opened the project,
Run--> Build Project
and jpcsp.jar will be complied and be placed under "bin" folder.
Then just run the bat file, start-windows-x86 or start-windows-amd64.


RE: Can anyone provide step-by-step instructions on how to build jpcsp from source? - digiadventures - 04-03-2013

(04-03-2013, 12:34 PM)freefive Wrote: I use netbeans.
It's quite easy, File-->Open Project-->choose jpcsp folder, which will have a coffee cup appearance
After having opened the project,
Run--> Build Project
and jpcsp.jar will be complied and be placed under "bin" folder.
Then just run the bat file, start-windows-x86 or start-windows-amd64.

Thanks, it worked like a charm !
I tried with eclipse first because it sounded cooler, I guess it was a mistake Smile


RE: Can anyone provide step-by-step instructions on how to build jpcsp from source? - Marcelo_20XX - 04-04-2013

Whenever I try to compile with NetBeans 7.3 after selecting Build Main Project I got two folders: Build and Bin, inside build are: built-jar.properties and a "empty" and "class" folder and inside bin are jpcsp.jar and the "lib" folder but not the other files that are needed to run the emu. Even if I copy the compiled jar and lib and overwrite to the ones made by the buildbot after I run the bat it just output some error message and hangs.

So NetBeans don't work for me or I am doing something really wrong


RE: Can anyone provide step-by-step instructions on how to build jpcsp from source? - digiadventures - 04-04-2013

Hm, I dont have option "build main project" I have "Build project(jpcsp) (f11)"
I just click that and thats it.
First I downloaded it with Team/Subversion/Checkout