Hi Richard,

I managed to get a little further by commenting out that find package, 
however now it doesn't have the wxWidgets include files when it starts 
building FreeDV proper.

I've spent several hours on this and am a bit stuck. It's probably not 
the best use of my time. I'm trying to get FreeDV built for Windows so 
we can test the new FreeDV 700 mode.

Could you (or anyone who knows cmake on this list) pls help me get 
fdmdv2-dev building on an Ubuntu system for me?  I really need the local 
ability to build for Windows to move FreeDV fwd.

I've checked in the README.txt that documents the command lines I am 
using and the Toolchain-Ubuntu-mingw32.cmake file.

BTW freedv-dev may not build cleanly atm as I'm messing with various 
things, that's OK as long as we get the cross compiling working.

Thanks,

David

On 12/06/15 11:12, Richard Shaw wrote:
> I'm not sure what's going on here... I just tried it on my Fedora 21
> system and it worked fine.
>
> -- Looking for wxWidgets...
> -- wx-config: /home/build/mingw32/freedv/external/dist/bin/wx-config
> -- Found wxWidgets: TRUE
> -- wxWidgets version: 3.0.2
>
> What does your toolchain file look like? Mine has the following:
> $ cat /usr/share/mingw/toolchain-mingw32.cmake
> SET(CMAKE_SYSTEM_NAME Windows)
> SET(CMAKE_SYSTEM_PROCESSOR x86)
>
> # specify the cross compiler
> SET(CMAKE_C_COMPILER /usr/bin/i686-w64-mingw32-gcc)
> SET(CMAKE_CXX_COMPILER /usr/bin/i686-w64-mingw32-g++)
>
> # where is the target environment
> SET(CMAKE_FIND_ROOT_PATH /usr/i686-w64-mingw32/sys-root/mingw)
>
> # search for programs in the build host directories
> SET(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
> # for libraries and headers in the target directories
> SET(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
> SET(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
>
> # Make sure Qt can be detected by CMake
> SET(QT_BINARY_DIR /usr/i686-w64-mingw32/bin /usr/bin)
>
> # set the resource compiler (RHBZ #652435)
> SET(CMAKE_RC_COMPILER /usr/bin/i686-w64-mingw32-windres)
>
> # These are needed for compiling lapack (RHBZ #753906)
> SET(CMAKE_Fortran_COMPILER /usr/bin/i686-w64-mingw32-gfortran)
> SET(CMAKE_AR:FILEPATH /usr/bin/i686-w64-mingw32-ar)
> SET(CMAKE_RANLIB:FILEPATH /usr/bin/i686-w64-mingw32-ranlib)
>
> Richard
>
>
>
> ------------------------------------------------------------------------------
>
>
>
> _______________________________________________
> Freetel-codec2 mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/freetel-codec2
>

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

Reply via email to