Open discussions on programming specifically for the PS Vita.
Forum rules: Forum rule Nº 15 is strictly enforced in this subforum.
#420744 by Tidus
Sat Nov 11, 2017 12:28 pm
Hello,

I'm trying to compile this https://github.com/usineur/Zelda3T but I cannot get it.
I got sources, installed vitasdk with libs and sdl but unable to compile.

Code: Select all~/Zelda3T/build$ cmake ..
-- The C compiler identification is GNU 7.2.0
-- The CXX compiler identification is GNU 7.2.0
-- Check for working C compiler: /usr/local/vitasdk/bin/arm-vita-eabi-gcc
-- Check for working C compiler: /usr/local/vitasdk/bin/arm-vita-eabi-gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/local/vitasdk/bin/arm-vita-eabi-g++
-- Check for working CXX compiler: /usr/local/vitasdk/bin/arm-vita-eabi-g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: /home/xxx/Zelda3T/build

~/Zelda3T/build$ make
Scanning dependencies of target Zelda3T
[  3%] Building CXX object CMakeFiles/Zelda3T.dir/Audio.cpp.obj
/home/nicolas/Zelda3T/Audio.cpp:15:10: fatal error: SDL/SDL.h: No such file or directory
#include <SDL/SDL.h>
          ^~~~~~~~~~~
compilation terminated.
CMakeFiles/Zelda3T.dir/build.make:62 : la recette pour la cible « CMakeFiles/Zelda3T.dir/Audio.cpp.obj » a échouée
make[2]: *** [CMakeFiles/Zelda3T.dir/Audio.cpp.obj] Erreur 1
CMakeFiles/Makefile2:67 : la recette pour la cible « CMakeFiles/Zelda3T.dir/all » a échouée
make[1]: *** [CMakeFiles/Zelda3T.dir/all] Erreur 2
Makefile:83 : la recette pour la cible « all » a échouée
make: *** [all] Erreur 2


Could you please tell me what I'm doing wrong ?
Advertising
#420833 by usineur
Tue Nov 21, 2017 12:11 am
Hi,

here you can find instructions to build Zelda3T: https://github.com/usineur/Zelda3T/issues/4

I'am pretty sure you are trying to build with SDL 2.0 too. Zelda3T required SDL 1.2.

Cya

... I wonder... are you the same user ? :D
Advertising

Who is online

Users browsing this forum: No registered users and 1 guest