#$ENV{VITASDK}/share/vita.toolchain.cmake
mkdir build
cd build
cmake -DCMAKE_TOOLCHAIN_FILE=$VITASDK/share/vita.toolchain.cmake ..
make
i get an error on CXX ident
EEM2:~/codepro/pctools/etlegacy$ ./vitabuild.sh
-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
-- 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 -- broken
CMake Error at /usr/local/share/cmake-3.9/Modules/CMakeTestCCompiler.cmake:51 (message):
The C compiler "/usr/local/vitasdk/bin/arm-vita-eabi-gcc" is not able to
compile a simple test program.
It fails with the following output:
Change Dir: /home/verhoeve/codepro/pctools/etlegacy/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_c99d9/fast"
/usr/bin/make -f CMakeFiles/cmTC_c99d9.dir/build.make
CMakeFiles/cmTC_c99d9.dir/build
make[1]: Entering directory
`/home/verhoeve/codepro/pctools/etlegacy/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_c99d9.dir/testCCompiler.c.obj
/usr/local/vitasdk/bin/arm-vita-eabi-gcc -Wl,-q -o
CMakeFiles/cmTC_c99d9.dir/testCCompiler.c.obj -c
/home/verhoeve/codepro/pctools/etlegacy/build/CMakeFiles/CMakeTmp/testCCompiler.c
/usr/local/vitasdk/bin/arm-vita-eabi-gcc:
/usr/local/vitasdk/bin/arm-vita-eabi-gcc: cannot execute binary file
make[1]: *** [CMakeFiles/cmTC_c99d9.dir/testCCompiler.c.obj] Error 126
make[1]: Leaving directory
`/home/verhoeve/codepro/pctools/etlegacy/build/CMakeFiles/CMakeTmp'
make: *** [cmTC_c99d9/fast] Error 2
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:10 (project)
-- Configuring incomplete, errors occurred!
See also "/home/verhoeve/codepro/pctools/etlegacy/build/CMakeFiles/CMakeOutput.log".
See also "/home/verhoeve/codepro/pctools/etlegacy/build/CMakeFiles/CMakeError.log".
make: *** No targets specified and no makefile found. Stop.
EEM2:~/codepro/pctools/etlegacy$ nano vitabuild.sh
What should i change or do or how do i proceed ?
thanks in advance and a happy quakeIII to u to
Advertising