Skip to content
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

Problem with compiling against boost-1.83.0-2 #26

Open
servimo opened this issue Oct 19, 2023 · 4 comments
Open

Problem with compiling against boost-1.83.0-2 #26

servimo opened this issue Oct 19, 2023 · 4 comments

Comments

@servimo
Copy link

servimo commented Oct 19, 2023

Compiling using boost and boost-libs 1.83.0-2 in Manjaro: "checking whether the Boost::Timer library is available... no".
"undefined reference to `boost::timer::cpu_timer::..."

@jackocleebrown
Copy link
Collaborator

Hi, looks like the same error reported previously due to missing dependency. Have a look at this: #23 (comment)

@servimo
Copy link
Author

servimo commented Oct 19, 2023

Yes, I think it is, the problem is that boost-libs maybe is changed and dsf2flac is not. Is deprecated.
*I am in Manjaro, that problem is solved for Ubuntu.

@servimo servimo changed the title Problem with compiling against boost1.83.0-2 Problem with compiling against boost-1.83.0-2 Oct 19, 2023
@servimo
Copy link
Author

servimo commented Oct 22, 2023

By adding "#define BOOST_TIMER_ENABLE_DEPRECATED" to /usr/include/boost/timer.hpp after line 18 "#define BOOST_TIMER_HPP" is possible to compile "dsf2flac" but this wil only be possible till boost-libs version 1.84.0 arrive.

@jackocleebrown
Copy link
Collaborator

I found a version of ax_boost_timer.m4 that seems to solve this issue. Would you be willing to test and confirm. Updated version is here: https://github.com/jackocleebrown/dsf2flac

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants