svn2git
svn2git copied to clipboard
Build on Windows?
It may be just my ignorance, but even after installing the whole QT (which takes longer than Visual Studio!) I still cannot build it on my Windows machine. Anyone who publishes Windows build instructions and/or makes it more user friendly will have my blessing!
Hey there,
I ran into the same situation like you and was confronted with missing information how to build svn2git on windows. However I found a solution on stackoverflow.
Basically you should install cygwin. The last step of the setup is the place where you can add the packages/dependencies you want to have installed.
I installed the following cygwin-packages:
- gcc-g++ (v7.4.0-1)
- libQt5Core-devel (v5.9.4-2)
- libapr1 (v1.6.5-1)
- libapr1-devel (v1.6.5-1)
- make (v4.2.1-2)
- subversion (v1.11.1-1)
- subversion-devel (v1.11.1-1)
With this setup I cloned the svn2git repo in cygwin and could simply run qmake-qt5 && make to build the project.
With this setup I cloned the svn2git repo in cygwin and could simply run
qmake-qt5 && maketo build the project.
I have had installed Visual Studio 2015, but not the cygwin. I downloaded the latest cygwin setup executable and installed the packages above.
And have hitted another issue:
Project ERROR: msvc-version.conf loaded but QMAKE_MSC_VER isn't set
I don't know why, but one of these commands have just fixed it:
qmake-qt5 "QMAKE_MSC_VER = 1900"
qmake-qt5 -r "QMAKE_MSC_VER = 1900"
After that i couldn't repro the issue. So this case might be helpful for any other with the same issue.