-
Notifications
You must be signed in to change notification settings - Fork 14
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
Error while building from source #2
Comments
The original author of swig-wrapper is unfortunately no longer with us. So, I doubt there is anyone out to help you with your issue. I can only state that everything worked as intended when I last tried this stuff back in 2015. |
From my experiments, I can say this: swig-wrapper 01af0d8 builds on debian:buster and unimrcp 1.7.0 I have a Dockerfile here that confirms it: https://github.com/MayamaTakeshi/unimrcp_experiments/blob/main/Dockerfile However, I tried today to update to 1.8.0 just by changing this in the Dockerfile:
and now build of swig-wrapper fails with:
Anyway, I think if you stay with unimrcp 1.7.0, you should be able to use swig-wrapper. |
Most of the output are warnings and could be ignored. Filtering the output for errors we have these:
The first 2 error lines are easy to solve: now mpf_dtmf_generator_create_ex() requires the duration of the dtmf frame. However I am not sure how to correct the 'format' error. However checking the code for the function calls, they seem to not be used for anything:
So I thought maybe the implementation is incomplete and maybe it is usable as before if we just pass NULL as the format parameter. I tried this and build was successful.
So I think there were further changes in unimrcp core and the swig-wrapper needs more work. |
Sorry, my mistake. I changed the UniSynth.py and UniRecog.py files to use profile uni1 (RTSP) instead of uni2 (MRCPv2) by mistake. |
I am getting below error while building swig wrappers
CMakeFiles/UniRecog_Cpp.dir/Cpp/UniRecog.cpp.o: In function
UniMRCPLogger::UniMRCPLogger()': UniRecog.cpp:(.text._ZN13UniMRCPLoggerC2Ev[_ZN13UniMRCPLoggerC5Ev]+0xf): undefined reference to
vtable for UniMRCPLogger'CMakeFiles/UniRecog_Cpp.dir/Cpp/UniRecog.cpp.o: In function
UniMRCPClientResourceChannel<(UniMRCPResource)1>::CreateMessage(UniMRCPRecognizerMethod, bool)': UniRecog.cpp:(.text._ZN28UniMRCPClientResourceChannelIL15UniMRCPResource1EE13CreateMessageE23UniMRCPRecognizerMethodb[UniMRCPClientResourceChannel<(UniMRCPResource)1>::CreateMessage(UniMRCPRecognizerMethod, bool)]+0x66): undefined reference to
UniMRCPResourceMessage<(UniMRCPResource)1>::UniMRCPResourceMessage(mrcp_session_t*, mrcp_channel_t*, mrcp_message_t*, bool)'CMakeFiles/UniRecog_Cpp.dir/Cpp/UniRecog.cpp.o:(.rodata._ZTI28UniMRCPClientResourceChannelIL15UniMRCPResource1EE[typeinfo for UniMRCPClientResourceChannel<(UniMRCPResource)1>]+0x10): undefined reference to
typeinfo for UniMRCPClientChannel' CMakeFiles/UniRecog_Cpp.dir/Cpp/UniRecog.cpp.o:(.rodata._ZTI19UniRecogTermination[typeinfo for UniRecogTermination]+0x10): undefined reference to
typeinfo for UniMRCPAudioTermination'CMakeFiles/UniRecog_Cpp.dir/Cpp/UniRecog.cpp.o:(.rodata._ZTI15UniRecogSession[typeinfo for UniRecogSession]+0x10): undefined reference to
typeinfo for UniMRCPClientSession' CMakeFiles/UniRecog_Cpp.dir/Cpp/UniRecog.cpp.o:(.rodata._ZTI14UniRecogLogger[typeinfo for UniRecogLogger]+0x10): undefined reference to
typeinfo for UniMRCPLogger'CMakeFiles/UniRecog_Cpp.dir/Cpp/UniRecog.cpp.o: In function
UniMRCPClientResourceChannel<(UniMRCPResource)1>::OnMsgReceive(mrcp_message_t*)': UniRecog.cpp:(.text._ZN28UniMRCPClientResourceChannelIL15UniMRCPResource1EE12OnMsgReceiveEP14mrcp_message_t[UniMRCPClientResourceChannel<(UniMRCPResource)1>::OnMsgReceive(mrcp_message_t*)]+0x5c): undefined reference to
UniMRCPResourceMessage<(UniMRCPResource)1>::UniMRCPResourceMessage(mrcp_session_t*, mrcp_channel_t*, mrcp_message_t*, bool)'collect2: ld returned 1 exit status
make[2]: *** [Cpp/UniRecog_Cpp] Error 1
make[2]: Leaving directory
/home/divyanshu/swig-wrapper' make[1]: *** [CMakeFiles/UniRecog_Cpp.dir/all] Error 2 make[1]: Leaving directory
/home/divyanshu/swig-wrapper'Please help.
Also I have attached CMakeCache.txt for your reference.
CMakeCache.txt
My Environment:
Red Hat Enterprise Linux Server release 6.2
I am using unimrcp-1.4.0 and unimrcp-deps-1.4.0 packages from official webpage.
If you need any more info then kindly let me know.
The text was updated successfully, but these errors were encountered: