-
Notifications
You must be signed in to change notification settings - Fork 142
compiling_Windows
Bruno Levy edited this page Jul 27, 2023
·
5 revisions
- git here use 64-bit Git for Windows Setup.
- Tortoise git here optionnal, adds context menus to file browser, convenient
- CMake here use cmake-xxxx-windows-x86_64.msi IMPORTANT: select "Add CMake to system path for all users"
- Visual C++ here use community version
- git clone --recurse-submodules
https://github.com/BrunoLevy/geogram.git
(if you installed Tortoise git, right click in current folder, git clone, enter repository address, selectrecursive
checkbox) - open
Geogram
folder - double click on
configure.bat
it should display a message that solution was generated If it is not the case, see Troubleshooting section below. - open
Build/Windows/Geogram.sln
in VisualStudio - set
Release
mode (default isDebug
) - build solution
This will compile the geogram library as well as demo programs. Demo
programs are generated in the Build\Release\bin
subdirectory.
To get latest version of submodules, in a terminal
(or using git shell here
if you installed Tortoise git):
git submodule update --recursive --remote
To compile additional exploragram library:
clone "https://github.com/BrunoLevy/exploragram.git" in geogram/src/lib/
, then reconfigure and make
- if nothing happens when you click on
configure.bat
, it may be because CMake was not added to the path. - To figure out what happens, open a shell,
cd
to the directory where geogram is install and startconfigure.bat
from there, then you will be able to see error messages if any.