Giter VIP home page Giter VIP logo

Comments (15)

baconpaul avatar baconpaul commented on May 30, 2024 1

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.

baconpaul avatar baconpaul commented on May 30, 2024

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

screen shot 2018-12-14 at 6 18 14 pm

the trick I find to find the symbol is to go to the set of logs and find your failing build

screen shot 2018-12-14 at 6 18 57 pm

then when you click on the little expanding hamburger glyph thing you see the symbols you are missing

screen shot 2018-12-14 at 6 19 57 pm

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.

esaruoho avatar esaruoho commented on May 30, 2024

Thanks for the assist! the error i'm seeing is..
surge_xcworkspace

from surge.

baconpaul avatar baconpaul commented on May 30, 2024

from surge.

asimilon avatar asimilon commented on May 30, 2024

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.

baconpaul avatar baconpaul commented on May 30, 2024

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.

baconpaul avatar baconpaul commented on May 30, 2024

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.

baconpaul avatar baconpaul commented on May 30, 2024

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.

asimilon avatar asimilon commented on May 30, 2024

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.

esaruoho avatar esaruoho commented on May 30, 2024

@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.

baconpaul avatar baconpaul commented on May 30, 2024

great! Happy to answer any questions about the au or look at any diffs if that helps

from surge.

baconpaul avatar baconpaul commented on May 30, 2024

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.

baconpaul avatar baconpaul commented on May 30, 2024

kurasu@ce3b57d

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.

baconpaul avatar baconpaul commented on May 30, 2024

Can we close this issue @esaruoho - It's now resolved after the #92 merge.

from surge.

esaruoho avatar esaruoho commented on May 30, 2024

Closing ticket :)

from surge.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.