Comments (2)
Oh, my bad - documentation comments fixed in 2dec12f.
It should be
cmake .. -DCMAKE_TOOLCHAIN_FILE=path/to/Retro68-build/toolchain/m68k-apple-macos/cmake/retro68.toolchain.cmake
... the other path was outdated. There's nothing there, and apparently cmake does not report that properly as an error and instead only complains about the consequences of not having a toolchain file (it thinks you're building for your linux system and complains that add_application
does not exist).
With this corrected path, things should "just work". I don't get policy warnings with cmake 3.11 and the Raytracer sample, but anyway, most cmake policy warnings are absolutely harmless.
It appears that the toolchain build system actually creates two separate copies of the retro68.toolchain.cmake file . They appear to be identical,...
One is in the build directory; ignore it. The things built in the "build-target" directory (except for sample apps) get "installed" into the toolchain directory using a make install
command, that's when the different relevant parts are put into the correct directories.
To be exact, add_application.cmake
gets copied directly from the source directory, whereas retro68.toolchain.cmake
is first created from retro68.toolchain.cmake.in
(which lives in the source directory), and then installed (copied) to its final location.
from retro68.
Thanks
from retro68.
Related Issues (20)
- Crash when there are more than ten CODE resources when using a custom segmap HOT 1
- Using libraries compiled by CodeWarrior HOT 2
- Include order is wrong
- How do I compile a OpenGL program with this for OS X? HOT 1
- Traditional assembly files
- powerpc-apple-macos-gcc "-g" flag makes app crash
- LaunchAPPLServer crashes if disk is full
- Cannot link against libraries other than InterfaceLib HOT 1
- Failed building Samples
- Add a preprocessor macro to detect Retro68 HOT 1
- Patch: export data from PowerPC code fragments HOT 1
- "Elf2Mac has unexpectedly quit" HOT 1
- Error compiling libelf on latest Arch Linux HOT 1
- Install Fails, can't find make-multiverse.rb HOT 1
- -Wl,--gc-sections on 68k causes crashes when C++ exceptions are thrown HOT 1
- Is this project being maintained? HOT 1
- A5 ignored on asm() register-clobber list HOT 2
- ld warning after updating to latest GCC 12 version HOT 1
- Specifying an output filename HOT 1
- Compiling ResourceFile.cc fails HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from retro68.