Thanks Richard,

I have made some progress, and built wxWidgets OK.  However stuck at 
this step:

~/tmp/fdmdv2-dev/build_windows$ cmake -DBOOTSTRAP_WXWIDGETS=TRUE 
~/tmp/fdmdv2-dev 
-DCMAKE_TOOLCHAIN_FILE=cmake/Toolchain-Ubuntu-mingw32.cmake 
-DUSE_STATIC_SAMPLERATE=true -DUSE_STATIC_SNDFILE=TRUE

-- Hamlib library found.
-- Will attempt static build of samplerate.
-- Will attempt static build of sox.
-- Will attempt static build of sndfile.
-- Looking for wxWidgets...
-- wx-config: 
/home/david/tmp/fdmdv2-dev/build_windows/external/dist/bin/wx-config
CMake Error at 
/usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:108 
(message):
   Could NOT find wxWidgets (missing: wxWidgets_FOUND)
Call Stack (most recent call first):
   /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:315 
(_FPHSA_FAILURE_MESSAGE)
   /usr/share/cmake-2.8/Modules/FindwxWidgets.cmake:832 
(FIND_PACKAGE_HANDLE_STANDARD_ARGS)
   CMakeLists.txt:395 (find_package)


Thanks,

David

On 12/06/15 05:06, Richard Shaw wrote:
> On Thu, Jun 11, 2015 at 2:20 PM, David Rowe <[email protected]
> <mailto:[email protected]>> wrote:
>
>     Hi Richard,
>
>     Can you pls tell me how to cross compile FreeDV on a Linux machine for
>     Win32 using cmake?  Is it just a compiler flag in cmake?
>
>
> That's part of it. I actually use the MinGW environment provided by
> Fedora and I hope you can find something equivalent in your distribution
> as it makes things MUCH easier.
>
> I use a command "mingw{32,64}-cmake" which sets up the correct toolchain
> file. After that, "make" works as usual. For projects that use
> autotools, there's a special mingw-configure which does something similar.
>
> Thanks,
> 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