Updated Build Win64 MSVC (markdown)

Charles J. Cliffe 2015-11-09 20:40:04 -05:00
parent 03e9ac9d43
commit 740e4d11c7
2 changed files with 39 additions and 42 deletions

@ -1,42 +0,0 @@
Windows 8.1, Visual Studio 64-bit: *1st draft* -- comments and improvements welcome.
# Install Visual Studio Express 2013
If you don't already 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.

39
Build-Windows.md Normal file

@ -0,0 +1,39 @@
Windows 8.1/10, Visual Studio 64-bit: -- improvements welcome.
# Install Visual Studio Community 2015
If you don't already have Visual Studio 2015 you can install the free Microsoft "Visual Studio Community 2015" version available from https://www.visualstudio.com/en-us/downloads/download-visual-studio-vs.aspx which was used for this guide.
# Build wxWidgets
- Download wxWidgets 3.0.2 from https://www.wxwidgets.org/downloads/ and unzip it to somewhere such as C:\MSVCDev\wxWidgets-3.0.2\
- Navigate to C:\MSVCDev\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, you can close project.
# Install CMake:
Download CMake from:
http://www.cmake.org/download/
For this guide I've used:
https://cmake.org/files/v3.4/cmake-3.4.0-rc3-win32-x86.exe
Just install CMake with default or preferred options.
# Build CubicSDR: (incomplete, WIP)
- Clone or download zip from https://github.com/cjcliffe/CubicSDR/ to a folder of your choice. I'll use C:\MSVCDev\CubicSDR
- Run CMake GUI
- Choose C:\MSVCDev\CubicSDR for source.
- Choose C:\MSVCDev\CubicSDR\cmake_build (or any output folder of your choice)
- Click Configure.
- Choose "Visual Studio 14 2015 Win64" and Finish.
- Note that both DirectSound and WASAPI are supported but DirectSound is enabled by default.
- Set wxWidgets_ROOT_DIR to "C:\MSVCDev\wxWidgets-3.0.2".
- Configure again, all should be good, then Generate.
- Navigate to your output folder (i.e. C:\MSVCDev\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:\MSVCDev\CubicSDR\cmake_build\x64\) and ready to run.