You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I installed the library via ubuntu packages and it seems the header files need to be included in the compilation: g++ code.cpp -I/home/muthu/Documents/work/kickback/libspatialaudio/include -I/home/muthu/Documents/work/kickback/libspatialaudio/include/hrtf -I/home/muthu/Documents/work/kickback/libspatialaudio/source/kiss_fft -lspatialaudio
While some of the functions of the object could be linked some could not be. The error is like this: /usr/bin/ld: /tmp/ccQTjiik.o: in function main': code.cpp:(.text+0x115): undefined reference to CAmbisonicEncoder::SetPosition(PolarPoint, float)'
/usr/bin/ld: code.cpp:(.text+0x182): undefined reference to `CAmbisonicDecoder::Configure(unsigned int, bool, unsigned int, int, unsigned int)'
May I know how it can be resolved?
collect2: error: ld returned 1 exit status
The text was updated successfully, but these errors were encountered:
I installed the library via ubuntu packages and it seems the header files need to be included in the compilation:
g++ code.cpp -I/home/muthu/Documents/work/kickback/libspatialaudio/include -I/home/muthu/Documents/work/kickback/libspatialaudio/include/hrtf -I/home/muthu/Documents/work/kickback/libspatialaudio/source/kiss_fft -lspatialaudio
While some of the functions of the object could be linked some could not be. The error is like this:
/usr/bin/ld: /tmp/ccQTjiik.o: in function
main': code.cpp:(.text+0x115): undefined reference to
CAmbisonicEncoder::SetPosition(PolarPoint, float)'/usr/bin/ld: code.cpp:(.text+0x182): undefined reference to `CAmbisonicDecoder::Configure(unsigned int, bool, unsigned int, int, unsigned int)'
May I know how it can be resolved?
collect2: error: ld returned 1 exit status
The text was updated successfully, but these errors were encountered: