I am trying to build fritzing project in Qt. I have followed the steps described in this blog - https://github.com/fritzing/fritzing-app/wiki/1.-Building-Fritzing.
I built libgit2 with Visual Studio compiler using the following commands & the libraries are compiled under libgit2/build64
…\fritzing\libgit2\build64>cmake -G “Visual Studio 14 2015 Win64” …
…\fritzing\libgit2\build64>cmake --build .
Now, when I am trying to run the project in Qt, getting the following error:
03:09:45: Running steps for project phoenix…
03:09:45: Starting: “C:\Qt\Qt5.7.0\5.7\msvc2015_64\bin\qmake.exe” C:\Users\aksmahaj\Documents\MyLab\fritzing\fritzing-app\phoenix.pro -r -spec win32-msvc2015 “CONFIG+=debug” “CONFIG+=qml_debug”
Project MESSAGE: target arch: x86_64
Project MESSAGE: found libgit2 include path at C:/Users/aksmahaj/Documents/MyLab/fritzing/fritzing-app/…/libgit2/include
Project ERROR: libgit2 library not found in …/libgit2/build64
03:09:46: The process “C:\Qt\Qt5.7.0\5.7\msvc2015_64\bin\qmake.exe” exited with code 3.
Error while building/deploying project phoenix (kit: Desktop Qt 5.7.0 MSVC2015_64bit)
When executing step “qmake”
03:09:46: Elapsed time: 00:00.`
It is able to locate libgit2 include path but not able to find libgit2 library. I believe that my setup is correct & the library is generated in git2.dir.
Please help me fix this issue. Any pointers will be appreciated.
I have attached screenshot of my build64 directory for reference.