- Joined
- Feb 2, 2019
- Messages
- 79
- Trophies
- 0
- Age
- 31
- Location
- France
- Website
- www.youtube.com
- XP
- 402
- Country
You'll need to put /opt/devkitpro/tools/bin on your PATH. One-liner in case you don't know how to do that:
I tried it, but I'm having another problem :
Code:
$ cmake ../
-- The C compiler identification is unknown
-- Check for working C compiler: /opt/devkitpro/devkitPPC/bin/powerpc-eabi-gcc
-- Check for working C compiler: /opt/devkitpro/devkitPPC/bin/powerpc-eabi-gcc -- broken
CMake Error at /usr/share/cmake-3.15.2/Modules/CMakeTestCCompiler.cmake:60 (message):
The C compiler
"/opt/devkitpro/devkitPPC/bin/powerpc-eabi-gcc"
is not able to compile a simple test program.
It fails with the following output:
Change Dir: /p/_SOURCECODE/Odamex/helloworld_wiiu/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/make.exe cmTC_ed4c9/fast && /usr/bin/make -f CMakeFiles/cmTC_ed4c9.dir/build.make CMakeFiles/cmTC_ed4c9.dir/build
make[1] : on entre dans le répertoire « /p/_SOURCECODE/Odamex/helloworld_wiiu/build/CMakeFiles/CMakeTmp »
Building C object CMakeFiles/cmTC_ed4c9.dir/testCCompiler.c.obj
/opt/devkitpro/devkitPPC/bin/powerpc-eabi-gcc -I/opt/wut/include -mcpu=750 -meabi -mhard-float -Wl,-q -D__WIIU__ -D__WUT__ -o CMakeFiles/cmTC_ed4c9.dir/testCCompiler.c.obj -c /p/_SOURCECODE/Odamex/helloworld_wiiu/build/CMakeFiles/CMakeTmp/testCCompiler.c
make[1]: *** [CMakeFiles/cmTC_ed4c9.dir/build.make:66: CMakeFiles/cmTC_ed4c9.dir/testCCompiler.c.obj] Error 1
make[1] : on quitte le répertoire « /p/_SOURCECODE/Odamex/helloworld_wiiu/build/CMakeFiles/CMakeTmp »
make: *** [Makefile:121: cmTC_ed4c9/fast] Error 2
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:4 (project)
-- Configuring incomplete, errors occurred!
See also "/p/_SOURCECODE/Odamex/helloworld_wiiu/build/CMakeFiles/CMakeOutput.log".
See also "/p/_SOURCECODE/Odamex/helloworld_wiiu/build/CMakeFiles/CMakeError.log".
This happened on both WSL and MSys2...
Last edited by Ch0wW,