-
Notifications
You must be signed in to change notification settings - Fork 179
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, selectrecursivecheckbox) - open
Geogramfolder - double click on
configure.batit should display a message that solution was generated If it is not the case, see Troubleshooting section below. - open
Build/Windows/Geogram.slnin VisualStudio - set
Releasemode (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,
cdto the directory where geogram is install and startconfigure.batfrom there, then you will be able to see error messages if any.