Replies: 16 comments 82 replies
-
A massive thanks for the detailed explanation. Or in Dutch: Enorm bedankt voor de uitgebreide uitleg. This seems to be a good starting point. Thanks again for this explanation I might give it another try to compile CTRLR. See if it's possible to update the Lua bind to some Juce classes. Goodweather might get his chance to update the mouse-over descriptions for the properties and so on. |
Beta Was this translation helpful? Give feedback.
-
You write that you have no Windows DAW to test the plugins. You can freely use Reaper, there is just a nag screen when you don't want to pay the humble amount for the full version. Reaper handles it all - vst2.3, vst3, x86, x64... |
Beta Was this translation helpful? Give feedback.
-
I succeeded finally in building CTRLR v5.6.23 'Standalone' running without crashing and with full MIDI in/out. Also the VST3 build succeeded, but I did not yet test it. Part of this success has probably to do with reinstalling VS 2019 and choosing, when asked, as workloads 'Universal Windows Platform development' and 'Desktop development with C++', the latter being the obvious choice. Also I finally found out that VMWare Fusion which I use to run Win 10 virtual on my Mac does not support MIDI, at least not out-of-the-box, so to speak. That was the reason I did see MIDI activity, but no responses from the target midi instrument (in my case the Kurzweil K2500R). When running the executable on my Dell laptop with Win 7 using a simple USB MIDI interface connected to the K2500R it did load and run OK a loaded panel with all the needed MIDI communication. Next step is to make an installer, because when Visual Studio is not installed on the PC the CTRLR.exe complains about not finding MSVCP140.dll which is, as I learned, a C++ library of the sorts. I did download Null Install System v3.03 (free), because I noticed Roman Kubiak did use that software to generate an installer for Windows. So hopefully I manage to include the needed .dll when making the installer with the Null software. I will keep you posted. I will also update the guide to reflect my latest findings. BTW I also succeeded in building CTRLR v5.6.23 'Standalone' for Mac, and the AU, VST3 and AUv3 plugins. The VST did not build, maybe because Steinberg deprecated it or maybe it is a license matter. I seem to recall a discussion about this on the old forum. Anyway if someone is interested I can also make a compiler guide for Mac users, because the road to successful compilation on my Mac with Xcode was also paved with many curses ;-), so not an easy task to complete without help. Lastly, I have adapted the title and the body text of the first message of this thread to reflect to latest progress on this building/compiling business. |
Beta Was this translation helpful? Give feedback.
-
I'm happy to try, especially on windows, and can try VST3. |
Beta Was this translation helpful? Give feedback.
-
I have just uploaded version 2 of the guide (see the first post of this thread) with significant changes because of new insights ('voortschrijdend inzicht' ;-)). So please throw the initial version into the bin and download this version! |
Beta Was this translation helpful? Give feedback.
-
Good stuff. I got this working a while back but what stopped me from publishing was the fact that the Jucer seemed to require and absolute path rather than a .. I wonder if we could agree that Windows builds go in say c:\Ctrlr Anyhow neat write up. |
Beta Was this translation helpful? Give feedback.
-
Windows Binaries available here https://godlike.com.au/index.php?id=361 I'll keep this page updated and continue to develop. |
Beta Was this translation helpful? Give feedback.
-
OSX Binaries are now uploaded, as well as @bijlevel's compilation guide. |
Beta Was this translation helpful? Give feedback.
-
A new version (Release rather than debug) version of the OSX binaries are up, as well as another guide by @bijlevel on how to compile under OSX Mojave. |
Beta Was this translation helpful? Give feedback.
-
The changes I made to get my Jupiter Panel to run in 3.4.201 seems to make them also work with the VST and VST3 in 3.6.26 on Windows (albeit the replaceWithText needs the "\n" added in the latter version) |
Beta Was this translation helpful? Give feedback.
-
Hi guys, so here is my insight about compiling for macOs. Ideally I need the exact same mac vst as in the official 5.3.198 which is bulletproof. My only problem with this version is that the header space of the .vst is not compatible with the Pace iLok wrapping tools. I have no idea how to build an older version from the repository, I downloaded the ctrlr 5.3.198 [8b32662] binaries, with the old Juce, I could compile the standalone and the AU because the .xcodeproj are in the folders but not the .xcodeproj for the vst. Damien |
Beta Was this translation helpful? Give feedback.
-
Hi @bijlevel I tried to compile the audiounit following your guide. xcode succeed but when I run it in studio one it doesn't load. The version you uploaded to godlikeproduction website is working though. Did you make something special to make it work? Is it with juce 6 or 6.1 and Ctrlr 5.5.9, 5.6.0 or the latest master branch ? (I'm lost about this versioning). Could you please share your .jucer file if you changed something from the one in the repo.? thanks in advance |
Beta Was this translation helpful? Give feedback.
-
Thanks for the invite. I've accepted. I'm happy to do some work on the wiki. I have quite a bit of experience with them. I'm 99% sure I have a Juce account, but it's been a while since I've played with it. |
Beta Was this translation helpful? Give feedback.
-
I had to adjust the compiling guide for MacOS a bit, because of some minor changes (for the good) in the latest source. (If I'm not mistaken, for example the issue of the missing menubar in an exported restricted VST3 instance has been addressed...). You can find the guide (v2) at https://godlike.com.au/index.php?id=361 |
Beta Was this translation helpful? Give feedback.
-
Hi guys, I am currently building plugins for Win10 and I had to compile Ctrlr with visual studio 2019. I have this error which stops the process for a long time: and after 10 minutes it goes ahead but only once out of 5 it works. Any idea what's wrong with CtrlrMidiInputComparatorSingle.cpp? Also I experienced : c:\users\Damien\documents\ctrlr\ctrlr build\ctrlr 5.5.9 f452347\source\uicomponents\ctrlrlua\methodeditor\ctrlrluacodetokeniser.cpp Line 1 Compiler is out of heap space in pass 2 Fatal error C1002 I don't know what's going on and how it's possible for a computer to succeed in its duty randomly like this. Thanks for your help |
Beta Was this translation helpful? Give feedback.
-
Something like this - I added some comments - some folks object but well it makes it reasonably clear what the algorithm is. I havent touched the debugger file yet - I am certain something peculiar is happening there but in this case it seems control logic error.
Computers are funny. If you run out of memory then they can still page and swap and often (slowly) get a result. But running out of heap is rarely recoverable - certainly not if the heap and stack smash thru eachother! I would consider using the 64 bit all the time. On Windows you can open a Visual C 64bit dev window.
go sip your brew :-) There are some "hides" warnings that I will try to look at. The debug warning. I am not aware of unit tests for Ctrlr. I booted a panel up with the above hack and it ran. I did try to copy the file (drag and drop). Edge says no. |
Beta Was this translation helpful? Give feedback.
-
I have written a detailed guide to help with compiling Ctrlr v5.6.23 (latest master) for Windows 10 using Visual Studio 2019. As of this moment in time the executable seems to work OK, but further testing is needed, also with the VST3 plugin.
I also succeeded in building Ctrlr v5.6.23 for Mac and found a workaround for the initial problem of 'callback errors'. See the 'issues' section of this repo. This Mac version seems promising, because so far it behaves quite good, but I have to admit I did not yet find the time to test it extensively. I did also write a guide for building on Mac with Xcode.
See for all the binaries and the guides: https://godlike.com.au/index.php?id=361
Beta Was this translation helpful? Give feedback.
All reactions