Hi Richard,

I did some research and managed to move past the suffix issue in the 
previous post to this thread, pls check the change to 
cmake/BuildWxWidgets.cmake to ensure it works on other builds/systems.

However after a couple of hours of trying I am now stuck at the final 
link stage.  Can you pls help me debug this on an Ubuntu system?

I have checked everything into fdmdv2-dev and codec2-dev, it's building 
cleanly on Linux.  Good news is I have the rx side of FreeDV 700 
working, we just need to get the Windows build running now.

Thanks,

David

cd /home/david/tmp/fdmdv2-dev/build_windows/src && /usr/bin/cmake -E 
cmake_link_script CMakeFiles/freedv.dir/link.txt --verbose=1
/usr/bin/cmake -E remove -f CMakeFiles/freedv.dir/objects.a
/usr/bin/i686-w64-mingw32-ar cr CMakeFiles/freedv.dir/objects.a 
@CMakeFiles/freedv.dir/objects1.rsp
/usr/bin/i686-w64-mingw32-g++   -Wall -mthreads -O3 -DNDEBUG 
-mwindows -Wl,--whole-archive CMakeFiles/freedv.dir/objects.a 
-Wl,--no-whole-archive  -o freedv.exe -Wl,--out-implib,libfreedv.dll.a 
-Wl,--major-image-version,0,--minor-image-version,0 
-L/home/david/tmp/fdmdv2-dev/build_windows/external/dist/lib 
../codec2-prefix/src/codec2-build/src/libcodec2.a 
../external/dist/lib/libportaudio.a 
../external/dist/lib/libportaudiocpp.a 
../external/dist/lib/libsamplerate.a ../external/dist/lib/libsox.a 
-lwinmm ../external/dist/lib/libsndfile.a 
-L/home/david/tmp/fdmdv2-dev/build_windows/external/dist/lib 
-Wl,--subsystem,windows -mwindows 
../external/dist/lib/libwx_mswu_aui-3.0.a 
../external/dist/lib/libwx_baseu_net-3.0.a 
../external/dist/lib/libwx_mswu_html-3.0.a 
../external/dist/lib/libwx_mswu_adv-3.0.a 
../external/dist/lib/libwx_mswu_core-3.0.a 
../external/dist/lib/libwx_baseu-3.0.a -lwxregexu-3.0 -lwxexpat-3.0 
-lwxtiff-3.0 -lwxjpeg-3.0 -lwxpng-3.0 -lwxzlib-3.0 -lrpcrt4 -loleaut32 
-lole32 -luuid -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 
-ladvapi32 -lwsock32 -lgdi32 ../external/dist/lib/libspeexdsp.a 
-lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 
-luuid -lcomdlg32 -ladvapi32
CMakeFiles/freedv.dir/objects.a(dlg_audiooptions.cpp.obj):dlg_audiooptions.cpp:(.text+0x5b1):
 
undefined reference to `Pa_Terminate'
CMakeFiles/freedv.dir/objects.a(dlg_audiooptions.cpp.obj):dlg_audiooptions.cpp:(.text+0x1006):
 
undefined reference to `Pa_Terminate'
CMakeFiles/freedv.dir/objects.a(dlg_audiooptions.cpp.obj):dlg_audiooptions.cpp:(.text+0x13

< snip - many more linker errors, e.g. to symbols in 
../external/dist/lib/libportaudio.a >



------------------------------------------------------------------------------
_______________________________________________
Freetel-codec2 mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freetel-codec2

Reply via email to