compile ddnet code
-
- Posts: 29
- Joined: Wed Apr 12, 2023 10:29 am
- Player profile: https://ddnet.org/players/okonnayajaluzia/
- Discord: 4ipset#5194
compile ddnet code
i try to compile source code ddrace network and cmake send
Selecting Windows SDK version 10.0.19041.0 to target Windows 10.0.19045.
The C compiler identification is MSVC 19.29.30148.0
The CXX compiler identification is MSVC 19.29.30148.0
Detecting C compiler ABI info
Detecting C compiler ABI info - done
Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe - skipped
Detecting C compile features
Detecting C compile features - done
Detecting CXX compiler ABI info
Detecting CXX compiler ABI info - done
Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe - skipped
Detecting CXX compile features
Detecting CXX compile features - done
IPO is enabled
Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
Could NOT find Crypto (missing: CRYPTO_LIBRARY CRYPTO_INCLUDEDIR)
Could NOT find Curl (missing: CURL_LIBRARY CURL_INCLUDEDIR)
Could NOT find FFMPEG (missing: AVCODEC_LIBRARY AVFORMAT_LIBRARY AVUTIL_LIBRARY SWSCALE_LIBRARY SWRESAMPLE_LIBRARY AVCODEC_INCLUDEDIR AVFORMAT_INCLUDEDIR AVUTIL_INCLUDEDIR SWSCALE_INCLUDEDIR SWRESAMPLE_INCLUDEDIR)
Could NOT find Freetype (missing: FREETYPE_LIBRARY FREETYPE_INCLUDEDIR)
Could NOT find Git (missing: GIT_EXECUTABLE)
Could NOT find GTest (missing: GTEST_LIBRARY GTEST_INCLUDE_DIR GTEST_MAIN_LIBRARY)
Could NOT find Miniupnpc (missing: MINIUPNPC_INCLUDEDIR)
Could NOT find MySQL (missing: MYSQL_LIBRARY MYSQL_INCLUDEDIR)
Could NOT find Ogg (missing: OGG_INCLUDEDIR)
Could NOT find Opus (missing: OPUS_INCLUDEDIR)
Could NOT find Opusfile (missing: OPUSFILE_LIBRARY OPUSFILE_INCLUDEDIR)
Could NOT find SDL2 (missing: SDL2_LIBRARY SDL2_INCLUDEDIR)
Could NOT find SQLite3 (missing: SQLite3_INCLUDEDIR SQLite3_LIBRARY)
Could NOT find DiscordSdk (missing: DISCORDSDK_LIBRARY DISCORDSDK_INCLUDEDIR)
Could NOT find Websockets (missing: WEBSOCKETS_LIBRARY WEBSOCKETS_INCLUDEDIR)
CMake Error at cmake/FindExceptionHandling.cmake:12 (message):
could not find exception handling paths
Call Stack (most recent call first):
CMakeLists.txt:574 (find_package)
Configuring incomplete, errors occurred!
Selecting Windows SDK version 10.0.19041.0 to target Windows 10.0.19045.
The C compiler identification is MSVC 19.29.30148.0
The CXX compiler identification is MSVC 19.29.30148.0
Detecting C compiler ABI info
Detecting C compiler ABI info - done
Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe - skipped
Detecting C compile features
Detecting C compile features - done
Detecting CXX compiler ABI info
Detecting CXX compiler ABI info - done
Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe - skipped
Detecting CXX compile features
Detecting CXX compile features - done
IPO is enabled
Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
Could NOT find Crypto (missing: CRYPTO_LIBRARY CRYPTO_INCLUDEDIR)
Could NOT find Curl (missing: CURL_LIBRARY CURL_INCLUDEDIR)
Could NOT find FFMPEG (missing: AVCODEC_LIBRARY AVFORMAT_LIBRARY AVUTIL_LIBRARY SWSCALE_LIBRARY SWRESAMPLE_LIBRARY AVCODEC_INCLUDEDIR AVFORMAT_INCLUDEDIR AVUTIL_INCLUDEDIR SWSCALE_INCLUDEDIR SWRESAMPLE_INCLUDEDIR)
Could NOT find Freetype (missing: FREETYPE_LIBRARY FREETYPE_INCLUDEDIR)
Could NOT find Git (missing: GIT_EXECUTABLE)
Could NOT find GTest (missing: GTEST_LIBRARY GTEST_INCLUDE_DIR GTEST_MAIN_LIBRARY)
Could NOT find Miniupnpc (missing: MINIUPNPC_INCLUDEDIR)
Could NOT find MySQL (missing: MYSQL_LIBRARY MYSQL_INCLUDEDIR)
Could NOT find Ogg (missing: OGG_INCLUDEDIR)
Could NOT find Opus (missing: OPUS_INCLUDEDIR)
Could NOT find Opusfile (missing: OPUSFILE_LIBRARY OPUSFILE_INCLUDEDIR)
Could NOT find SDL2 (missing: SDL2_LIBRARY SDL2_INCLUDEDIR)
Could NOT find SQLite3 (missing: SQLite3_INCLUDEDIR SQLite3_LIBRARY)
Could NOT find DiscordSdk (missing: DISCORDSDK_LIBRARY DISCORDSDK_INCLUDEDIR)
Could NOT find Websockets (missing: WEBSOCKETS_LIBRARY WEBSOCKETS_INCLUDEDIR)
CMake Error at cmake/FindExceptionHandling.cmake:12 (message):
could not find exception handling paths
Call Stack (most recent call first):
CMakeLists.txt:574 (find_package)
Configuring incomplete, errors occurred!
- deen
- Posts: 3579
- Joined: Mon May 05, 2014 2:30 pm
- Player profile: https://ddnet.org/players/deen/
- Discord: deen#5910
Re: compile ddnet code
Did you download ddnet-libs too? See https://github.com/ddnet/ddnet#cloning
It is required for building on Windows, except if you have exchndl.dll and the other drmingw libraries already installed.
Other than that, this guide might help you: https://github.com/ddnet/ddnet#building ... ual-studio
It is required for building on Windows, except if you have exchndl.dll and the other drmingw libraries already installed.
Other than that, this guide might help you: https://github.com/ddnet/ddnet#building ... ual-studio
-
- Posts: 29
- Joined: Wed Apr 12, 2023 10:29 am
- Player profile: https://ddnet.org/players/okonnayajaluzia/
- Discord: 4ipset#5194
Re: compile ddnet code
Selecting Windows SDK version 10.0.19041.0 to target Windows 10.0.19045.
The C compiler identification is MSVC 19.29.30148.0
The CXX compiler identification is MSVC 19.29.30148.0
Detecting C compiler ABI info
Detecting C compiler ABI info - done
Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe - skipped
Detecting C compile features
Detecting C compile features - done
Detecting CXX compiler ABI info
Detecting CXX compiler ABI info - done
Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe - skipped
Detecting CXX compile features
Detecting CXX compile features - done
Looking for __i386
Looking for __i386 - not found
Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
Found ZLIB: src/engine/external/zlib
Could NOT find Crypto (missing: CRYPTO_LIBRARY CRYPTO_INCLUDEDIR)
Found Curl: C:/Users/Andrey/Desktop/ddnet/ddnet-libs/curl/windows/lib64/curl.lib
Found FFMPEG: C:/Users/Andrey/Desktop/ddnet/ddnet-libs/ffmpeg/windows/lib64/avcodec.lib
Found Freetype: C:/Users/Andrey/Desktop/ddnet/ddnet-libs/freetype/windows/lib64/freetype.lib
Found Git: C:/Program Files/Git/cmd/git.exe (found version "2.40.1.windows.1")
Found GLEW: src/engine/external/glew
Could NOT find GTest (missing: GTEST_LIBRARY GTEST_INCLUDE_DIR GTEST_MAIN_LIBRARY)
Found Ogg: C:/Users/Andrey/Desktop/ddnet/ddnet-libs/opus/include
Found Opus: C:/Users/Andrey/Desktop/ddnet/ddnet-libs/opus/include/opus
Found Opusfile: C:/Users/Andrey/Desktop/ddnet/ddnet-libs/opus/windows/lib64/opusfile.lib
Found PNG: C:/Users/Andrey/Desktop/ddnet/ddnet-libs/png/windows/lib64/libpng16-16.lib
Found PythonInterp: C:/Users/Andrey/AppData/Local/Programs/Python/Python311/python.exe (found suitable version "3.11.3", minimum required is "3")
Found Rust: C:/Users/Andrey/.cargo/bin/rustc.exe
Found SDL2: C:/Users/Andrey/Desktop/ddnet/ddnet-libs/sdl/windows/lib64/SDL2.lib
Found SQLite3: C:/Users/Andrey/Desktop/ddnet/ddnet-libs/sqlite3/include
Performing Test CMAKE_HAVE_LIBC_PTHREAD
Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
Looking for pthread_create in pthreads
Looking for pthread_create in pthreads - not found
Looking for pthread_create in pthread
Looking for pthread_create in pthread - not found
Found Threads: TRUE
Found Wavpack: src/engine/external/wavpack
Building vulkan shaders
C:/Users/Andrey/Desktop/ddnet/data/shader/vulkan/quad.vert
Finished building vulkan shaders
******** DDNet ********
Target OS: windows AMD64
Compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe
Rust version: rustc 1.69.0 (84c898d65 2023-04-16)
Build type: Release
Dependencies:
* Curl not found (using bundled version)
* FFmpeg not found (using bundled version)
* Freetype not found (using bundled version)
* Git found
* Glew not found (using bundled version)
* GTest not found
* Ogg found
* OpenSSL Crypto not found
* Opus found
* Opusfile not found (using bundled version)
* PNG not found (using bundled version)
* PythonInterp found
* SDL2 not found (using bundled version)
* SQLite3 not found (using bundled version)
* Wavpack not found (using bundled version)
* Zlib not found (using bundled version)
* Vulkan not found (using bundled version)
Automatically downloading GTest to be able to run tests
-- Selecting Windows SDK version 10.0.19041.0 to target Windows 10.0.19045.
-- Configuring done (0.7s)
-- Generating done (0.0s)
-- Build files have been written to: C:/Users/Andrey/Desktop/ddnet/build/googletest-download
Microsoft (R) Build Engine ўҐабЁЁ 16.11.2+f32259642 ¤«п .NET Framework
(C) Љ®аЇ®а жЁп Њ ©Єа®б®дв (Microsoft Corporation). ‚ᥠЇа ў § йЁйҐл.
Checking Build System
Creating directories for 'googletest'
Building Custom Rule C:/Users/Andrey/Desktop/ddnet/build/googletest-download/CMakeLists.txt
Performing download step (git clone) for 'googletest'
Cloning into 'googletest-src'...
HEAD is now at 5c8ca58e Googletest export
Performing update step for 'googletest'
No patch step for 'googletest'
No configure step for 'googletest'
No build step for 'googletest'
No install step for 'googletest'
No test step for 'googletest'
Completed 'googletest'
Building Custom Rule C:/Users/Andrey/Desktop/ddnet/build/googletest-download/CMakeLists.txt
Found Python: C:/Users/Andrey/AppData/Local/Programs/Python/Python311/python.exe (found version "3.11.3") found components: Interpreter
Looking for WavpackOpenFileInputEx
Looking for WavpackOpenFileInputEx - not found
Looking for WavpackCloseFile
Looking for WavpackCloseFile - not found
Configuring done (23.3s)
The C compiler identification is MSVC 19.29.30148.0
The CXX compiler identification is MSVC 19.29.30148.0
Detecting C compiler ABI info
Detecting C compiler ABI info - done
Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe - skipped
Detecting C compile features
Detecting C compile features - done
Detecting CXX compiler ABI info
Detecting CXX compiler ABI info - done
Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe - skipped
Detecting CXX compile features
Detecting CXX compile features - done
Looking for __i386
Looking for __i386 - not found
Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
Found ZLIB: src/engine/external/zlib
Could NOT find Crypto (missing: CRYPTO_LIBRARY CRYPTO_INCLUDEDIR)
Found Curl: C:/Users/Andrey/Desktop/ddnet/ddnet-libs/curl/windows/lib64/curl.lib
Found FFMPEG: C:/Users/Andrey/Desktop/ddnet/ddnet-libs/ffmpeg/windows/lib64/avcodec.lib
Found Freetype: C:/Users/Andrey/Desktop/ddnet/ddnet-libs/freetype/windows/lib64/freetype.lib
Found Git: C:/Program Files/Git/cmd/git.exe (found version "2.40.1.windows.1")
Found GLEW: src/engine/external/glew
Could NOT find GTest (missing: GTEST_LIBRARY GTEST_INCLUDE_DIR GTEST_MAIN_LIBRARY)
Found Ogg: C:/Users/Andrey/Desktop/ddnet/ddnet-libs/opus/include
Found Opus: C:/Users/Andrey/Desktop/ddnet/ddnet-libs/opus/include/opus
Found Opusfile: C:/Users/Andrey/Desktop/ddnet/ddnet-libs/opus/windows/lib64/opusfile.lib
Found PNG: C:/Users/Andrey/Desktop/ddnet/ddnet-libs/png/windows/lib64/libpng16-16.lib
Found PythonInterp: C:/Users/Andrey/AppData/Local/Programs/Python/Python311/python.exe (found suitable version "3.11.3", minimum required is "3")
Found Rust: C:/Users/Andrey/.cargo/bin/rustc.exe
Found SDL2: C:/Users/Andrey/Desktop/ddnet/ddnet-libs/sdl/windows/lib64/SDL2.lib
Found SQLite3: C:/Users/Andrey/Desktop/ddnet/ddnet-libs/sqlite3/include
Performing Test CMAKE_HAVE_LIBC_PTHREAD
Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
Looking for pthread_create in pthreads
Looking for pthread_create in pthreads - not found
Looking for pthread_create in pthread
Looking for pthread_create in pthread - not found
Found Threads: TRUE
Found Wavpack: src/engine/external/wavpack
Building vulkan shaders
C:/Users/Andrey/Desktop/ddnet/data/shader/vulkan/quad.vert
Finished building vulkan shaders
******** DDNet ********
Target OS: windows AMD64
Compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe
Rust version: rustc 1.69.0 (84c898d65 2023-04-16)
Build type: Release
Dependencies:
* Curl not found (using bundled version)
* FFmpeg not found (using bundled version)
* Freetype not found (using bundled version)
* Git found
* Glew not found (using bundled version)
* GTest not found
* Ogg found
* OpenSSL Crypto not found
* Opus found
* Opusfile not found (using bundled version)
* PNG not found (using bundled version)
* PythonInterp found
* SDL2 not found (using bundled version)
* SQLite3 not found (using bundled version)
* Wavpack not found (using bundled version)
* Zlib not found (using bundled version)
* Vulkan not found (using bundled version)
Automatically downloading GTest to be able to run tests
-- Selecting Windows SDK version 10.0.19041.0 to target Windows 10.0.19045.
-- Configuring done (0.7s)
-- Generating done (0.0s)
-- Build files have been written to: C:/Users/Andrey/Desktop/ddnet/build/googletest-download
Microsoft (R) Build Engine ўҐабЁЁ 16.11.2+f32259642 ¤«п .NET Framework
(C) Љ®аЇ®а жЁп Њ ©Єа®б®дв (Microsoft Corporation). ‚ᥠЇа ў § йЁйҐл.
Checking Build System
Creating directories for 'googletest'
Building Custom Rule C:/Users/Andrey/Desktop/ddnet/build/googletest-download/CMakeLists.txt
Performing download step (git clone) for 'googletest'
Cloning into 'googletest-src'...
HEAD is now at 5c8ca58e Googletest export
Performing update step for 'googletest'
No patch step for 'googletest'
No configure step for 'googletest'
No build step for 'googletest'
No install step for 'googletest'
No test step for 'googletest'
Completed 'googletest'
Building Custom Rule C:/Users/Andrey/Desktop/ddnet/build/googletest-download/CMakeLists.txt
Found Python: C:/Users/Andrey/AppData/Local/Programs/Python/Python311/python.exe (found version "3.11.3") found components: Interpreter
Looking for WavpackOpenFileInputEx
Looking for WavpackOpenFileInputEx - not found
Looking for WavpackCloseFile
Looking for WavpackCloseFile - not found
Configuring done (23.3s)
- deen
- Posts: 3579
- Joined: Mon May 05, 2014 2:30 pm
- Player profile: https://ddnet.org/players/deen/
- Discord: deen#5910
Re: compile ddnet code
I'm not seeing an error, does it work now?
-
- Posts: 29
- Joined: Wed Apr 12, 2023 10:29 am
- Player profile: https://ddnet.org/players/okonnayajaluzia/
- Discord: 4ipset#5194
Re: compile ddnet code
Where's .sln file?
- deen
- Posts: 3579
- Joined: Mon May 05, 2014 2:30 pm
- Player profile: https://ddnet.org/players/deen/
- Discord: deen#5910
Re: compile ddnet code
I don't know what that is.
There is a larger tutorial here: https://forum.ddnet.org/viewtopic.php?f=16&t=5765
There is a larger tutorial here: https://forum.ddnet.org/viewtopic.php?f=16&t=5765
-
- Posts: 29
- Joined: Wed Apr 12, 2023 10:29 am
- Player profile: https://ddnet.org/players/okonnayajaluzia/
- Discord: 4ipset#5194
Re: compile ddnet code
yesssss i compile, thank you
Who is online
Users browsing this forum: No registered users and 1 guest