Hi David and developers, Thanks David for the instructions below.
When one does new build, re-running "build_linux.sh" can the script called to build WxWidgets, determine it is built already and not download and compile it again? In file cmake/BuildWxWidgets.cmake line 27 add something like: find_file(WX_BUILT NAMES wx-config PATHS external/dist NO_DEFAULT_PATH) if(NOT WX_BUILT) ExternalProject_Add(wxWidgets <snip> ) endif() --- Alan VK2ZIW On Sun, 9 Aug 2020 21:29:51 +0930, David Rowe wrote > I used: > > cmake -DCMAKE_BUILD_TYPE=Debug > -DCODEC2_BUILD_DIR=~/codec2/build_linux - > DLPCNET_BUILD_DIR=~/LPCNet/build_linux -DBOOTSTRAP_WXWIDGETS=1 .. > > On 9/8/20 6:01 pm, Al Beard wrote: > > Hi David, > > > > Q/ How did you test, on Linux, wxWidgets 3.1 ? > > > > System here: Odroid N2 kernel 5.6.18-meson64 > > DISTRIB_DESCRIPTION="Ubuntu 20.04.1 LTS" > > NAME="Ubuntu" > > VERSION="20.04.1 LTS (Focal Fossa)" > > > > With the OS supplied wxWidgets 3.0 the FreeDV GUI compiles and runs fine. > > With a slight change to CMakeLists.txt to specify wx-config and wxrc nogo. > > > > if(NOT BOOTSTRAP_WXWIDGETS) > > set(WXCONFIG "wx-config-3.1" CACHE FILEPATH "Location of wx-config > > binary.") > > set(WXRC "wxrc-3.1" CACHE FILEPATH "Location of wxrc binary.") > > endif(NOT BOOTSTRAP_WXWIDGETS) > > > > And, both wx-config-3.1 and wxrc-3.1 are in my path this is the "cmake" > > output: > > -- Looking for wxWidgets... > > -- wx-config: wx-config-3.1 > > -- wxrc: wxrc-3.1 > > CMake Error at /usr/share/cmake- > > 3.16/Modules/FindPackageHandleStandardArgs.cmake:146 (message): > > Could NOT find wxWidgets (missing: wxWidgets_LIBRARIES > > wxWidgets_INCLUDE_DIRS) > > Call Stack (most recent call first): > > /usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:393 > > (_FPHSA_FAILURE_MESSAGE) > > /usr/share/cmake-3.16/Modules/FindwxWidgets.cmake:1008 > > (find_package_handle_standard_args) > > CMakeLists.txt:401 (find_package) > > > > ==== OK then, turn on the cmake diagnostics ==== > > > > cmake --log-level=TRACE -DCMAKE_BUILD_TYPE=Debug > > -DCODEC2_BUILD_DIR=$CODEC2DIR/build_linux > > -DLPCNET_BUILD_DIR=$LPCNETDIR/build_linux .. > > > > But, this produces nothing in build_linux/CMakeFiles/CMakeError.log or > > build_linux/CMakeFiles/CMakeOutput.log > > > > So, with nothing to help in diagnosis, I'm puzzled. > > > > Executing "wx-config-3.0 --cflags" shows the same output > > as "wx-config-3.1 --cflags" save for paths being different. > > > > So, I am now doing the BOOTSTRAP install of WxWidgets 3.1.4 (actually > > from file://~/src/wxWidgets-3.1.4.tar.bz2) > > > > OK, off to tea... > > > > Alan VK2ZIW > > > > > > On Sun, 9 Aug 2020 10:26:02 +0930, David Rowe wrote > >> I've popped some 1.4.3 windows builds up with the wxWidgets 3.1 changes: > >> > >> http://rowetel.com/downloads/freedv/ > >> > >> Release notes at the bottom of: > >> > >> https://github.com/drowe67/freedv- > > gui/blob/4602ebb2a76d729d525ce04eba41940d8a987441/USER_MANUAL.md > >> > >> - David > >> > >> On 7/8/20 6:23 am, David Rowe wrote: > >> > Mooneer has done some fine work in making freedv-gui build and run with > >> > wxWidgets 3.1: > >> > > >> > https://github.com/drowe67/freedv-gui/pull/68 > >> > > >> > If you have some experience with building freedv-gui for Linux and > >> > Windows (using the freedv-gui/docker system), it would be great to have > >> > some help testing this PR across various operating systems and > > wxWidgets > >> > versions. If you would like to help, pls see the Test Plan table at > > the > >> > top of the PR. > >> > > >> > Thanks, > >> > David > >> > > >> > >> _______________________________________________ > >> Freetel-codec2 mailing list > >> [email protected] > >> https://lists.sourceforge.net/lists/listinfo/freetel-codec2 > > > > > > --------------------------------------------------- > > Alan VK2ZIW > > > > OpenWebMail 2.53, nothing in the cloud. > > > > > > _______________________________________________ > > 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 --------------------------------------------------- Alan VK2ZIW OpenWebMail 2.53, nothing in the cloud. _______________________________________________ Freetel-codec2 mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/freetel-codec2
