Open the-drunk-coder opened 5 months ago
I've tried multiple combinations of compilers (clang++/g++), C++ versions (98,03,11) and so on, but to no avail ...
Could you try removing the const
qualifier from vector<const SARNote> fNotes;
in ARChord.cpp line 148 (and keep me informed).
It compiles without problem on my side.
Hmm ok, if I replace the signature from const SARNote
to SARNote
everywhere (all references in ARChord.h
and ARChord.cpp
, and the one in line 779 in visitors/gnm2tabvisitor
), then it compiles ... the linker is still missing a library, but I guess that's another problem.
Which compiler/version are you compiling with ? I'm on gcc version 14.1.1 20240522 (GCC)
Je suis sur MacOSX et mon compilateur est Apple clang version 15.0.0 (clang-1500.0.40.1) Je n'ai pas eu le temps de creuser plus cette histoire de const donc je ne sais pas si c'est une évolution des standards. Je compile avec l'option -std=c++11
Le lun. 27 mai 2024 à 23:15, the-drunk-coder @.***> a écrit :
Hmm ok, if I replace the signature from const SARNote to SARNote everywhere (all references in ARChord.h and ARChord.cpp, and the one in line 779 in visitors/gnm2tabvisitor), then it compiles ... the linker is still missing a library, but I guess that's another problem.
Which compiler/version are you compiling with ?
— Reply to this email directly, view it on GitHub https://github.com/grame-cncm/guidoar/issues/3#issuecomment-2134053227, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADJHQ4X3ZU7XEVK4FAZC7LZEOO7LAVCNFSM6AAAAABIJYOZN2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMZUGA2TGMRSG4 . You are receiving this because you commented.Message ID: @.***>
Hi, I've been trying to build guidoar (on Arch linux, for INscore), but I haven't had any success yet, it seems like there's some error in the code:
I wonder whether this is a problem with the C++ version, or the std library?