Comments (15)
Oh and by being in cumulative-fixes-and-zoomable-ui it participates in the big PR which gets the AU running also.
I don't want to add a million things to that PR. If you actually can get the VST validating from there maybe a separate one makes sense but to do that one you will probably want to start from the cumulative-fixes branch.
from surge.
Linker errors usually mean you have an undefined symbol. Xcode makes it annoying to find them as far as I can see.
I simulated one in my local area just now
the trick I find to find the symbol is to go to the set of logs and find your failing build
then when you click on the little expanding hamburger glyph thing you see the symbols you are missing
Usually this occurs because you are including a .h file for a subset of a library but not building or linking the associated .cpp. Especially if you see something like Steinberg::VST::MyBlimBlom it probably means your include path allows you to #include "myblimblom" but you're premake5.lua doesn't include myblimblom.cpp
Hope this helps! Good luck.
from surge.
Thanks for the assist! the error i'm seeing is..
from surge.
from surge.
I also see these link errors. Not entirely sure from looking at git blame
history, so wondering who wrote in the README
You can also build a VST which links but honestly we aren't sure if it works. Help from someone who uses VST would be appreciated here!
I'm wondering how this is possible that it built and linked?
from surge.
I had written that when it linked! I then got the au working and stopped looking at vst. And apparently now it is back to not linking :)
If it is the surgeditor symbol errors I fixed that by ifdefing out the class which wasn’t used. Later tonight I will take a peek and see what’s in head.
These sorts of problems will pop up more and more the longer our merge backlog is! I really hope we can get master back close to the codebase which runs the au soon.
from surge.
Right this diff
https://github.com/kzantow/surge/commit/f20830627f7b0e6546b771ab2f087a537c9673ea
Which made it work. That if 0 went to if !target audio unit, though, which is why au works and vst no longer does
So to make vst work also exclude that class if it is truly not needed or finish those methods. With it excluded I could compile and link but not run a vst
from surge.
Oh and that is my diff. Just I’m looking st it on kzantows big merge branch which is why his name shows up.
from surge.
Slightly unrelated, but on the VST2 project, with some excluding of AU specific files from premake5.lua
I've got it successfully building and linking, however, it's not being recognised. Perhaps it's going to be similar issue for the VST3, will investigate.
from surge.
@asimilon query -- what is not recognizing Surge.vst? Have you checked https://github.com/tracktion/pluginval to see what it says on the VST?
from surge.
great! Happy to answer any questions about the au or look at any diffs if that helps
from surge.
OK I figured out the premake thing that was breaking vat and how to change it so that AU still worked and have a diff coming which will allow VST3 and AU to link. Stay tuned. I'll push it to the big PR.
from surge.
OK there's the diff. @asimilon if you want to use this you need to fetch and merge @kzantow branch "cumulative-fixes-and-zoomable-ui"
I have not included your build.osx changes in that. Honestly it was too tricky to pull the commit from a fourth remote!
But with those changes, VST3 and AU both link if you start from a clean area and rerun premake
from surge.
Can we close this issue @esaruoho - It's now resolved after the #92 merge.
from surge.
Closing ticket :)
from surge.
Related Issues (20)
- offline documentation HOT 8
- gui keyboard HOT 1
- can we have a place to pull request presets? HOT 31
- How does audio input work? HOT 9
- discord links to wrong place in readme HOT 3
- Some patches don't play on raspberry pi (3) HOT 2
- OSC disabling fx causes segfault (MacOS) HOT 15
- Using latch mode causes hanging note in mono mode when playing via VKB HOT 4
- Effects section slider values will incorrectly change when left-clicked (without movement) HOT 4
- Installation Security; Request for Information HOT 6
- CPU spikes when using Vintage Ladder Type 1 filter and modulating Osc mixer level to -inf HOT 32
- audio in should not require a MIDI Event that triggers the oscilator HOT 7
- UI doesn't update when using wine HOT 2
- Update to Juce 7.0.12 (should fix Audio/MIDI settings dialog not opening on Ubuntu) HOT 5
- Loading of a specific Surge configuration results in pathological system instability HOT 10
- Weird echo on Raspberry build with "virtual midi" HOT 4
- Load Vital Presets in Surge? HOT 3
- Release checklist for Surge XT 1.3.3
- Add checksum to all release assets
- surge mute sound after loading preset HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from surge.