EmuNewz Network
Need help in compiling JPCSP - 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: Need help in compiling JPCSP (/showthread.php?tid=135162)



Need help in compiling JPCSP - Marcelo_20XX - 03-15-2013

I have experience in compiling and working in C++ Visual Studio projects, but I dont know how to compile in Java.

Can someone explain me the steps necessary for compiling JPCSP?
I know for a fact that the hardest part is getting a working environment, so I need to know which dependencies do I need to install to compile the emulator, thanks for any information.


RE: Need help in compiling JPCSP - montcer9012 - 03-16-2013

You can start downloading Eclipse and then the source code of JPCSP. Once it is build, Eclipse will compile for you.

Also, you can try turning ON the Vsync and made your own builds. It was turn off because are more pros having it off than on.


RE: Need help in compiling JPCSP - Marcelo_20XX - 03-16-2013

Thanks for the response and I already downloaded Netbeans + JDK, also checked out the svn so I am ready to compile it, hopefully everything will go smooth. And about the vsync as you said there was no benefit, have you tried by any means my fix? that will remove the tearing cause even when vsync was turned ON on older revs the tearing would be still there.

EDIT: It can never be smooth, can it? It compiles with 5 warnings and then when you run the app I got an "exception in thread main java.lang.NoClassDefFoundError: org/lwjgl/opengl/AWTGLCanvas etc"

Any help?

EDIT2: Tried with Eclipse, that program its worse, after importing the project and build the project there is a bin folder created with no jar files and a tons of warnings

EDIT3: Finally compiled succesfully using apache ant 1.9.0, after the painless setup (unlike the other programs) I ran the command line:
"ant -f build-auto.xml dist-windows-x86" and finally the resulting .jar will start with no problems. Netbeans, Eclipse don't work here, period.


RE: Need help in compiling JPCSP - montcer9012 - 03-17-2013

Maybe the compiles are right. Take a look here:
http://www.emunewz.net/forum/showthread.php?tid=135217&pid=174656#pid174656