dl5di / OpenDV

Open Digital Voice software for Amateur Radio based on Jonathan Naylor's (G4KLX) "ircDDBGateway" and "PCRepeaterController" for D-Star
GNU General Public License v2.0
106 stars 63 forks source link

DStarRepeater VS2015 upgrade #53

Closed F4FXL closed 8 years ago

F4FXL commented 8 years ago

Hi,

There is still work left as the release configuration is not done. Just want to merge to avoid to complicated merges later on.

73 Geoffrey F4FXL

F4FXL commented 8 years ago

I also wfrote a quick howto for VS2015 compiling :+1:

How to compile DstarRepeater under VS2015 (streamlined) I suppose you are little familiar with Visual Studio.

wxWidgets: Download wxWidgets from here http://wxwidgets.org/downloads/ Make modifications mentionned here to make wxWidgets compile with wx Install and compile as per instructions : http://svn.wxwidgets.org/viewvc/wx/wxWidgets/trunk/docs/msw/install.txt?view=markup IMPORTANT : Set the WXWIN environnment variable to your wxWidgets path (e.g. C:\wxWidgets-3.0.2)

PortAudio : Get latest stable portaudio from here http://portaudio.com/download.html Unpack to OpenDv\Portaudio

Open the solution file. Locate the following lines in portaudio.def and remove them PaAsio_GetAvailableLatencyValues @50 PaAsio_ShowControlPanel @51 PaAsio_GetInputChannelName @53 PaAsio_GetOutputChannelName @54

In Solution Explorer Under source files Host APi folder and delete the complete ASIO folder.

Build the solution in in release or debug, as you need.

HID : It is supposed to exist a file HID.h in OpenDV\HID. I could not locatte it and after some googleing I finally installed Windows Driver Kit from https://msdn.microsoft.com/en-us/windows/hardware/dn913721.aspx It seems the infamous HID.h file has been superseeded by hidsdi.h ... To make code backward compatible I added preprocessor directives.

WinUSB Download latest stable libusb-win32 from here : http://sourceforge.net/p/libusb-win32/news/2012/01/libusb-win32-1260-released/ For sake of simplicity I used the already compiled version (bin)

Now you should be able to compile ....

SpudGunMan commented 8 years ago

I will stick this into the wiki and try and test it out

F4FXL commented 8 years ago

Thank you :+1: