Coder Social home page Coder Social logo

Comments (15)

falkTX avatar falkTX commented on April 24, 2024 2

Yes I can reproduce that here, investigating.
Also, LTO takes a really long time, I dont recommend it for testing builds yourself.
For submodules you need to apply it recursively, aka git submodule update --init --recursive

from cardinal.

falkTX avatar falkTX commented on April 24, 2024 1

Oh, interesting. I havent tried those in a while. Nevermind my last comment then, obviously invalid.

One thing that I did change was bumping from Ubuntu 18.04 base to 20.04 base.
But since you run 20.04 yourself, this should not be the problem.
So, dont know what is going on yet. If you find something please post about it.

from cardinal.

sc3sc3 avatar sc3sc3 commented on April 24, 2024

Also vst3 and lv2 are not recognized by Ardour.

I'm on UbuntuStudio LTS 20.04

from cardinal.

falkTX avatar falkTX commented on April 24, 2024

delete those files and do a full rebuild. this is 99% sure an issue with your build or setup.

from cardinal.

sc3sc3 avatar sc3sc3 commented on April 24, 2024

I haven't been building the plugins myself, I have always used Github builds, provided under the Actions tab.

from cardinal.

sc3sc3 avatar sc3sc3 commented on April 24, 2024

I got the project building succesfully, but at the end there is no bin folder.
What are the commands to build the actual vst, vst3, lv2 files?
Thanks

from cardinal.

sc3sc3 avatar sc3sc3 commented on April 24, 2024

Apparently I do get an error:

Compiling src/ApplicationPrivateData.cpp
In file included from src/ApplicationPrivateData.cpp:20:
src/pugl.hpp:44:10: fatal error: pugl-upstream/include/pugl/pugl.h: No such file or directory
44 | #include "pugl-upstream/include/pugl/pugl.h"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
connected.
make[1]: *** [Makefile:169: ../build/dgl/ApplicationPrivateData.cpp.o] Error 1

from cardinal.

falkTX avatar falkTX commented on April 24, 2024

you need submodules

from cardinal.

falkTX avatar falkTX commented on April 24, 2024

anyhow I think I found the reason why.
latest commit about CardinalFX should fix it, but you need to remove Cardinal.vst which does nothing and is not possible in VST2

from cardinal.

sc3sc3 avatar sc3sc3 commented on April 24, 2024

concerning the submodules, I get the pugl issue with the following

git clone https://github.com/DISTRHO/Cardinal.git
cd Cardinal
git submodule init
git submodule sync
git submodule update
make WITH_LTO=true -j6

from cardinal.

sc3sc3 avatar sc3sc3 commented on April 24, 2024

I tried the latest Actions build, and unfortunately the issue is still there: Missing entry method in VST2 plugin

from cardinal.

sc3sc3 avatar sc3sc3 commented on April 24, 2024

Thank you, I got the project fully built now.
Weirdly, my own built CardinalFX/CardinalSynth vst2 plugins aren't recognized either.

The standalone applications Cardinal, CardinalFX and CardinalSynth in bin folder work correctly.

from cardinal.

falkTX avatar falkTX commented on April 24, 2024

It is likely related to LTO.
Since you had a partial LTO build, the compiler likely tried to do a full LTO build in the end. Try make clean and building again without LTO.

from cardinal.

sc3sc3 avatar sc3sc3 commented on April 24, 2024

With clean build:

  • lv2 works correctly in Ardour
  • vst2 is not seen in Ardour, nor Bitwig
  • vst3 loads but does not contain any modules to use

from cardinal.

falkTX avatar falkTX commented on April 24, 2024

Issue was the -fwhole-program that doesnt work with GCC for plugins.

from cardinal.

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.