Closed dmitryelj closed 6 years ago
I did apply the same changes to ODR-DabMod as I did to ODR-DabMux. Can you also check next
?
Hi. I have now errors in .configure:
checking for clock_gettime in -lrt... no configure: error: library rt is missing
The same for AudioEnc, btw.
ODR-DabMod still uses clock_gettime
which doesn't exist on OSX. I'm currently doing a rewrite of the SDR output code, and I will replace this by std::chrono
which is portable. I'm afraid this will take some more time. However, this function is only used in the UHD output: you can remove the line containing clock_gettime
from the configure.ac
file, run the bootstrap, and configure without enabling UHD, and it should hopefully compile (unless the boost linking issue is still present...)
I was going to test it exactly with UHD :) So, I'll wait for the next version.
Thanks for help.
Does it compile with the line removed and configure --disable-output-uhd
as suggested in my previous message?
If you have SoapySDR installed, you can still drive an SDR device using the soapy
output. SoapySDR support is detected at ./configure
time.
No, I am getting the error with librt yet:
checking for clock_gettime in -lrt... no configure: error: library rt is missing
You need to remove the check, and bootstrap again.
I removed the check, now getting the error during make:
src/Buffer.cpp:33:10: fatal error: 'malloc.h' file not found
2017-12-11 14:19 GMT+01:00 Matthias P. Braendli notifications@github.com:
You need to remove the check, and bootstrap again.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Opendigitalradio/ODR-DabMod/issues/15#issuecomment-350721973, or mute the thread https://github.com/notifications/unsubscribe-auth/ARhtSIf5kS3JuvhkKCyIZN1Sst-gAU_Jks5s_Sv5gaJpZM4Q62St .
ODR-DabMod uses memalign
in several places, which is deprecated and apparently not existing in malloc.h
on OSX. I think I should replace that by posix_memalign
. Let me try this.
Can you try again? You should also not need to remove the librt
check anymore.
Malloc error gone, now I am getting this:
src/Buffer.cpp:90:74: error: no member named 'to_string' in namespace 'std'
throw std::runtime_error("memory allocation failed: " +
std::to_string(ret));
2017-12-11 15:13 GMT+01:00 Matthias P. Braendli notifications@github.com:
Can you try again? You should also not need to remove the librt check anymore.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Opendigitalradio/ODR-DabMod/issues/15#issuecomment-350735426, or mute the thread https://github.com/notifications/unsubscribe-auth/ARhtSG2kQhbFP60iWFccrFYh562JdfROks5s_TiWgaJpZM4Q62St .
I've added missing <string>
includes in all the files that use to_string()
, it should work now. Does it still fail?
Hi,
I'm getting next error now:
src/Utils.cpp:30:10: fatal error: 'sys/prctl.h' file not found
Dmitrii
2017-12-15 7:17 GMT+01:00 Matthias P. Braendli notifications@github.com:
I've added missing
includes in all the files that use to_string(), it should work now. Does it still fail? — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Opendigitalradio/ODR-DabMod/issues/15#issuecomment-351923584, or mute the thread https://github.com/notifications/unsubscribe-auth/ARhtSBnrWqRK8n7GGGMBdtF_dT0Cco9kks5tAg7hgaJpZM4Q62St .
Seems to compile now! https://travis-ci.org/Opendigitalradio/ODR-DabMod/jobs/317962746
True, it compiles now, cool. (but only with --disable-output-uhd option)
Dmitrii
2017-12-18 9:28 GMT+01:00 Matthias P. Braendli notifications@github.com:
Seems to compile now! https://travis-ci.org/Opendigitalradio/ODR-DabMod/ jobs/317962746
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Opendigitalradio/ODR-DabMod/issues/15#issuecomment-352357258, or mute the thread https://github.com/notifications/unsubscribe-auth/ARhtSHuImn_2fWVhino3-eojIVVXLVx3ks5tBiIYgaJpZM4Q62St .
Yes, I'll have to add support for UHD later. I'll close this for now.
Hi all,
I'm trying to build the stuff:
./bootstrap.sh - ok ./configure: checking for SOAPYSDR... no checking for main in -luhd... yes checking for boostlib >= 1.54.0... yes checking for main in -lboost_system... yes checking for main in -lboost_thread... no configure: error: library boost_thread is missing
Boost is installed. Probably boost_thread check should be changed to boost_thread-mt?