Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fail compile #500

Closed
piotrb3d opened this issue Nov 4, 2019 · 1 comment
Closed

Fail compile #500

piotrb3d opened this issue Nov 4, 2019 · 1 comment
Labels

Comments

@piotrb3d
Copy link

piotrb3d commented Nov 4, 2019

System information

SolveSpace version: 3.0
Operating system: Windows 7

Everything exactly as directed for building for Windows

file: Toolchain-mingw64.cmake

set(CMAKE_SYSTEM_NAME Windows)

set(CMAKE_C_COMPILER "C:/mingw-w64/x86_64-8.1.0-win32-seh-rt_v6-rev0/mingw64/bin/x86_64-w64-mingw32-gcc.exe")
set(CMAKE_CXX_COMPILER "C:/mingw-w64/x86_64-8.1.0-win32-seh-rt_v6-rev0/mingw64/bin/x86_64-w64-mingw32-g++.exe")
set(CMAKE_RC_COMPILER "C:/mingw-w64/x86_64-8.1.0-win32-seh-rt_v6-rev0/mingw64/bin/windres.exe")

set(CMAKE_FIND_ROOT_PATH "c:/users/piotr/solvespace")

set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)

set(ENV{PKG_CONFIG_LIBDIR} "c:/users/piotr/solvespace/extlib")

in window console cmake 3.16.0 rc1:
.....
Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
.....
CMake Warning at CMakeLists.txt:251 (message):
Gettext not found, translations will not be updated
....
Benchmarking disabled in debug builds.
Configuring done
Generating done

No compiling to solvespace.exe

What am I doing wrong ?
Thank you for the hint

@whitequark
Copy link
Contributor

You are following the instructions for cross-compilation from Linux to Windows. You need to follow the instructions for a native Windows build.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants