-
Notifications
You must be signed in to change notification settings - Fork 28
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
1.3.1 fails to configure with maeparser-1.2.1 #37
Comments
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 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 Please let me know if you have any more trouble! |
This aims at improving the way that the maeparser dependency is handled when building coordgen, and also makes it easier to include both in other projects. Also, it provides some documentation on how to build. I brought in the CMake module we wrote to allow using find_package() to find maeparser compiled libraries, and also added another module to download maeparser from github if the library cannot be found. Some details: The maeparser_DIR option now points to the install path, instead of the .cmake files, which was a bit obscure if you don't know how CMake works (this effectively changes the recommended solution from #37). If maeparser_DIR was specified (if it is not an empty string), maeparser's sources will NOT be used, and cmake will fail (since we expected to find a compiled library). If there is a copy of maeparser at the download location (inside a maeparser-{version} directory in coordgen's source dir), the download will be skipped, and the already present sources will be built. A specific branch/tag/commit may be specified to be downloaded. By default, the master branch will be used. Travis and Appveyor scripts have been updated, since we no longer need to build maeparser in advance.
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 |
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. |
FreeBSD 12
The text was updated successfully, but these errors were encountered: