Windows Windows | Making your own application

By downloading this developer SDK you are agreeing to our non-commercial developer license agreement, if you'd like a commercial license please contact us at business@choosemuse.com

Download 6.0.1

Once you have explored the example solution and are ready to start developing your own application, follow these steps to set up your own project.

  1. Create a new Windows 10 Universal Project in Visual Studio.

    From the File Menu, create a new “Project”. Make sure to select a project that includes (Universal Windows).

  2. Copy the LibMuse headers to your project

    Go to the folder where you installed LibMuse for Windows and copy the “include” folder to the folder containing the .sln file for your new project.

  3. Copy the lib directory

    Go to the folder where you installed LibMuse for Windows and copy the “lib” folder to the folder containing the .sln file for your new project.

  4. Add the include files to the project include path

    • In Visual Studio, right-click on the project and select properties.
    • In the properties dialog, change the configuration drop down to all configurations.
    • Under C/C++ – General, select “Additional Include Directories” and from the drop down, select “Edit”.
    • Press “New Line” and enter “..\include” then press “OK”
    • Press “Apply” to save the changes.
    • Change the platform dropdown to “x64″.
    • Make the same modifications to “Additional Include Directories” for x64 platform.
    • Save the changes.

  5. Add the LibMuse library as a linker input for each configuration/platform combination.

    • In the properties dialog, change the configuration drop down to “Debug” and the platform drop down to “Win32″
    • Under Linker – Input, select “Additional Dependencies” and from the drop down, select “Edit”.
    • In the top text box add “..\lib\debug\Win32\libmuse-uwp.lib” then press “OK”
    • Press “Apply” to save the changes.
    • Change the configuration dropdown to “Release”.
    • Under Linker – Input, select “Additional Dependencies” and from the drop down, select “Edit”.
    • In the top text box add “..\lib\release\Win32\libmuse-uwp.lib” then press “OK”
    • Save the changes.
    • Repeat for both the Debug and Release configurations for the x64 platform, replacing Win32 with x64 in the library path.
    • Save and close the properties page.

  6. Enable the Bluetooth Capability for your application

    • Double click on Package.appxmanifest
    • Select “Capabilities”
    • Check “Bluetooth”
    • Save

  7. Add #include “muse.h” to include the api in all .h or .cpp files that require it.