Compile fails for Vita
Steps completed:
- git clone https://gitlab.com/xerpi/play.git
- cd ~/play
- mkdir build
- cd build
- cmake .. -DCMAKE_TOOLCHAIN_FILE=$VITASDK/share/vita.toolchain.cmake -DBUILD_TESTS:BOOL=OFF
Error:[CMakeOutput.log](/uploads/c1fcb58acf54de8b11e570861ba5c018/CMakeOutput.log)
CMake Error at CMakeLists.txt:14 (include):
include could not find load file:
Header
Building for hash fa08ef55.
CMake Error at CMakeLists.txt:41 (include):
include could not find load file:
PrecompiledHeader
-- Configuring incomplete, errors occurred!
See also "/home/evan/play/build/CMakeFiles/CMakeOutput.log".
Resolved this issue:
git clone --recurse-submodules https://gitlab.com/xerpi/play.git
Though i'm doing something else wrong now...
-- Generating for PSVita --
-- Build type: Release
Building for hash fa08ef55.
-- Could NOT find ICUUC (missing: ICUUC_LIBRARY ICUUC_INCLUDE_DIR)
-- Could NOT find ICUUC (missing: ICUUC_LIBRARY ICUUC_INCLUDE_DIR)
-- Configuring done
-- Generating done
-- Build files have been written to: /home/evan/play/build
evan@evan-laptop:~/play/build$ make Play_Vita.vpk
[ 0%] Compiling color_f.cg to color_f.gxp
/bin/sh: 1: -profile: not found
make[3]: *** [Source/ui_vita/gs/GSH_GXM/shader/CMakeFiles/gsh_gxm_shaders.dir/build.make:90: Source/ui_vita/gs/GSH_GXM/shader/color_f.gxp] Error 127
make[2]: *** [CMakeFiles/Makefile2:681: Source/ui_vita/gs/GSH_GXM/shader/CMakeFiles/gsh_gxm_shaders.dir/all] Error 2
make[1]: *** [CMakeFiles/Makefile2:258: Source/ui_vita/CMakeFiles/Play_Vita.vpk.dir/rule] Error 2
make: *** [Makefile:170: Play_Vita.vpk] Error 2
vitasdk confirmed installed
evan@evan-laptop:~/play/build$ ls $VITASDK
arm-vita-eabi bin include lib share version_info.txt
evan@evan-laptop:/usr/local/vitasdk$ cat version_info.txt
Built at 2020-03-07 21:33:49
newlib 53e619246fd31f1a757656722cce8cd75e0d6f3e
pthread-embedded 3477d59ecc313d324977766ece1d4e3ef14e1543
samples ded5780dfda5b5a9e7bf97be571123dc784d6cd5
vita-headers 443fe7e71fcb0d759c5b6e0711215c0ddcdbadf5
vita-toolchain 4545e75e68a56e0cdcd35e8cd9fb2cefd1ec4f05
Edited by zarrx