EmuNewz Network
The proper method to build jpcsp without netbeans - 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: svn trunk discussion (https://www.emunewz.net/forum/forumdisplay.php?fid=56)
+---- Thread: The proper method to build jpcsp without netbeans (/showthread.php?tid=62187)



The proper method to build jpcsp without netbeans - popsdeco - 06-18-2012

Recentry I tried to compile jpcsp from svn but it failed.
http://code.google.com/p/jpcsp/issues/detail?id=295
Why it needs to be invalid?
I found how to build it properly.

1. get jpcsp source code
svn checkout http://jpcsp.googlecode.com/svn/trunk/ jpcsp
cd jpcsp
2. compile it
ant
3. on Linux, case is problem
ln -s Jpcsp.jar bin/jpcsp.jar
4. overwrite Jpcsp.jar's MANIFEST.MF from binary distribution
mkdir META-INF
7z x path/to/original_jpcsp_jar META-INF/MANIFEST.MF
7z u bin/Jpcsp.jar META-INF/MANIFEST.MF
5. enjoy
sh start-linux-x86.sh # svn:executable should be set, which is also an issue

PS. I believe build.xml is somehow broken. I hope it will be fixed.
Also it seems jpcsp doesn't like netbeans7, which should be fixed.



RE: The proper method to build jpcsp without netbeans - hyakki - 06-18-2012

try using apache ant to compile
ant -f jpcsp-read-only/build-auto.xml jpcsp-linux-x86
or
linux-amd64

you can also cross compile windows builds by specifying dist-windows-amd64 ..etc


RE: The proper method to build jpcsp without netbeans - popsdeco - 06-18-2012

Code:
svn checkout http://jpcsp.googlecode.com/svn/trunk/ jpcsp
cd jpcsp
ant -f build-auto.xml dist-linux-x86
worked...
hyakki, thank you so much...
I never know why this important stuff isn't documented...

I even think that build.xml should be removed to avoid confusion.


RE: The proper method to build jpcsp without netbeans - MaXiMu - 06-18-2012


Jpcsp works fine with Netbeans 7 project What error here?


RE: The proper method to build jpcsp without netbeans - popsdeco - 06-18-2012

File->Open Project->/work/svn/jpcsp
Result: <No Project Open>

No errors are reported. I'm lost...