Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
noob.. try to compile on linuxSORRY!!!! readagain!
11-05-2012, 12:21 PM (This post was last modified: 11-05-2012 01:20 PM by naxil.)
Post: #1
noob.. try to compile on linuxSORRY!!!! readagain!
EXUSEME!!! now i have read propa the readme! but i have this error ..
please look what i have do!
PPSPP on ubuntu 10.04 try to compile..

If is a problem of lib
"d development libraries for zlib and sdl."?? what version?
exist lot of different ver i think.. and i think i have it..

root@naxil-desktop:/home/naxil/homebrew# rm ppsspp/ -R
root@naxil-desktop:/home/naxil/homebrew# git clone http://github.com/hrydgard/ppsspp
Initialized empty Git repository in /home/naxil/homebrew/ppsspp/.git/
remote: Counting objects: 1181, done.
remote: Compressing objects: 100% (728/728), done.
remote: Total 1181 (delta 699), reused 913 (delta 431)
Receiving objects: 100% (1181/1181), 1.13 MiB | 199 KiB/s, done.
Resolving deltas: 100% (699/699), done.
root@naxil-desktop:/home/naxil/homebrew# git submodule init
fatal: Not a git repository (or any of the parent directories): .git
root@naxil-desktop:/home/naxil/homebrew# cd ppsspp/
root@naxil-desktop:/home/naxil/homebrew/ppsspp# git submodule init
Submodule 'native' (https://github.com/hrydgard/native.git) registered for path 'native'
root@naxil-desktop:/home/naxil/homebrew/ppsspp# git submodule update
Initialized empty Git repository in /home/naxil/homebrew/ppsspp/native/.git/
remote: Counting objects: 1703, done.
remote: Compressing objects: 100% (786/786), done.
remote: Total 1703 (delta 1089), reused 1444 (delta 830)
Receiving objects: 100% (1703/1703), 859.24 KiB | 171 KiB/s, done.
Resolving deltas: 100% (1089/1089), done.
Submodule path 'native': checked out 'b80e99726b5bda47f4a3165111295dc35337870d'
root@naxil-desktop:/home/naxil/homebrew/ppsspp# cd SDL
root@naxil-desktop:/home/naxil/homebrew/ppsspp/SDL# ls
b.sh build_for_playbook.sh README.TXT SDLMain.m
buildassets.sh CMakeLists.txt SDLMain.h
root@naxil-desktop:/home/naxil/homebrew/ppsspp/SDL# gedit README.TXT
root@naxil-desktop:/home/naxil/homebrew/ppsspp/SDL# ./buildassets.sh
root@naxil-desktop:/home/naxil/homebrew/ppsspp/SDL# ./b.sh
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Found ZLIB: /usr/lib/libz.so
-- Found PNG: /usr/lib/libpng.so
-- checking for module 'sdl'
-- found sdl, version 1.2.14
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/lib/libX11.so
-- Looking for include files CMAKE_HAVE_PTHREAD_H
-- Looking for include files CMAKE_HAVE_PTHREAD_H - found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Configuring done
-- Generating done
-- Build files have been written to: /home/naxil/homebrew/ppsspp/SDL/build
Scanning dependencies of target base
Scanning dependencies of target common
Scanning dependencies of target zip
[ 0%] Building CXX object base/CMakeFiles/base.dir/colorutil.cpp.o
[ 0%] Building CXX object Common/CMakeFiles/common.dir/Action.cpp.o
[ 1%] Building C object libzip/CMakeFiles/zip.dir/mkstemp.c.o
[ 1%] Building CXX object base/CMakeFiles/base.dir/timeutil.cpp.o
/home/naxil/homebrew/ppsspp/native/ext/libzip/mkstemp.c: In function ‘_zip_mkstemp’:
/home/naxil/homebrew/ppsspp/native/ext/libzip/mkstemp.c:66: warning: implicit declaration of function ‘getpid’
[ 2%] Building CXX object Common/CMakeFiles/common.dir/ColorUtil.cpp.o
[ 2%] In file included from /home/naxil/homebrew/ppsspp/Common/CommonFuncs.h:40,
from /home/naxil/homebrew/ppsspp/Common/Common.h:58,
from /home/naxil/homebrew/ppsspp/Common/ColorUtil.cpp:18:
/usr/lib/gcc/i486-linux-gnu/4.4.3/include/emmintrin.h:32:3: error: #error "SSE2 instruction set not enabled"
Building C object libzip/CMakeFiles/zip.dir/zip_add.c.o
[ 3%] Building CXX object base/CMakeFiles/base.dir/threadutil.cpp.o
[ 4%] Building C object libzip/CMakeFiles/zip.dir/zip_add_dir.c.o
In file included from /home/naxil/homebrew/ppsspp/Common/Common.h:58,
from /home/naxil/homebrew/ppsspp/Common/ColorUtil.cpp:18:
/home/naxil/homebrew/ppsspp/Common/CommonFuncs.h:42: error: expected initializer before ‘_mm_shuffle_epi8’
make[2]: *** [Common/CMakeFiles/common.dir/ColorUtil.cpp.o] Errore 1
make[1]: *** [Common/CMakeFiles/common.dir/all] Errore 2
make[1]: *** Attesa per i processi non terminati....
[ 4%] [ 4%] Building C object libzip/CMakeFiles/zip.dir/zip_delete.c.o
Building C object libzip/CMakeFiles/zip.dir/zip_close.c.o
[ 4%] [ 5%] Building CXX object base/CMakeFiles/base.dir/error_context.cpp.o
Building C object libzip/CMakeFiles/zip.dir/zip_dirent.c.o
[ 5%] Building C object libzip/CMakeFiles/zip.dir/zip_entry_free.c.o
[ 6%] Building C object libzip/CMakeFiles/zip.dir/zip_entry_new.c.o
[ 6%] Building C object libzip/CMakeFiles/zip.dir/zip_err_str.c.o
[ 7%] Building C object libzip/CMakeFiles/zip.dir/zip_error.c.o
[ 7%] Building C object libzip/CMakeFiles/zip.dir/zip_error_clear.c.o
[ 8%] [ 9%] Building C object libzip/CMakeFiles/zip.dir/zip_error_get.c.o
Building CXX object base/CMakeFiles/base.dir/display.cpp.o
[ 9%] Building C object libzip/CMakeFiles/zip.dir/zip_error_get_sys_type.c.o
[ 9%] Building CXX object base/CMakeFiles/base.dir/PCMain.cpp.o
[ 9%] Building C object libzip/CMakeFiles/zip.dir/zip_error_strerror.c.o
[ 10%] Building C object libzip/CMakeFiles/zip.dir/zip_error_to_str.c.o
[ 10%] Building C object libzip/CMakeFiles/zip.dir/zip_fclose.c.o
In file included from /home/naxil/homebrew/ppsspp/native/base/PCMain.cpp:24:
/home/naxil/homebrew/ppsspp/SDL/../native/gfx_es2/glsl_program.h:11:21: error: GL/glew.h: File o directory non esistente
[ 11%] Building C object libzip/CMakeFiles/zip.dir/zip_file_error_clear.c.o
[ 11%] Building C object libzip/CMakeFiles/zip.dir/zip_file_error_get.c.o
[ 12%] Building C object libzip/CMakeFiles/zip.dir/zip_file_get_offset.c.o
[ 12%] Building C object libzip/CMakeFiles/zip.dir/zip_file_strerror.c.o
[ 13%] [ 13%] Building C object libzip/CMakeFiles/zip.dir/zip_filerange_crc.c.o
Building C object libzip/CMakeFiles/zip.dir/zip_fopen.c.o
[ 14%] [ 14%] Building C object libzip/CMakeFiles/zip.dir/zip_fopen_index.c.o
Building C object libzip/CMakeFiles/zip.dir/zip_fread.c.o
/home/naxil/homebrew/ppsspp/native/base/PCMain.cpp: In function ‘int main(int, char**)’:
/home/naxil/homebrew/ppsspp/native/base/PCMain.cpp:214: error: ‘GLEW_OK’ was not declared in this scope
/home/naxil/homebrew/ppsspp/native/base/PCMain.cpp:214: error: ‘glewInit’ was not declared in this scope
/home/naxil/homebrew/ppsspp/native/base/PCMain.cpp:219: error: ‘GLEW_VERSION_2_0’ was not declared in this scope
[ 14%] Building C object libzip/CMakeFiles/zip.dir/zip_free.c.o
make[2]: *** [base/CMakeFiles/base.dir/PCMain.cpp.o] Errore 1
make[1]: *** [base/CMakeFiles/base.dir/all] Errore 2
[ 15%] [ 15%] Building C object libzip/CMakeFiles/zip.dir/zip_get_archive_comment.c.o
Building C object libzip/CMakeFiles/zip.dir/zip_get_archive_flag.c.o
[ 16%] Building C object libzip/CMakeFiles/zip.dir/zip_get_file_comment.c.o
[ 17%] [ 17%] Building C object libzip/CMakeFiles/zip.dir/zip_get_num_files.c.o
Building C object libzip/CMakeFiles/zip.dir/zip_get_name.c.o
[ 17%] [ 18%] Building C object libzip/CMakeFiles/zip.dir/zip_memdup.c.o
Building C object libzip/CMakeFiles/zip.dir/zip_name_locate.c.o
[ 18%] Building C object libzip/CMakeFiles/zip.dir/zip_new.c.o
[ 18%] Building C object libzip/CMakeFiles/zip.dir/zip_open.c.o
[ 19%] Building C object libzip/CMakeFiles/zip.dir/zip_rename.c.o
[ 19%] Building C object libzip/CMakeFiles/zip.dir/zip_replace.c.o
[ 20%] [ 20%] Building C object libzip/CMakeFiles/zip.dir/zip_set_archive_comment.c.o
Building C object libzip/CMakeFiles/zip.dir/zip_set_archive_flag.c.o
[ 21%] Building C object libzip/CMakeFiles/zip.dir/zip_set_file_comment.c.o
[ 21%] [ 22%] Building C object libzip/CMakeFiles/zip.dir/zip_set_name.c.o
Building C object libzip/CMakeFiles/zip.dir/zip_source_buffer.c.o
[ 22%] Building C object libzip/CMakeFiles/zip.dir/zip_source_file.c.o
[ 23%] Building C object libzip/CMakeFiles/zip.dir/zip_source_filep.c.o
[ 23%] Building C object libzip/CMakeFiles/zip.dir/zip_source_free.c.o
[ 23%] Building C object libzip/CMakeFiles/zip.dir/zip_source_function.c.o
[ 24%] Building C object libzip/CMakeFiles/zip.dir/zip_source_zip.c.o
[ 24%] Building C object libzip/CMakeFiles/zip.dir/zip_stat.c.o
[ 25%] Building C object libzip/CMakeFiles/zip.dir/zip_stat_index.c.o
[ 25%] Building C object libzip/CMakeFiles/zip.dir/zip_stat_init.c.o
[ 26%] Building C object libzip/CMakeFiles/zip.dir/zip_strerror.c.o
[ 26%] Building C object libzip/CMakeFiles/zip.dir/zip_unchange.c.o
[ 27%] Building C object libzip/CMakeFiles/zip.dir/zip_unchange_all.c.o
[ 27%] Building C object libzip/CMakeFiles/zip.dir/zip_unchange_archive.c.o
[ 28%] Building C object libzip/CMakeFiles/zip.dir/zip_unchange_data.c.o
Linking C static library libzip.a
[ 28%] Built target zip
make: *** [all] Errore 2

sorry.. for before.. i haven't read the readme!!! please helpme!
Find all posts by this user
Quote this message in a reply
11-06-2012, 10:52 AM
Post: #2
RE: noob.. try to compile on linuxSORRY!!!! readagain!
please helpme!!! i have ubuntu 10.04
Find all posts by this user
Quote this message in a reply
11-06-2012, 12:21 PM
Post: #3
RE: noob.. try to compile on linuxSORRY!!!! readagain!
Zlib and SDL are probably correct, latest versions should be fine.
You apparently need to install GLEW (there should be a package for that, with -devel in its name probably).
Also, try to add:
Code:
add_definitions(-msse2)
At the end of the Common/CMakeLists.txt file. Then tell me if that works (just try compiling the same way as you did before).

Note you'll have to run ppsspp from the SDL/ directory by running "build/ppsspp".
Find all posts by this user
Quote this message in a reply
11-25-2012, 05:18 PM
Post: #4
RE: noob.. try to compile on linuxSORRY!!!! readagain!
okj.. now i have other error.. on libimage and libjsonwriter..
i have start synaptic but.. i have found thousand of diff libimage
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump: