How to download and compile DDNet on Windows
- hi_leute_gll
- Posts: 2525
- Joined: Mon Jul 21, 2014 1:15 am
- Player profile: http://ddnet.tw/players/hi-95-leute-95-gll/
- Mapper profile: http://ddnet.tw/mappers/hi-95-leute-95-gll/
- Clan: iMTG
Re: How to download and compile DDNet on Windows
For me, there isn't any option to choose, except "current document", too.heinrich5991 wrote: ↑Wed Oct 04, 2017 10:47 pm 24. Your screen should now look something like this. Click the arrow next to "Select Startup Item…".
EDIT: removing these 3 lines in .gitignore worked.
.hi._.leute._.gll. | iMTGmember
-
- Posts: 47
- Joined: Sat Sep 05, 2015 7:18 pm
Re: How to download and compile DDNet on Windows
I've now removed them from the official repository.
Re: How to download and compile DDNet on Windows
One year later.. heinrich5991, maybe you append your tutorial with optional mysql compiling part, because in Linux it's pretty easy and working without problem, but i try help my friend build it on windows and failed in this. First, in visual studio i find just one way to set flags -> CMakeSettings.json file. Second, that's can't automatically find mysql paths. But ok, i try make smth like:
(all "cmakeCommandArgs" represents one line, but I reformat it here for a readable view)
That's compiling but failed on startup on trying get function from mysqlcppconn-7-vs14.dll
(p.s. I place all libs in build folder, but doesn't help).
(p.s.s adding dll libs path in flag leads to a fail on cmake update)
Is there any maybe more elegant and working method for compiling with the mysql on windows?
Code: Select all
{
"configurations": [
{
"name": "x64-Debug",
"generator": "Ninja",
"configurationType": "Debug",
"inheritEnvironments": [
"msvc_x64_x64"
],
"buildRoot": "${env.USERPROFILE}\\CMakeBuilds\\${workspaceHash}\\build\\${name}",
"installRoot": "${env.USERPROFILE}\\CMakeBuilds\\${workspaceHash}\\install\\${name}",
"cmakeCommandArgs": "
-DMYSQL_CONFIG:STRING=\"C:/Program Files/MySQL/MySQL Server 8.0/bin\"
-DMYSQL_INCLUDEDIR:STRING=\"C:/Program Files/MySQL/MySQL Server 8.0/include\"
-DMYSQL_CPPCONN_INCLUDEDIR:STRING=\"C:/Program Files/MySQL/Connector C++ 8.0/include/jdbc\"
-DMYSQL_CPPCONN_LIBRARY:STRING=\"
C:/Program Files/MySQL/Connector C++ 8.0/lib64/vs14/mysqlcppconn-static.lib;
C:/Program Files/MySQL/Connector C++ 8.0/lib64/vs14/mysqlcppconn.lib;
C:/Program Files/MySQL/Connector C++ 8.0/lib64/vs14/mysqlcppconn8-static.lib;
C:/Program Files/MySQL/Connector C++ 8.0/lib64/vs14/mysqlcppconn8.lib;
C:/Program Files/MySQL/Connector C++ 8.0/lib64/vs14/libeay32.lib;
C:/Program Files/MySQL/Connector C++ 8.0/lib64/vs14/ssleay32.lib;
\"
-DMYSQL_LIBRARY:STRING=\"
C:/Program Files/MySQL/MySQL Server 8.0/lib/libmysql.lib;
C:/Program Files/MySQL/MySQL Server 8.0/lib/mysqlclient.lib;
\"
-DMYSQL=ON",
"buildCommandArgs": "-v",
"ctestCommandArgs": ""
}
]
}
That's compiling but failed on startup on trying get function from mysqlcppconn-7-vs14.dll
(p.s. I place all libs in build folder, but doesn't help).
(p.s.s adding dll libs path in flag leads to a fail on cmake update)
Is there any maybe more elegant and working method for compiling with the mysql on windows?
Who is online
Users browsing this forum: No registered users and 1 guest