Strange, because there is a configure script shipped with wxWidgets. Are you on FAT or NTFS perhaps? Might be losing the executable flag. Try adding CONFIGURE_COMMAND bash configure to ExternalProject_Add

/Tomas

On 2017-11-15 13:23, Jacob Falzon wrote:
Hi,

thanks for replying.

I am trying to cross compile the code from 64-bit Ubuntu VM to an actual Windows target host.

I installed mingw-64 fine.

Hi. That workaround with MD5 hash worked. MD5 was different from the archive i downloaded but it worked.

Now I've hit this lovely error:

[ 25%] No patch step for 'wxWidgets'
[ 37%] No update step for 'wxWidgets'
[ 50%] Performing configure step for 'wxWidgets'
/bin/sh: 1: ./configure: not found
CMakeFiles/wxWidgets.dir/build.make:108: recipe for target 'wxWidgets-prefix/src/wxWidgets-stamp/wxWidgets-configure' failed make[2]: *** [wxWidgets-prefix/src/wxWidgets-stamp/wxWidgets-configure] Error 127 CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/wxWidgets.dir/all' failed
make[1]: *** [CMakeFiles/wxWidgets.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2


Thanks for the help. Appreciate it.




On Wed, Nov 15, 2017 at 12:58 PM, Tomas Härdin <tjop...@acc.umu.se <mailto:tjop...@acc.umu.se>> wrote:

    Hi

    What's you setup? Are you using mingw-w64?

    Looks like cmake/BuildWxWidgets.cmake needs URL_MD5
    ba4cd1f3853d0cd49134c5ae028ad080 in ExternalProject_Add to prevent
    it from downloading more than once. Sourceforge being slow seems
    to bork your build

    /Tomas


    On 2017-11-15 12:47, Jacob Falzon wrote:

        Hi there,

        I have been trying to cross compile FreeDV source to windows.

        I get stuck at this point:


        root2@root1-VirtualBox:~/FreeDV_DEV/freedv-1.2_edit2/build_windows$
        make
        [ 12%] Performing download step (download, verify and extract)
        for 'wxWidgets'
        -- File already exists but no hash specified (use URL_HASH):
        
file='/home/root2/FreeDV_DEV/freedv-1.2_edit2/build_windows/wxWidgets-prefix/src/wxWidgets-3.0.2.tar.bz2'
        Old file will be removed and new file downloaded from URL.
        -- Downloading...
         
dst='/home/root2/FreeDV_DEV/freedv-1.2_edit2/build_windows/wxWidgets-prefix/src/wxWidgets-3.0.2.tar.bz2'
           timeout='none'
        -- Using
        src='http://downloads.sourceforge.net/wxwindows/wxWidgets-3.0.2.tar.bz2
        <http://downloads.sourceforge.net/wxwindows/wxWidgets-3.0.2.tar.bz2>'
        -- [download 0% complete]
        -- Retrying...
        -- Using
        src='http://downloads.sourceforge.net/wxwindows/wxWidgets-3.0.2.tar.bz2
        <http://downloads.sourceforge.net/wxwindows/wxWidgets-3.0.2.tar.bz2>'
        -- [download 0% complete]
        -- Retry after 5 seconds (attempt #2) ...
        ....

        I have been following the README.txt in the freedv package and
        I think I have executed all teh instructions correctly except
        perhaps for patching cmake. I am not sure how to that exactly.

        Appreciate any help on this. Thank you to all.



    
------------------------------------------------------------------------------
    Check out the vibrant tech community on one of the world's most
    engaging tech sites, Slashdot.org! http://sdm.link/slashdot
    _______________________________________________
    Freetel-codec2 mailing list
    Freetel-codec2@lists.sourceforge.net
    <mailto:Freetel-codec2@lists.sourceforge.net>
    https://lists.sourceforge.net/lists/listinfo/freetel-codec2
    <https://lists.sourceforge.net/lists/listinfo/freetel-codec2>




------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot


_______________________________________________
Freetel-codec2 mailing list
Freetel-codec2@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freetel-codec2

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Freetel-codec2 mailing list
Freetel-codec2@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freetel-codec2

Reply via email to