New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not able to build standalone for 3ds and wii #1755
Comments
Did you forget to install libctru? |
I have latest development tools installed with dkp-pacman |
It's definitely not using the right gcc, that's the system version. What's the output of |
demetris@demetris-TA770E3:~$ sudo dkp-pacman -S 3ds-dev
Enter a selection (default=all): Packages (13) 3ds-examples-20200417-2 3dslink-0.5.2-2 3dstools-1.1.4-2 citro2d-1.3.0-1 citro3d-1.6.0-1 devkit-env-1.0.1-2 devkitARM-r54-3 devkitarm-crtls-1.0.3-1 Total Installed Size: 298,88 MiB :: Proceed with installation? [Y/n] |
demetris@demetris-TA770E3:~$ which arm-none-eabi-gcc |
And the value of |
demetris@demetris-TA770E3:~$ printf "%s\n" $PATH |
I'm assuming the answer is yes, but does |
demetris@demetris-TA770E3:~$ ls /opt/devkitpro/devkitARM/bin/
|
You can use triple-backticks around lines to make them code blocks. Anyway, I've managed to reproduce the issue on my end and will look into it further. |
good news, thanks |
You will need to delete your CMakeCache.txt before you can try again |
now it complains about this: |
You need to install bannertool. You should also install makerom from Project_CTR so the cia builds. |
demetris@demetris-TA770E3:~/mgba/build$ cmake -DCMAKE_TOOLCHAIN_FILE=/home/demetris/mgba/src/platform/3ds/CMakeToolchain.txt ..
-- The C compiler identification is GNU 6.3.1
-- The CXX compiler identification is GNU 6.3.1
-- Check for working C compiler: /usr/bin/arm-none-eabi-gcc
-- Check for working C compiler: /usr/bin/arm-none-eabi-gcc -- broken
CMake Error at /usr/share/cmake-3.10/Modules/CMakeTestCCompiler.cmake:52 (message):
The C compiler
is not able to compile a simple test program.
It fails with the following output:
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/demetris/mgba/build/CMakeFiles/CMakeOutput.log".
See also "/home/demetris/mgba/build/CMakeFiles/CMakeError.log".
The text was updated successfully, but these errors were encountered: