-
Notifications
You must be signed in to change notification settings - Fork 182
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
🚀 Use prebuild dependencies by default #3091
Conversation
My test setup:
Attempt 1 - basic commands
Result : Cmake said: No CMAKE_C_COMPILER could be found. No CMAKE_CXX_COMPILER could be found. Attempt 2 - added compiler paths (Host64/x64)
Result
Attempt 3 (forced x64 build)
OK this doesn't work:
Attempt4 (use x86 cl.exe)
Result
|
@ohlidalp On windows you have to run cmake and ninja in the |
Sorry about the close/reopen, UI focused the Close button while I was typing for some reason. OK, I'll keep that in mind for next time. |
c95fe19
to
2889661
Compare
I launched the same .cmd script from the Developer Command Prompt, without the paths to compiler. It chose "Hostx86/x86/cl.exe". But then failed without much detail:
|
2889661
to
a07055f
Compare
a07055f
to
3d13ad9
Compare
@ohlidalp I updated the PR description with some better instructions on how to build on Windows |
389ea04
to
c67d14c
Compare
ae5a3b8
to
f4bfd39
Compare
Trying again. Same spec as above. Cmake latest. Conan uninstalled just to be sure.
In visual studio, I select "Release" and do "Build Solution". Ends with:
Full logs attached |
f4bfd39
to
001788c
Compare
System: May need clearer instructions for Linux.
|
001788c
to
bd4c6da
Compare
bd4c6da
to
e4f0c3b
Compare
Error - logs attached
2024-09-27_RoR_GH3019_prebuiltdeps.zip UPDATE: Looks like I have a problem with PagedGeometry in general, master also fails:
UPDATE2: after purging conan PagedGeometry packages, my build (Release) works again:
SetupUsing cmake latest (3.30.3), conan uninstalled just to be sure. Steps
|
This removes the requirement for installing conan to build RoR
Now cmake will download a prebuild dependencies tarball, extract it and run a small test to see if it is able to build with the dependencies
Limitations of this system:
To build on Linux:
Create a build dir:
mkdir build && cd build
Generate ninja files:
cmake -GNinja -DCMAKE_BUILD_TYPE=Release ..
Build the game:
ninja
To build on Windows:
Create a build dir:
mkdir build && cd build
Generate VS studio files:
cmake -G"Visual Studio 16 2019" ..
Open the
Rigs_of_Rods.sln
file and switch the config to ReleaseBuild the game as usual