Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Compiling/debugging ppsspp in NetBeans and Eclipse
05-06-2013, 04:23 AM
Post: #1
Compiling/debugging ppsspp in NetBeans and Eclipse
I'm trying to import the ppsspp for windows source code in NetBeans or Eclipse but when I try it in NetBeans, after selecting the ppsspp-master folder it gives this error:

Code:
Cannot run program "cmake" (in directory "C:\PPSSPP\EXTRA\ppsspp-master"): CreateProcess error=2, Cannot find the specified file


CMAKE FAILED (exit value -1, total time: 379949h 9m 32s)

While in Eclipse:

Code:
Errors occurred during the build.
Errors running builder 'CDT Builder' on project 'ppsspp-master'.
Internal error building project ppsspp-master configuration Debug
java.lang.NullPointerException
Internal error building project ppsspp-master configuration Debug
java.lang.NullPointerException

What IDE should I use to compile/debug the source code from github? I know about visual c++/studio but I'm having some problem with some files atm and I can't use it.

Windows 7 Ultimate 64-bit | Intel® Core™2 Duo CPU E7500 @ 2.93GHz | 3072MB RAM DDR2 | NVIDIA GeForce GT 630 1024MB | http://github.com/KyousukeKyaa
Find all posts by this user
Quote this message in a reply
05-06-2013, 05:20 AM
Post: #2
RE: Compiling/debugging ppsspp in NetBeans and Eclipse
Are you trying to build for Windows, or for Android?

Anyway, it sounds like you may not have cmake installed. You can try running cmake manually to verify.

-[Unknown]
Find all posts by this user
Quote this message in a reply
05-08-2013, 06:35 AM (This post was last modified: 05-08-2013 06:39 AM by Kyousuke.)
Post: #3
RE: Compiling/debugging ppsspp in NetBeans and Eclipse
For windows, atm I don't have any android device so I cannot test the android version yet, about cmake probably I haven't installed it, downloading right now.

EDIT: the compiler was missing too, resolved with cygwin, but it's giving a different error now:

Code:
-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
-- Check for working C compiler: C:/Cygwin/bin/gcc.exe
-- Check for working C compiler: C:/Cygwin/bin/gcc.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - failed
-- Check for working CXX compiler: C:/Cygwin/bin/g++.exe
-- Check for working CXX compiler: C:/Cygwin/bin/g++.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - failed
-- Found OpenGL: opengl32  
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - found
-- Found Threads: TRUE  
-- Could NOT find SDL (missing:  SDL_LIBRARY SDL_INCLUDE_DIR)
-- Configuring incomplete, errors occurred!
CMake Error at CMakeLists.txt:472 (message):
  Could not find SDL.  Failing.




CMAKE FAILED (exit value 1, total time: 6s)

Probably I didn't set it to open the windows project only, with Visual C++ it was easy just clicking the .SLN file but how do I set it in NetBeans? when I open the ppsspp folder there're no selectable options and if I try to select only the windows folder, it doesn't work because there's no cmake file in it, should I copy cmakelists.txt and modify something inside it?

(or is the SDL library another thing I've to install through cygwin? I'm googling it now anyway)

Windows 7 Ultimate 64-bit | Intel® Core™2 Duo CPU E7500 @ 2.93GHz | 3072MB RAM DDR2 | NVIDIA GeForce GT 630 1024MB | http://github.com/KyousukeKyaa
Find all posts by this user
Quote this message in a reply
05-08-2013, 07:12 AM
Post: #4
RE: Compiling/debugging ppsspp in NetBeans and Eclipse
Yeah, the SDL library is something else to install. That said, it lacks a lot of features that the Qt and Windows ports have.

-[Unknown]
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump: