How to download and compile DDNet on Windows
- deen
- Posts: 3576
- Joined: Mon May 05, 2014 2:30 pm
- Player profile: https://ddnet.org/players/deen/
- Discord: deen#5910
Re: How to download and compile DDNet on Windows
That's the problem. Fix your C compiler. Looks like x86, not x86-64.The C compiler "C:/Program Files (x86)/Microsoft Visual
Studio/2017/Community/VC/Tools/MSVC/14.11.25503/bin/Hostx86/x86/cl.exe" is
not able to compile a simple test program.
-
- Posts: 121
- Joined: Sat Dec 12, 2015 9:57 am
- Player profile: https://ddnet.tw/players/Frr-32--58-3/
Re: How to download and compile DDNet on Windows
But how? There is no options in the guide. :/
- mokuz
- Posts: 755
- Joined: Sat Apr 30, 2016 5:34 pm
- Location: Finland
- Player profile: https://ddnet.tw/players/Mokuz/
- Mapper profile: https://ddnet.tw/mappers/Mokuz/
- Clan: Legendary
Re: How to download and compile DDNet on Windows
That's like, the best solution...
SpoilerShow
Nothing to see here uwu
mods banned my previous sig :( this is censorship freedom of speech is dead xoxox
mods banned my previous sig :( this is censorship freedom of speech is dead xoxox
-
- Posts: 121
- Joined: Sat Dec 12, 2015 9:57 am
- Player profile: https://ddnet.tw/players/Frr-32--58-3/
Re: How to download and compile DDNet on Windows
Nice help guys, many thanks to you.
I have x86 (and x86 x64 dirs inside)
And x64 (and x86 x64 dirs inside)
So that VC 2017 has all of these compilers, but how to fix?
P.S. Why there is a guide which is doesn't work?
I have x86 (and x86 x64 dirs inside)
And x64 (and x86 x64 dirs inside)
So that VC 2017 has all of these compilers, but how to fix?
P.S. Why there is a guide which is doesn't work?
- deen
- Posts: 3576
- Joined: Mon May 05, 2014 2:30 pm
- Player profile: https://ddnet.org/players/deen/
- Discord: deen#5910
Re: How to download and compile DDNet on Windows
Not sure, maybe adding the other compiler to PATH might work and removing the wrong one.
-
- Posts: 47
- Joined: Sat Sep 05, 2015 7:18 pm
Re: How to download and compile DDNet on Windows
Should theoretically work out of the box... so: Can you try removing the `C:/Users/Frr/CMakeBuilds/` folder and trying again? That's my best guess regarding that error, after trying to google it.Frr wrote: ↑Thu Nov 16, 2017 5:30 pm Win10 64
Reinstalled from repository:
CMake Error at C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.9/Modules/CMakeTestCCompiler.cmake:51 (message):
The C compiler "C:/Program Files (x86)/Microsoft Visual
Studio/2017/Community/VC/Tools/MSVC/14.11.25503/bin/Hostx86/x86/cl.exe" is
not able to compile a simple test program.
It fails with the following output:
Change Dir: C:/Users/Frr/CMakeBuilds/14360a3a-fb71-103c-a730-189ca0c76231/build/x86-Debug/CMakeFiles/CMakeTmp
Run Build
Command:"C:/PROGRA~2/MIB055~1/2017/COMMUN~1/Common7/IDE/COMMON~1/MICROS~1/CMake/Ninja/ninja.exe"
"cmTC_533bb"
ninja: error: build.ninja:30: loading 'rules.ninja': ═х єфрхЄё
эрщЄш єърчрээ√щ Їрщы.
include rules.ninja
^ near here
CMake will not be able to correctly generate this project.
-
- Posts: 47
- Joined: Sat Sep 05, 2015 7:18 pm
Re: How to download and compile DDNet on Windows
This looks interesting as well: https://gitlab.kitware.com/cmake/cmake/issues/17191 (and might be the reason why this issue didn't occur to me, I used an English Window version to test this).
Re: How to download and compile DDNet on Windows
IMPORTANT INFO:
If you don't see a drop-down list, like in step 25, you must remove three lines from .gitignore file - "*", "!**/" and "!*.*". Also recommend remove "*.dll" line. After this, just resave (Ctrl+S) CMakeLists.txt in VS, cmake must start automatically.
If you don't see a drop-down list, like in step 25, you must remove three lines from .gitignore file - "*", "!**/" and "!*.*". Also recommend remove "*.dll" line. After this, just resave (Ctrl+S) CMakeLists.txt in VS, cmake must start automatically.
- deen
- Posts: 3576
- Joined: Mon May 05, 2014 2:30 pm
- Player profile: https://ddnet.org/players/deen/
- Discord: deen#5910
Re: How to download and compile DDNet on Windows
How come, what's wrong with the gitignore file?Tee 3D wrote: ↑Sat Feb 03, 2018 1:11 pm IMPORTANT INFO:
If you don't see a drop-down list, like in step 25, you must remove three lines from .gitignore file - "*", "!**/" and "!*.*". Also recommend remove "*.dll" line. After this, just resave (Ctrl+S) CMakeLists.txt in VS, cmake must start automatically.
Who is online
Users browsing this forum: No registered users and 11 guests