Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: progof on June 06, 2018, 05:39:27 PM



Title: Error while compiling wallet for Windows
Post by: progof on June 06, 2018, 05:39:27 PM
Hello,

I compile a coin purse on the basis of Cryptonote and at compilation an error occurred, on linux the wallet was compiled without problems. Can someone know how to fix this error?

-- Building for: Visual Studio 12 2013
-- The C compiler identification is MSVC 18.0.40629.0
-- The CXX compiler identification is MSVC 18.0.40629.0
-- Check for working C compiler: D:/dev/VC/bin/cl.exe
-- Check for working C compiler: D:/dev/VC/bin/cl.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: D:/dev/VC/bin/cl.exe
-- Check for working CXX compiler: D:/dev/VC/bin/cl.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
fatal: not a git repository (or any of the parent directories): .git
CMake Error at CMakeLists.txt:21 (find_package):
  By not providing "FindQt5Gui.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "Qt5Gui", but
  CMake did not find one.

  Could not find a package configuration file provided by "Qt5Gui" with any
  of the following names:

    Qt5GuiConfig.cmake
    qt5gui-config.cmake

  Add the installation prefix of "Qt5Gui" to CMAKE_PREFIX_PATH or set
  "Qt5Gui_DIR" to a directory containing one of the above files.  If "Qt5Gui"
  provides a separate development package or SDK, be sure it has been
  installed.


-- Configuring incomplete, errors occurred!
See also "D:/wallet/build/CMakeFiles/CMakeOutput.log".

D:\wallet\build>


Title: Re: Error while compiling wallet for Windows
Post by: saywhat on June 07, 2018, 02:00:04 PM
  Add the installation prefix of "Qt5Gui" to CMAKE_PREFIX_PATH or set
  "Qt5Gui_DIR" to a directory containing one of the above files.  If "Qt5Gui"
  provides a separate development package or SDK, be sure it has been
  installed.


>[/sup]


I think here is your answer within debug/error message