Created Build MSVC (markdown)

Charles J. Cliffe 2015-01-28 00:47:48 -05:00
parent 169007fe40
commit 035ef83d56

42
Build-MSVC.md Normal file

@ -0,0 +1,42 @@
Windows 8.1, Visual Studio 64-bit: *1st draft* -- comments and improvements welcome.
# Install Visual Studio Express 2013
If you don't alreadu have Visual Studio you can install the Microsoft "Visual Studio Express 2013 for Windows Desktop" available from http://www.visualstudio.com/en-us/products/visual-studio-express-vs.aspx which was used for this guide.
Make sure you get "Visual Studio Express 2013 for Windows Desktop" specifically as there are several versions on that page.
# Build wxWidgets
- Download wxWidgets 3.0.2 from https://www.wxwidgets.org/downloads/ and unzip it to somewhere such as C:\Dev\wxWidgets-3.0.2\
- Navigate to C:\Dev\wxWidgets-3.0.2\build\msw\ (or wherever you extracted) and open wx_vc12.sln
- Choose "Release" and "x64" the build configuration and "Build Solution"
- All should be compiled now, can close project.
# Install CMake:
Download CMake from:
http://www.cmake.org/download/
For this guide I've used:
http://www.cmake.org/files/v3.1/cmake-3.1.1-win32-x86.exe
Just install CMake with default or preferred options.
# Build CubicSDR:
- Clone or download zip from https://github.com/cjcliffe/CubicSDR/ to a folder of your choice. I'll use C:\Dev\CubicSDR
- Run CMake GUI
- Choose C:\Dev\CubicSDR for source.
- Choose C:\Dev\CubicSDR\cmake_build (or any output folder of your choice)
- Click Configure.
- Choose "Visual Studio 12 2013 Win64" and Finish.
- Note that both DirectSound and WASAPI are supported but WASAPI is enabled by default until some minor issues with DirectSound are resolved (YMMV).
- Set wxWidgets_ROOT_DIR to "C:\Dev\wxWidgets-3.0.2".
- Configure again, all should be good, then Generate.
- Navigate to your output folder (i.e. C:\Dev\CubicSDR\cmake_build\) in explorer and open CubicSDR.sln.
- Once open select "Release" and "x64" build configuration and then run "Build Solution" (F7)
- CubicSDR.exe should now be in the output folder (i.e. C:\Dev\CubicSDR\cmake_build\x64\) and ready to run.