-
Notifications
You must be signed in to change notification settings - Fork 108
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
Linking against boost fails #55
Comments
Hello, We haven't tested Ginan with GCC13, we will have a look at it. Could you please provide more information on the operating system you are using? Thanks, |
I also had problems with Boost 1.78. I built Boost with 1.73 and compiled it with that and it worked! (Rocky Linux 8.5) |
Hello could you provide more information on how both boost libraries were installed so we can try to reproduce the issue? Thanks |
In my case (Rocky Linux 8) I had problems with the default boost version
1.78. The CMake could find it but during the make process it failed because
it had no link to e.g. libboost_timer.a. I checked RL8 folder structure and
there was no such file, but there was a libboost_timer.so.1.78.0 file. I
checked the CMakeCache.txt and all vthe boost links had the same issue. By
building libboost (1.73) this issue was resolved. I haven't checked it with
a newer version.
Kind regards
Sebastien ***@***.***> schrieb am Sa., 4. Nov. 2023, 00:16:
… Hello
could you provide more information on how both boost libraries were
installed so we can try to reproduce the issue?
Thanks
—
Reply to this email directly, view it on GitHub
<#55 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AD4YASTJKSFZYYVENR32SKDYCV3N7AVCNFSM6AAAAAA6YGQQKOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOJTGIZTANJZGE>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
From what you are saying, one of the issues is that GINAN is looking for static libraries (*.a). This is in the CMakelist.txt (line 174 ). You can try to comment on this line. |
It works now. One thing.. At least in Rocky Linux 8 i can compile it with boost 1.73 and 1.74. It fails with 1.76. One more issue is resolved with Pullrequest #58 (static_pointer_cast was not found). |
I just pulled the latest commit from develop-weekly branch. The pull request #58 would fix import issue on algebraTrace.cpp. |
After building to 100 % (gcc 13.2, boost 1.83) the linking fails due to undefined references:
Are there special requirements regarding C++ mode or maximum Boost version?
OS: ArchLinux
The text was updated successfully, but these errors were encountered: