libgit2-0.23.4 बनाने के दौरान मैं इस मुद्दे में भाग गया। मेरे लिए समस्या यह थी कि सी ++ कंपाइलर & संबंधित पैकेज वीएस2015 के साथ स्थापित नहीं किए गए थे, इसलिए "सी: \ प्रोग्राम फ़ाइलें (x86) \ माइक्रोसॉफ्ट विजुअल स्टूडियो 14.0 \ वीसी \ vcvarsall.bat" फ़ाइल गायब थी और सीमेक सक्षम नहीं था कंपाइलर खोजने के लिए।
मैं मैन्युअल रूप से विजुअल स्टूडियो 2015 जीयूआई में एक सी ++ परियोजना बनाने की कोशिश की (C: \ Program Files (x86) \ माइक्रोसॉफ्ट विजुअल स्टूडियो 14.0 \ Common7 \ IDE \ devenv.exe) और परियोजना बनाने के दौरान, मैं C++ & संबंधित संकुल डाउनलोड करने के लिए एक संकेत मिला।
आवश्यक पैकेज डाउनलोड करने के बाद, मैं vcvarsall देख सकता था।बल्ले & CMake संकलक & निम्नलिखित लॉग के साथ सफलतापूर्वक क्रियान्वित ढूँढने में सक्षम था:
C:\Users\aksmahaj\Documents\MyLab\fritzing\libgit2\build64>cmake ..
-- Building for: Visual Studio 14 2015
-- The C compiler identification is MSVC 19.0.24210.0
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual
Studio 14.0/VC/bin/cl.exe
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual
Studio 14.0/VC/bin/cl.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
-- Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR)
-- zlib was not found; using bundled 3rd-party sources.
-- LIBSSH2 not found. Set CMAKE_PREFIX_PATH if it is installed outside of
the default search path.
-- Looking for futimens
-- Looking for futimens - not found
-- Looking for qsort_r
-- Looking for qsort_r - not found
-- Looking for qsort_s
-- Looking for qsort_s - found
-- Looking for clock_gettime in rt
-- Looking for clock_gettime in rt - not found
-- Found PythonInterp: C:/csvn/Python25/python.exe (found version "2.7.1")
-- Configuring done
-- Generating done
-- Build files have been written to:
C:/Users/aksmahaj/Documents/MyLab/fritzing/libgit2/build64
आप विजुअल स्टूडियो के लिए या तो अपने कंपाइलर के साथ या gcc के साथ मेकफ़ाइल के लिए प्रोजेक्ट कॉन्फ़िगर कर सकते हैं। आपने किस विधि की कोशिश की है? – Tsyvarev
आप जिस सेमेक कमांड में प्रवेश कर रहे हैं वह क्या है? – bames53
क्या आप नवीनतम सीएमके का उपयोग कर रहे हैं? आपने किस जनरेटर का उपयोग किया था? क्या आपने विजुअल स्टूडियो 2015 कमांड प्रॉम्प्ट से कमांड चलाए हैं (इसलिए इसमें कंपाइलर पर्यावरण चर सेट हैं)? – drescherjm