Updated Build Linux (markdown)

Charles J. Cliffe 2021-06-03 02:15:19 -04:00
parent c047eba1cf
commit 04f52a6ea2
1 changed files with 22 additions and 1 deletions

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