coordgenlibs
coordgenlibs copied to clipboard
1.3.1 fails to configure with maeparser-1.2.1
-- Found Boost: /usr/local/include (found version "1.71.0") found components: iostreams regex
CMake Error at CMakeLists.txt:25 (find_package):
By not providing "Findmaeparser.cmake" in CMAKE_MODULE_PATH this project
has asked CMake to find a package configuration file provided by
"maeparser", but CMake did not find one.
Could not find a package configuration file provided by "maeparser" with
any of the following names:
maeparserConfig.cmake
maeparser-config.cmake
Add the installation prefix of "maeparser" to CMAKE_PREFIX_PATH or set
"maeparser_DIR" to a directory containing one of the above files. If
"maeparser" provides a separate development package or SDK, be sure it has
been installed.
FreeBSD 12
Thanks for the report, @yurivict
Hi, @yurivict.
To build coordgenlibs, first you need to build and install maeparser (you can specify the install path adding the flag -DCMAKE_INSTALL_PREFIX=[install path]
to the cmake
command).
Once that is done, you have to tell CMake where maeparsers ".cmake" files were installed by passing the right path to CMake using the "maeparser_DIR" flag, i.e., adding -Dmaeparser_DIR=[install path]/lib/cmake
to your cmake
command.
Please let me know if you have any more trouble!
Please note that the behavior I mentioned in my previous comment has been changed in #41.
Please check the README for updated build instructions and notes.
Normally this shouldn't be needed because {prefix}/lib/cmake
is a standard location.
Normally this shouldn't be needed because
{prefix}/lib/cmake
is a standard location.
Yes, that is true, but only in case maeparser and coordgen use the same prefix path. In case they are installed into different, non standard prefix paths, coordgen needs to be told where to find maeparser's cmake file.
They are installed into the same prefix.