OwlSim with Visual C++ 2012

Home Forums OWL OwlSim OwlSim with Visual C++ 2012

This topic contains 6 replies, has 5 voices, and was last updated by  martind 4 years, 5 months ago.

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #470

    Seb
    Participant

    Anyone managed to get OwlSim built in VC++ 2012?

    #471

    Seb
    Participant

    Just got it all working and hope this helps others.

    My working directory is “C:\VS2012” and the below guide reflect this.

    =============== Prerequisites ===============
    Download and install Microsoft Visual Studio 2012.
    Register, Download and extract the VST Audio Plug-Ins SDK Version 2.4 to “C:\VS2012\vstsdk2.4”
    http://www.steinberg.net/en/company/developer.html

    Download and install the GIT GUI tools
    http://msysgit.github.io/

    =============== Get the source ===============
    Open git bash shell and $ cd to /c/VS2012
    run “git clone git://github.com/pingdynasty/OwlSim.git”

    At this stage you will have OwlSim source cloned to “C:\VS2012\OwlSim”

    =============== Building ===============
    Launch Visual Studio
    File -> Open -> Project/Solution
    C:\VS2012\OwlSim\Builds\VisualStudio2012\OwlSim.sln
    NOTE: If you try to build now you will get the following error
    1>c:\vs2012\owlsim\modules\juce_audio_plugin_client\vst\juce_vst_wrapper.cpp(83): fatal error C1083: Cannot open include file: ‘public.sdk/source/vst2.x/audioeffectx.h’: No such file or directory
    This is because Visual Studio has no idea where the VST-SDK header files are located. We need to add these to the “VC++ Directories”

    To fix this within your solution explorer select the OwlSim solution and access it’s properties via the right click menu.
    Configuration Properties -> VC++ Directories -> Include Directories
    Edit this and add the directory “C:\VS2012\vstsdk2.4”

    You should now have a successful build

    1>—— Build started: Project: OwlSim, Configuration: Debug Win32 ——
    1> juce_VST_Wrapper.cpp
    1> juce_RTAS_DigiCode1.cpp
    1> juce_RTAS_DigiCode2.cpp
    1> juce_RTAS_DigiCode3.cpp
    1> juce_RTAS_WinUtilities.cpp
    1> juce_RTAS_Wrapper.cpp
    1> Creating library .\Debug\OwlSim.lib and object .\Debug\OwlSim.exp
    1> OwlSim.vcxproj -> C:\VS2012\OwlSim\Builds\VisualStudio2012\.\Debug\OwlSim.dll
    ========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========

    =============== Testing ===============
    To test the OwlSim.dll VST I’m using Audacity along with the VST Bridge plugin.
    http://audacity.sourceforge.net/download/windows
    http://web.audacityteam.org/vst/

    Copy OwlSim.dll from “C:\VS2012\OwlSim\Builds\VisualStudio2012\Debug” to “C:\Program Files (x86)\Audacity\Plug-Ins”
    Open Audacity and load an audio file
    In the Effects menu you can now use RebelTech: OwlSim

    • This reply was modified 4 years, 6 months ago by  Seb.
    #479

    musjuh
    Participant

    Awesome, I would really like a similar guide for Xcode on Mac OS.

    #752

    Beppe
    Participant

    Hello,
    looks good, only one question:
    does this work also with Visual C++ 2010 express?
    Please note that I decided for this, to have C++ only – seems to me that to have 2012 you need to install all the smash – C#, sql, VB, … and I don’t really need that.
    Anyway, in case I can move to 2012 with no big problems.

    Thank you for the help.

    Beppe

    #753

    Martin Klang
    Keymaster

    I’ve built it with 2010 Express – that’s how I made the Windows binaries.
    If you put the VST here:
    C:\SDKs\vstsdk2.4
    then the build should find them without having to add an Include directory – it’s the Juce default location.
    Great write-up, thanks Seb.

    #754

    Beppe
    Participant

    That’s good news. Thank you!

    #755

    martind
    Participant

    Awesome, I would really like a similar guide for Xcode on Mac OS.

    Here are my notes. It’s taken me a few attempts and I made changes after, so I’m not sure if this is indeed the final sequence of steps; let me know if it works!

    (I like to use AU Lab to then test plugins, it’s a basic multi-channel mixer that comes with the Xcode dev tools.)

    —-

    OwlSim OSX build, with Xcode 4.6.3

    Start as described at http://rawmaterialsoftware.com/viewtopic.php?f=8&t=9546&p=56679#p56677

    • download CoreAudio libs, place in /Library/Developer/Extras/CoreAudio
    • make symlink: sudo ln -s /Library/Developer/Extras /Applications/Xcode.app/Contents/Developer/

    load OwlSim project in Xcode.

    (TODO: check: ensure the build target links against these frameworks: AudioToolbox, AudioUnit, CoreAudio)

    in AppConfig.h: enable AU, disable VST

    in CACFData.h and AUCarbonViewBase.cpp:
    fix compiler errors by explicitly adding casts

    • This reply was modified 4 years, 5 months ago by  martind.
    • This reply was modified 4 years, 5 months ago by  martind.
    • This reply was modified 4 years, 5 months ago by  martind.
Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.


Latest News

Links

Follow us on Twitter