Audacium / audacium

Free and open-source audio editor
https://audacium.github.io/audacium/
Other
702 stars 34 forks source link

Cannot compile on Arch Linux #85

Closed gianmarcogg03 closed 2 years ago

gianmarcogg03 commented 2 years ago

Describe the bug I can't get Audacium to compile on Arch Linux with the AUR package, but it seems to be an issue with the actual code instead of the PKGBUILD from the AUR.

To Reproduce Steps to reproduce the behavior:

  1. yay -S audacium-git
  2. Try with or without a clean build

Expected behavior Should compile perfectly.

Screenshots I've got the error.

/home/gianmarco/.cache/yay/audacium-git/src/audacium/src/prefs/DevicePrefs.cpp: In member function ‘void DevicePrefs::Populate()’:
/home/gianmarco/.cache/yay/audacium-git/src/audacium/src/prefs/DevicePrefs.cpp:105:19: error: invalid use of incomplete type ‘class wxButton’
  105 |    mRefreshDevices->Bind(wxEVT_BUTTON, &DevicePrefs::OnRefresh, this);
      |                   ^~
In file included from /home/gianmarco/.cache/yay/audacium-git/src/audacium/src/prefs/../widgets/wxPanelWrapper.h:14,
                 from /home/gianmarco/.cache/yay/audacium-git/src/audacium/src/prefs/PrefsPanel.h:31,
                 from /home/gianmarco/.cache/yay/audacium-git/src/audacium/src/prefs/DevicePrefs.h:17,
                 from /home/gianmarco/.cache/yay/audacium-git/src/audacium/src/prefs/DevicePrefs.cpp:26:
/home/gianmarco/.conan/data/wxwidgets/3.1.3.1-audacity/_/_/package/16b6333f64afa8c5345b25bebdaf714898bf3f9c/include/wx-3.1/wx/dialog.h:23:28: note: forward declaration of ‘class wxButton’
   23 | class WXDLLIMPEXP_FWD_CORE wxButton;
      |                            ^~~~~~~~
/home/gianmarco/.cache/yay/audacium-git/src/audacium/src/prefs/DevicePrefs.cpp: In member function ‘void DevicePrefs::OnRefresh(wxCommandEvent&)’:
/home/gianmarco/.cache/yay/audacium-git/src/audacium/src/prefs/DevicePrefs.cpp:352:5: error: ‘AudioIO’ has not been declared
  352 |     AudioIO::InitializeDevices();
      |     ^~~~~~~
make[2]: *** [src/CMakeFiles/Audacium.dir/build.make:3618: src/CMakeFiles/Audacium.dir/prefs/DevicePrefs.cpp.o] Errore 1
make[2]: uscita dalla directory «/home/gianmarco/.cache/yay/audacium-git/src/build»
make[1]: *** [CMakeFiles/Makefile2:1259: src/CMakeFiles/Audacium.dir/all] Errore 2
make[1]: uscita dalla directory «/home/gianmarco/.cache/yay/audacium-git/src/build»
make: *** [Makefile:156: all] Errore 2
make: uscita dalla directory «/home/gianmarco/.cache/yay/audacium-git/src/build»

Additional information (please complete the following information):

ghost commented 2 years ago

I think you're better off reporting the issue to the AUR package maintainer first.

gianmarcogg03 commented 2 years ago

I did and I tried to reinstall but it didn't work, so they told me to come here.

AnErrupTion commented 2 years ago

I think that's due to my most recent commit, I have yet to investigate and fix it.

gianmarcogg03 commented 2 years ago

Uhhhh the bug isn't fixed yet.

AnErrupTion commented 2 years ago

@gianmarcogg03 Could you please try now?

gianmarcogg03 commented 2 years ago

Works now, thank you.