Hi again,

not sure if this is progress but now I'm getting:

root2@root1-VirtualBox:~/FreeDV_DEV/freedv-1.2_edit2/build_windows$ make
[ 12%] Performing configure step for 'wxWidgets'
CMake Error: The source directory
"/home/root2/FreeDV_DEV/freedv-1.2_edit2/build_windows/wxWidgets-prefix/src/wxWidgets"
does not appear to contain CMakeLists.txt.

But after inserting Cmakelists.txt at the root directory of FreeDV I'm
getting:

root2@root1-VirtualBox:~/FreeDV_DEV/freedv-1.2_edit2/build_windows$ make
[ 12%] Performing configure step for 'wxWidgets'
CMake Error at CMakeLists.txt:19 (message):
  In-source builds in

/home/root2/FreeDV_DEV/freedv-1.2_edit2/build_windows/wxWidgets-prefix/src/wxWidgets
  are not allowed, please remove ./CMakeCache.txt and ./CMakeFiles/, create
a
  separate build directory and run cmake from there.

Thanks in advance for any help.




On Wed, Nov 15, 2017 at 2:52 PM, Jacob Falzon <jacobfalzon2...@gmail.com>
wrote:

> If you mean filesystem on the VM it's saying ext3/ext4.
>
> Tried adding the command but still having problems.
>
> root2@root1-VirtualBox:~/FreeDV_DEV/freedv-1.2_edit2/build_windows$ make
> -- FreeDV version: 1.2.2
> -- Adding wxWidgets build target...
> -- wxWidgets install dir: /home/root2/FreeDV_DEV/freedv-
> 1.2_edit2/build_windows/external/dist
> -- Will perform bootstrap build of wxWidgets.
>    After make step completes, re-run cmake and make again to perform
> FreeDV build.
> -- Configuring done
> -- Generating done
> -- Build files have been written to: /home/root2/FreeDV_DEV/freedv-
> 1.2_edit2/build_windows
> [ 12%] Performing configure step for 'wxWidgets'
> bash: configure: No such file or directory
> 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
>
> Seems as if it can't find the ./configure file.
>
> Trying to manually install the wxwidgets in that directory. See where that
> goes...
>
>
>
> On Wed, Nov 15, 2017 at 2:30 PM, Tomas Härdin <tjop...@acc.umu.se> wrote:
>
>> 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>
>> 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'
>>>> -- [download 0% complete]
>>>> -- Retrying...
>>>> -- Using src='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
>>> 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 
>> listFreetel-codec2@lists.sourceforge.nethttps://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