EmuNewz Network
JPCSP Compile Quick Guide for Windows - 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: JPCSP builds and releases (https://www.emunewz.net/forum/forumdisplay.php?fid=53)
+---- Thread: JPCSP Compile Quick Guide for Windows (/showthread.php?tid=148326)



JPCSP Compile Quick Guide for Windows - IcemanSR - 06-17-2013

This guide doesn't cover installing and setting up svn source on your hard drive
Only how to compile the JPCSP for your self

1.
Download Java SDK
http://www.oracle.com/technetwork/java/javase/downloads/index.html
Code:
download version which is suitable for your system x64/x86
[Image: ckfl.jpg]
2.
Uninstall your Java on system!
Most probably Java JRE is installed
Uninstall any updates from java as well
Code:
You must do this! ,JRE is no longer necessary  when using JDK and it will clash and cause problems when trying to work with java applications

3.
Install Java SDK
Code:
restart of PC is not necessary!
4.
Download and install Winant
Code:
WinAnt is a Windows installer
http://code.google.com/p/winant/
[Image: dlq6.jpg]
Code:
WinAnt will ask you to point to JDK folder!
point to this
"c:\Program Files\Java\jdk1.7.0_21\"
Code:
NOT to java but to jdk folder!
without quotes
[Image: zlyy.jpg]
And u are almost good to go!

assuming that u allready have setted svn on hdd
go to svn source folder of JPCSP ,usually :
"d:\SVN\JPCSP\"
open command promt
and type:

ant -f build-auto.xml dist-windows-amd64
or
ant -f build-auto.xml dist-windows-x86

Depending of the build you want!
[Image: z2dp.jpg]
Code:
If you are in trouble finding /opening command promt i attached 2 bat files at bottom
download the one for your system ,put in root folder of JPCSP SVN and double click it
That's it!
your compiled JPCSP will be in new created folder "dist" of svn
[Image: pjjq.jpg]

Reason for writing this is cause none were existing
and even with advanced experience in compiling it took me some time to get this done
Hence the guide!

Have fun!

G! Thank you for the work on JPCSP!


RE: JPCSP Compile Quick Guide for Windows - DragonNeos - 06-17-2013

Thank you for the guide. Hopefully this will encourage more people to make their own JPCSP build instead of complaining when Orphis's buildbot goes down for whatever reason.


RE: JPCSP Compile Quick Guide for Windows - montcer9012 - 06-17-2013

Good initiative; an important sticky thread.

However, in order to avoid so many questions, will be nice if you add more details or examples, i don't know. Maybe attach a batch file that compile the build automatically so it keep some kind of order.


RE: JPCSP Compile Quick Guide for Windows - IcemanSR - 06-18-2013

made it bit fancier and with pictures Blush


RE: JPCSP Compile Quick Guide for Windows - Zekro - 06-18-2013

Thanks for the thread,it's now sticked so everyone can see it


RE: JPCSP Compile Quick Guide for Windows - dilwyn - 06-19-2013

If you're going to compile your sources anyway, a better idea would be to get the repo straight from the SVN or something similar, so that you can keep it updated easily as well.


RE: JPCSP Compile Quick Guide for Windows - sum2012 - 06-23-2013

Do any guide directly run in NetBeans ? Thanks


RE: JPCSP Compile Quick Guide for Windows - dilwyn - 07-11-2013

(06-23-2013, 01:22 PM)sum2012 Wrote: Do any guide directly run in NetBeans ? Thanks

I tried to make it work by compiling directly in netbeans, however, I wasn't able to make it use at3tool to decode my sound files by compiling it through netbeans, so I ended up using netbeans' ant to compile as that was cheaper (just add the path to netbeans' ant and the path to the JDK bin folder to your PATH) and it worked ^^


RE: JPCSP Compile Quick Guide for Windows - serio - 07-11-2013

at3tool/atrac3plus2wav support is already implemented. the emulator uses the included bat file to use those tools if they're present. it requires sonicstage to work though.


RE: JPCSP Compile Quick Guide for Windows - zayko85 - 07-16-2013

Estoy intentando compilar usando las ultimas versiones de librerias pero me esta dando error, podrias depronto explicar como hacer para compilar usando las ultimas versiones de las librerias y no las que usa por default el emulador? gracias

im try compile using last version of libraries but y have error compile, you can teach me how i can do? thanks