diff --git a/Build-Linux.md b/Build-Linux.md index 84e3ad7..dcfa2ae 100644 --- a/Build-Linux.md +++ b/Build-Linux.md @@ -50,7 +50,7 @@ liquid-dsp$ sudo make install liquid-dsp$ sudo ldconfig ``` -### Build static wxWidgets: +### Build static latest wxWidgets (3.1.5): _Note: replace '~/Develop/wxWidgets-staticlib' with your own path if you prefer, remember it to be used later when building CubicSDR._ @@ -71,6 +71,27 @@ wxWidgets-3.1.5$ make -j4 && make install [ building and installed to ~/Develop/wxWidgets-staticlib in this example ] ``` +### Build static wxWidgets (3.1.3): If experiencing OpenGL segfaults with 3.1.4 and 3.1.5 + +_Note: replace '~/Develop/wxWidgets-staticlib' with your own path if you prefer, remember it to be used later when building CubicSDR._ + +```bash +$ wget https://github.com/wxWidgets/wxWidgets/releases/download/v3.1.3/wxWidgets-3.1.3.tar.bz2 +[ downloading.. ] +$ tar -xvjf wxWidgets-3.1.3.tar.bz2 +[ unpacking.. ] +$ cd wxWidgets-3.1.3/ +wxWidgets-3.1.3$ mkdir -p ~/Develop/wxWidgets-staticlib +wxWidgets-3.1.3$ ./autogen.sh +wxWidgets-3.1.3$ ./configure --prefix=`echo ~/Develop/wxWidgets-staticlib` --with-opengl --disable-shared --enable-monolithic --with-libjpeg --with-libtiff --with-libpng --with-zlib --disable-sdltest --enable-unicode --enable-display --enable-propgrid --disable-webview --disable-webviewwebkit CXXFLAGS="-std=c++0x" + +[ configuring.. ] + +wxWidgets-3.1.3$ make -j4 && make install + +[ building and installed to ~/Develop/wxWidgets-staticlib in this example ] +``` + ### Build CubicSDR *Notes:* - Add ``` -DUSE_HAMLIB=1 ``` to cmake command line to include hamlib support.