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

Can't build on Linux #211

Open
freq-mod opened this issue Sep 6, 2024 · 8 comments
Open

Can't build on Linux #211

freq-mod opened this issue Sep 6, 2024 · 8 comments

Comments

@freq-mod
Copy link
Contributor

freq-mod commented Sep 6, 2024

Same as OPN2BankEditor, I think

e/anon/OPL3BankEditor/src/delay_analysis.cpp: In member function ‘virtual double DelayAnalysisDialog::PlotData::y(double) const’:
/home/anon/OPL3BankEditor/src/delay_analysis.cpp:250:15: error: cannot declare variable ‘spline’ to be of abstract type ‘QwtSpline’
  250 |     QwtSpline spline;
      |               ^~~~~~
In file included from /home/anon/OPL3BankEditor/src/delay_analysis.cpp:29:
/usr/include/qwt/qwt_spline.h:57:18: note:   because the following virtual functions are pure within ‘QwtSpline’:
   57 | class QWT_EXPORT QwtSpline
      |                  ^~~~~~~~~
/usr/include/qwt/qwt_spline.h:176:26: note:     ‘virtual QPainterPath QwtSpline::painterPath(const QPolygonF&) const’
  176 |     virtual QPainterPath painterPath( const QPolygonF& ) const = 0;
      |                          ^~~~~~~~~~~
/home/anon/OPL3BankEditor/src/delay_analysis.cpp:251:12: error: ‘class QwtSpline’ has no member named ‘setPoints’
  251 |     spline.setPoints(poly);
      |            ^~~~~~~~~
/home/anon/OPL3BankEditor/src/delay_analysis.cpp:254:35: error: ‘class QwtSpline’ has no member named ‘value’
  254 |     double interpolatedY = spline.value(x);
      |                                   ^~~~~
@Wohlstand
Copy link
Owner

Wohlstand commented Sep 6, 2024

What Qt Version is?
Lemme try this with the analysis...

@Wohlstand
Copy link
Owner

Also, what version of Qwt you do have? On my end the 6.1.4 (installed via apt, Linux Mint 21.3, not yet upgraded, I'll upgrade to 22 soon)

@Wohlstand
Copy link
Owner

On my end the thing was built just fine, and seems the problem in the case if you trying to use Qt 6 or too new Qwt (then I should manually install it and debug the build compatibility).

@freq-mod
Copy link
Contributor Author

freq-mod commented Sep 7, 2024

Qwt 6.3 on my end

@Wohlstand
Copy link
Owner

Okay, then I should try that version...

@Kitsune64
Copy link

Kitsune64 commented Sep 14, 2024

Capture d’écran du 2024-09-14 05-14-12

Here it build after some dependancies installations about Qt5_something_... on Debian 12 (Linux)
Also I noticed that RTaudio and RTmidi used by OPL3BankEditor (v1.5.1) are missing in your sources so

I have downloaded the sources files from the officiel repository:
rtaudio-5.2.0.tar.gz
rtmidi-5.0.0.tar.gz

I have attempted with the last version of these 2 last archives but that give me an error when compiling so be aware with the right version to use. (rtaudio 5.2 and rtmidi 5.0)
Link to these archives:
rtaudio-5.2.0.tar.gz
rtmidi-5.0.0.tar.gz

Official link about these archives:
https://github.com/thestk

@Wohlstand
Copy link
Owner

There submodules... you need to pull the repo by release tag and pull submodules then. Anyway, that's fault of GitHub that doesn't packs submodules into release's code

@Wohlstand
Copy link
Owner

I usually trying to attach the "complete source archive" in addition to prebuilt binaries. But here, seems, I forgot.

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