Hello Jacob,

So I am using an Ubuntu 16.04 machine, and following the instructions in freedv-dev/README.txt "Building for Windows on Ubuntu Linux (Cross compiling)". I didn't apply the patch in step 1, think that is no longer needed with the latest Ubuntu/cmake.

Executing Step 4 of README.txt "Build wxWidgets":

david@penetrator:~/freedv-dev$ svn up
Updating '.':
At revision 3381.
david@penetrator:~/freedv-dev$ mkdir build_windows
david@penetrator:~/freedv-dev$ cd build_windows/
david@penetrator:~/freedv-dev/build_windows$ cmake -DBOOTSTRAP_WXWIDGETS=TRUE .. -DCMAKE_TOOLCHAIN_FILE=cmake/Toolchain-Ubuntu-mingw32.cmake -DCMAKE_BUILD_TYPE=Debug
-- The C compiler identification is GNU 5.3.1
-- The CXX compiler identification is GNU 5.3.1

<snip>

david@penetrator:~/freedv-dev/build_windows$ make
Scanning dependencies of target wxWidgets
[ 12%] Creating directories for 'wxWidgets'
[ 25%] Performing download step (download, verify and extract) for 'wxWidgets'
-- downloading...

src='http://downloads.sourceforge.net/wxwindows/wxWidgets-3.0.2.tar.bz2'

dst='/home/david/freedv-dev/build_windows/wxWidgets-prefix/src/wxWidgets-3.0.2.tar.bz2'

<snip>

[ 37%] No patch step for 'wxWidgets'
[ 50%] No update step for 'wxWidgets'
[ 62%] Performing configure step for 'wxWidgets'
checking build system type... i686-w64-mingw32

<snip>

(after 15 minutes on my machine wxWidgets build finishes OK)

I also repeated the above on another Ubuntu 16.04 machine, but with freedv-1.2.2 rather than freedv-dev. Same results - wxWidgets builds OK.

Hope this helps,

- David

On 18/11/17 05:11, Jacob Falzon wrote:
Sorry if this thread/subject is tedious but I could really use the help.

Followed the instructions on the README.txt for the cross-compiling to windows to the letter but I am running into a error I can't get past:

-- Looking for wxWidgets...
-- wx-config: /home/jak/freedv-dev/freedv-1.2.2/build_windows/external/dist/bin/wx-config CMake Error at /usr/share/cmake-3.5/Modules/FindwxWidgets.cmake:858 (message):
   wxWidgets wx/version.h file not found in
/home/jak/freedv-dev/freedv-1.2.2/build_windows/external/dist/lib/wx/include/i686-w64-mingw32-msw-unicode-static-3.0;/home/jak/freedv-dev/freedv-1.2.2/build_windows/external/dist/include/wx-3.0.
Call Stack (most recent call first):
   CMakeLists.txt:351 (find_package)

It can't find the header but it is there! It is stopping at : CMakeLists.txt:351 (find_package)

find_package(wxWidgets REQUIRED core base aui html net adv)

The above line works great for the linux build but for the windows it isn't.

Thanks up front for anyone willing to help.

On Thu, Nov 16, 2017 at 4:17 PM, Jacob Falzon <jacobfalzon2...@gmail.com <mailto:jacobfalzon2...@gmail.com>> wrote:

    Hi,

    thanks for replying.

    Those are the steps I am following but still I'm getting errors.

    At this point I'm downloading libraries like portaudio, sox and
    samplerate. I'm building them and then specifying their paths in
    CmakeCache.

    What I'm unsure of is if I have to build the libraries of sox,
    portaudio etc. for linux or or windows.

    Thanks for all help as always.

    On Thu, Nov 16, 2017 at 3:52 PM, Steve <coupaydevi...@gmail.com
    <mailto:coupaydevi...@gmail.com>> wrote:

        Follow these steps as a minimum:

        
https://sourceforge.net/p/freetel/code/HEAD/tree/freedv-dev/README.txt#l83
        
<https://sourceforge.net/p/freetel/code/HEAD/tree/freedv-dev/README.txt#l83>

        
------------------------------------------------------------------------------
        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