-
Notifications
You must be signed in to change notification settings - Fork 28
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
Add build instruction #56
Comments
According to CMakeLists, Chimera requires certain software to build.
All of which can be downloaded via CygWin:CMake stuff
Miscellaneous
Compilers
CompilingYou must use forward-slashes or double-back-slashes in the Cygwin Terminal.
If you get an error like |
Boi you're all wrong using cygwin at first, use mingw AND make, or get archlinux ( devs use it, I use debian ). mkdir build
cd build
cmake -DCMAKE_TOOLCHAIN_FILE=<toolchain_file> ..
make -j`nproc` and it should compile, at least in archlinux as devs do this on that distro, I do get errors as written before, |
Woah, I didn't read this before, sorry! I was mainly using Arch Linux to build Chimera / Invader, I guess that's the easiest way to do it. If you are on Windows you can simply set up Arch over WSL (this is how i do it). I was recently working with pR0Ps to configure Github Actions to build Chimera and Invader, since Github Actions runs on Ubuntu we had to rebuild all the libraries in order to build Invader and eventually, Chimera. You can't use the Chimera repository libraries because those libraries were built in Arch (that's the reason you get those ugly errors at link time), you have to rebuild them using the same compiler that you are using to build Chimera, this because (somehow) it isn't the same compiler. |
I catch that, but then it may be better to add those dependencies as submodules. |
Yes! I'm doing that using CMake's ExternalProject module, if Kava thinks this is a good idea, maybe I'll do a pull request later. |
I do think that's a mandatory solution. |
Me too, but Kava is the one to decide :p |
As @JerryBrick mentioned, I was working with them on getting a GitHub action set up to build this project (GitHub actions use Ubuntu). I kinda burnt out on it after fighting with obscure (to me) cmake variables, compiler errors, and library issues. In order to compile, it needs I have it mostly working, but there are still some issues with it. See SnowyMouse/invader#183 . Since it only has issues with the qt binary (I think), the On the other hand, @JerryBrick's "ExternalProject" suggestion also sounds good. I was pushing to get GitHub Actions working for this project for a few reasons:
|
Yes, I do have the same issue with invader-qt-editor, both on ubuntu 20.04 and debian sid, and I do meet version requirement... |
Chimera is no longer linked against Invader |
I feel it is a nightmare, not sarcastic since halloween just happend, to build chimera.
I did once, with great pain, now it doesn't compile.
The text was updated successfully, but these errors were encountered: