This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
The proper method to build jpcsp without netbeans
#1
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.
Reply
#2
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
Reply
#3
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.
Reply
#4

Jpcsp works fine with Netbeans 7 project What error here?
[Image: 1388267.png]
Reply
#5
File->Open Project->/work/svn/jpcsp
Result: <No Project Open>

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


Forum Jump:


Users browsing this thread: 1 Guest(s)