![]() So, any insight into this would be appreciated. The appropriate make program can build the project through the default all target. Additionally a hierarchy of makefiles is generated into the build tree. (upon closer inspection, I do have a true.exe at /usr/bin in my msys64 directory seems CodeBlocks is just failing to find it?) CodeBlocks Project files for CodeBlocks will be created in the top directory and in every subdirectory which features a CMakeLists.txt file containing a project () call. I removed those and was able to build a perfectly good melonDS executable. ![]() On the other hand, CodeBlocks seems to be using its own shell thing, which does choke on the ‘true’ line. I don’t quite see what it’s for, but the MSYS shell seems to silently ignore any ‘true’ or ‘false’ command. For whatever reason, CMake adds that ‘true’ line at the end. Turns out the issue wasn’t with the link command itself, but with the second line. gcc-ar qcs libcore.a CMakeFiles/core.dir/ CMakeFiles/core.dir/ CMakeFiles/core.dir/ CMakeFiles/core.dir/ CMakeFiles/core.dir/ARMInterpreter_ CMakeFiles/core.dir/ARMInterpreter_ CMakeFiles/core.dir/ARMInterpreter_ CMakeFiles/core.dir/ CMakeFiles/core.dir/ CMakeFiles/core.dir/ CMakeFiles/core.dir/ CMakeFiles/core.dir/ CMakeFiles/core.dir/ CMakeFiles/core.dir/ CMakeFiles/core.dir/ CMakeFiles/core.dir/GPU3D_ CMakeFiles/core.dir/GPU3D_ CMakeFiles/core.dir/ CMakeFiles/core.dir/ CMakeFiles/core.dir/ CMakeFiles/core.dir/ CMakeFiles/core.dir/ CMakeFiles/core.dir/ CMakeFiles/core.dir/ CMakeFiles/core.dir/ CMakeFiles/core.dir/ I inspected one of those link.txt files to see why it was failing. However, generating a CodeBlocks project with Unix makefiles isn’t working: it chokes on the link process.I generated standalone makefiles for both MSYS and Unix and both ran fine. Actually, this isn’t even a problem for MSYS.Upon closer inspection, standalone CMake-generated makefiles for MSYS and Unix are identical, the only variation is how Windows paths are laid out (/C/blarg vs C:/blarg).CMake has CodeBlocks generators, but not for using it with MSYS.We’re using CMake, but the old CodeBlocks project for Windows has also stuck around (because it works, and getting shit working under Windows is a pain). The idea was to avoid using MSVC, and also keep melonDS portable.įlash forward to now. When I started development on melonDS, I used CodeBlocks as my IDE, along with the msys64 toolchain. Hello there! Arisotura here, from melonDS land.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |