@@ -41,6 +41,11 @@ structure, so the final LibPack contains several different types of installation
41
41
the top level of the LibPack
42
42
* ** [ Boost] ( https://boost.org ) ** -- this is split into its headers and libraries:
43
43
- Many Boost libraries are header-only, but FreeCAD does require several compiled libraries
44
+ - Create a file either in your home directory, or in the toplevel boost src directory, called user-config.jam and
45
+ in it specify the path and version of the Python interpreter installed above. For example:
46
+ ```
47
+ using python : 3.11 : "C:/path/to/libpack/bin" : "C:/path/to/libpack/bin/Include" : "C:/path/to/libpack/bin/libs" ;
48
+ ```
44
49
- Follow the Boost instructions for compiling: the easiest is to run `bootstrap` from a developer's command prompt
45
50
- Copy the libraries from *BOOST_ROOT\stage\lib* into *LIBPACK\lib*
46
51
- Copy the entire *BOOST_ROOT\boost* directory into *LIBPACK\include*
@@ -49,7 +54,7 @@ structure, so the final LibPack contains several different types of installation
49
54
- Set CMAKE_INSTALL_PATH to the top of the *LIBPACK*
50
55
- Add include directory to find the Boost include files by editing CXXFLAGS and adding "/I C:\path\to\libpack\include" to it
51
56
- Do not build the Tests or Documentation
52
- - In Visual Studio, run the ALL_BUILD and then INSTALL targets in Release mode.
57
+ - In Visual Studio, run the ALL_BUILD and then INSTALL targets in Release mode, and then again in Debug mode .
53
58
* **[Quarter](https://www.coin3d.org)** -- obtained by cloning and compiling https://github.com/coin3d/quarter
54
59
- Set Coin_DIR to *LIBPACK/lib/cmake/Coin-4.0.1* (or the current version, if it is not 4.0.1)
55
60
- Set Qt6_DIR to *LIBPACK/lib/cmake/Qt6*
@@ -157,6 +162,14 @@ structure, so the final LibPack contains several different types of installation
157
162
- Set ZLIB_INCLUDE_DIR and ZLIB_LIBRARY_RELEASE
158
163
- Set CMAKE_INSTALL_PREFIX to *LIBPACK*
159
164
- Configure and Generate, then open in Visual Studio, switch to Release, and build ALL_BUILD and INSTALL
165
+ * **[MEDFile](https://www.salome-platform.org)**
166
+ - Download the source package from http://files.salome-platform.org/Salome/other/med-4.1.1.tar.gz
167
+ - Activate MEDFILE_USE_UNICODE
168
+ - The current Medfile CMake scripts assert a dependence on HDF5 v1.10.x -- the error message claims to be
169
+ searching for HDF5 >= 1.10.2, but that is not what is actually implemented, requiring instead *exactly*
170
+ minor version 10. The difference between 1.10 and 1.14 from Medfile's perspective seems to be various calls
171
+ to file information functions, which now require an additional "fields" parameter. Adding `H5O_INFO_ALL` for
172
+ this parameter lets compilation succeed.
160
173
* **[GMSH](https://gmsh.info)**
161
174
- Download the desired version of the Gmsh source code
162
175
- Set the path to FreeType
@@ -179,3 +192,16 @@ structure, so the final LibPack contains several different types of installation
179
192
* **[Xerces-C](https://xerces.apache.org/xerces-c/)**
180
193
- Set ICU_INCLUDE_DIR to *LIBPACK/include/unicode*
181
194
- Set CMAKE_INSTALL_PREFIX to *LIBPACK*
195
+ - Configure and Generate, then open in Visual Studio, switch to Release, and build ALL_BUILD and INSTALL
196
+ - Switch to Debug and run ALL_BUILD and INSTALL again
197
+ * **[libfmt](https://github.com/fmtlib/fmt)**
198
+ - Clone https://github.com/fmtlib/fmt
199
+ - Check out the desired tag (e.g. `git checkout 10.0.0`)
200
+ - Set CMAKE_INSTALL_PREFIX to *LIBPACK*
201
+ - Turn off Test
202
+ - Configure and Generate, then open in Visual Studio, switch to Release, and build ALL_BUILD and INSTALL
203
+ * **[Eigen3](https://gitlab.com/libeigen/eigen)**
204
+ - Clone https://gitlab.com/libeigen/eigen
205
+ - Deactivate BUILD_TESTING and BUILD_DOC
206
+ - Set CMAKE_INSTALL_PREFIX to *LIBPACK*
207
+ - Configure and Generate, then open in Visual Studio, switch to Release, and build ALL_BUILD and INSTALL
0 commit comments