Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

3.2.6: Build issues #129

Open
dvzrv opened this issue Apr 4, 2022 · 11 comments
Open

3.2.6: Build issues #129

dvzrv opened this issue Apr 4, 2022 · 11 comments

Comments

@dvzrv
Copy link
Contributor

dvzrv commented Apr 4, 2022

Hi! When building 3.2.6 as a package for Arch Linux I ran into issues:

Compiling DistrhoUIMain.cpp (VST3)
In file included from ../../common/freeverb/progenitor.hpp:50,
                 from ../../common/freeverb/progenitor2.hpp:25,
                 from DSP.hpp:22,
                 from DSP.cpp:19:
../../common/freeverb/progenitor_t.hpp:23:1: error: expected class-name before ‘{’ token
   23 | {
      | ^
In file included from ../../common/freeverb/progenitor.hpp:56,
                 from ../../common/freeverb/progenitor2.hpp:25,
                 from DSP.hpp:22,
                 from DSP.cpp:19:
../../common/freeverb/progenitor_t.hpp:23:1: error: expected class-name before ‘{’ token
   23 | {
      | ^
In file included from ../../common/freeverb/progenitor.hpp:50,
                 from ../../common/freeverb/progenitor2.hpp:25,
                 from DSP.hpp:22,
                 from Plugin.hpp:19,
                 from Plugin.cpp:17:
../../common/freeverb/progenitor_t.hpp:23:1: error: expected class-name before ‘{’ token
   23 | {
      | ^
In file included from ../../common/freeverb/progenitor.hpp:56,
                 from ../../common/freeverb/progenitor2.hpp:25,
                 from DSP.hpp:22,
                 from Plugin.hpp:19,
                 from Plugin.cpp:17:
../../common/freeverb/progenitor_t.hpp:23:1: error: expected class-name before ‘{’ token
   23 | {
      | ^
make[1]: *** [../../dpf/Makefile.plugins.mk:312: ../../build/DragonflyRoomReverb/DSP.cpp.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [../../dpf/Makefile.plugins.mk:312: ../../build/DragonflyRoomReverb/Plugin.cpp.o] Error 1
In file included from ../../common/freeverb/progenitor.hpp:50,
                 from ../../common/freeverb/progenitor2.hpp:25,
                 from DSP.hpp:22,
                 from UI.cpp:19:
../../common/freeverb/progenitor_t.hpp:23:1: error: expected class-name before ‘{’ token
   23 | {
      | ^
In file included from ../../common/freeverb/progenitor.hpp:56,
                 from ../../common/freeverb/progenitor2.hpp:25,
                 from DSP.hpp:22,
                 from UI.cpp:19:
../../common/freeverb/progenitor_t.hpp:23:1: error: expected class-name before ‘{’ token
   23 | {
      | ^
make[1]: *** [../../dpf/Makefile.plugins.mk:310: ../../build/DragonflyRoomReverb/UI.cpp.o] Error 1
make[1]: Leaving directory '/build/dragonfly-reverb/src/DragonflyReverb-Source-v3.2.6/plugins/dragonfly-room-reverb'
make: *** [Makefile:24: plugins] Error 2
make: Leaving directory '/build/dragonfly-reverb/src/DragonflyReverb-Source-v3.2.6'

This looks freeverb related and I am using SYSTEM_FREEVERB3="true". Maybe it is not honored in some parts of the build?

@dvzrv
Copy link
Contributor Author

dvzrv commented Apr 4, 2022

After explicitly removing the common/freeverb directory before build, I am able to build successfully.

archlinux-github pushed a commit to archlinux/svntogit-community that referenced this issue Apr 4, 2022
Remove unneeded quotes and curly braces.
Add debug package.
Remove vendored freeverb version as it fails the build when building against system freeverb3:
michaelwillis/dragonfly-reverb#129

git-svn-id: file:///srv/repos/svn-community/svn@1181316 9fca08f4-af9d-4005-b8df-a31f2cc04f65
archlinux-github pushed a commit to archlinux/svntogit-community that referenced this issue Apr 4, 2022
Remove unneeded quotes and curly braces.
Add debug package.
Remove vendored freeverb version as it fails the build when building against system freeverb3:
michaelwillis/dragonfly-reverb#129

git-svn-id: file:///srv/repos/svn-community/svn@1181316 9fca08f4-af9d-4005-b8df-a31f2cc04f65
@michaelwillis
Copy link
Owner

@dvzrv Thanks for reporting this, I'll see what I can do about a fix for the next version.

@michaelwillis
Copy link
Owner

@dvzrv Is anybody maintaining the system freeverb3 package? If not, it might be better to build against the bundled freeverb3.

@dvzrv
Copy link
Contributor Author

dvzrv commented Apr 7, 2022

The package for Arch is maintained by me. However, the upstream is here: http://www.nongnu.org/freeverb3/

Judging from its history I don't see a lot of activity in the past years though: http://git.savannah.gnu.org/cgit/freeverb3.git
Not sure whether that will change or not, but given that those are the sources you are using, what would be the upside to using the bundled sources you provide with dragonfly-reverb?

@michaelwillis
Copy link
Owner

Sometimes I consider modernizing the freeverb3 library that is bundled with Dragonfly Reverb, doing things like finding a better way to avoid issues with denormals and such. I hesitate to diverge from the version at savannah.gnu.org because I know that some people build using the SYSTEM_FREEVERB3 env var, but if I didn't have to support that, it would give more freedom to optimize the bundled library.

@dvzrv
Copy link
Contributor Author

dvzrv commented Apr 8, 2022

Sometimes I consider modernizing the freeverb3 library that is bundled with Dragonfly Reverb, [..]

Then these changes should be upstreamed IMHO, so that others also benefit from it. Have you reached out to the current freeverb3 upstream about these changes?

@michaelwillis
Copy link
Owner

The freeverb3 maintainer didn't write me back the last time I wrote, but I can try again.

@muziker
Copy link

muziker commented Jul 27, 2022

I'd love there to be an optimized bundled freeverb3 just for dragonfly reverb. Disk space is relatively cheap, plus I can see what is being optimized.

@michaelwillis
Copy link
Owner

@dvzrv Are there other arch packages that depend upon freeverb3?

@dvzrv
Copy link
Contributor Author

dvzrv commented Sep 25, 2022

Sorry for the late reply: Nope, not currently.

@michaelwillis
Copy link
Owner

@dvzrv I think this will still be a problem with 3.2.7, as I am not currently set up to test a build on Arch Linux against the system freeverb3 library.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants