sonejostudios / faustdrumseq

very simple drum sequencer
GNU Lesser General Public License v3.0
4 stars 0 forks source link

compilation failed #1

Closed trebmuh closed 5 years ago

trebmuh commented 5 years ago
$ faust2jaqt drumsequencer.dsp
drumsequencer_tmp.cpp: In member function ‘virtual void mydsp::instanceResetUserInterface()’:
drumsequencer_tmp.cpp:15710:18: error: ‘defaultsound’ was not declared in this scope
    fSoundfile0 = defaultsound;
                  ^~~~~~~~~~~~
drumsequencer_tmp.cpp: In member function ‘virtual void mydsp::compute(int, float**, float**)’:
drumsequencer_tmp.cpp:16081:41: error: invalid use of incomplete type ‘struct Soundfile’
   int* fSoundfile0ca_le0 = fSoundfile0ca->fLength;
                                         ^~
drumsequencer_tmp.cpp:373:8: note: forward declaration of ‘struct Soundfile’
 struct Soundfile;
        ^~~~~~~~~
drumsequencer_tmp.cpp:16083:41: error: invalid use of incomplete type ‘struct Soundfile’
   int* fSoundfile0ca_of0 = fSoundfile0ca->fOffset;
                                         ^~
drumsequencer_tmp.cpp:373:8: note: forward declaration of ‘struct Soundfile’
 struct Soundfile;
        ^~~~~~~~~
drumsequencer_tmp.cpp:16084:49: error: invalid use of incomplete type ‘struct Soundfile’
   FAUSTFLOAT** fSoundfile0ca_bu0 = fSoundfile0ca->fBuffers;
                                                 ^~
drumsequencer_tmp.cpp:373:8: note: forward declaration of ‘struct Soundfile’
 struct Soundfile;
        ^~~~~~~~~
drumsequencer_tmp.cpp:16103:41: error: invalid use of incomplete type ‘struct Soundfile’
   int* fSoundfile0ca_le1 = fSoundfile0ca->fLength;
                                         ^~
drumsequencer_tmp.cpp:373:8: note: forward declaration of ‘struct Soundfile’
 struct Soundfile;
        ^~~~~~~~~
drumsequencer_tmp.cpp:16105:41: error: invalid use of incomplete type ‘struct Soundfile’
   int* fSoundfile0ca_of1 = fSoundfile0ca->fOffset;
                                         ^~
drumsequencer_tmp.cpp:373:8: note: forward declaration of ‘struct Soundfile’
 struct Soundfile;
        ^~~~~~~~~
drumsequencer_tmp.cpp:16106:49: error: invalid use of incomplete type ‘struct Soundfile’
   FAUSTFLOAT** fSoundfile0ca_bu1 = fSoundfile0ca->fBuffers;
                                                 ^~
drumsequencer_tmp.cpp:373:8: note: forward declaration of ‘struct Soundfile’
 struct Soundfile;
        ^~~~~~~~~
drumsequencer_tmp.cpp:16125:41: error: invalid use of incomplete type ‘struct Soundfile’
   int* fSoundfile0ca_le2 = fSoundfile0ca->fLength;
                                         ^~
drumsequencer_tmp.cpp:373:8: note: forward declaration of ‘struct Soundfile’
 struct Soundfile;
        ^~~~~~~~~
drumsequencer_tmp.cpp:16127:41: error: invalid use of incomplete type ‘struct Soundfile’
   int* fSoundfile0ca_of2 = fSoundfile0ca->fOffset;
                                         ^~
drumsequencer_tmp.cpp:373:8: note: forward declaration of ‘struct Soundfile’
 struct Soundfile;
        ^~~~~~~~~
drumsequencer_tmp.cpp:16128:49: error: invalid use of incomplete type ‘struct Soundfile’
   FAUSTFLOAT** fSoundfile0ca_bu2 = fSoundfile0ca->fBuffers;
                                                 ^~
drumsequencer_tmp.cpp:373:8: note: forward declaration of ‘struct Soundfile’
 struct Soundfile;
        ^~~~~~~~~
make: *** [drumsequencer_tmp.o] Erreur 1
sonejostudios commented 5 years ago

essaye:

faust2jaqt -soundfile drumsequencer.dsp

par contre drumsequencer n'est qu'un test d'utilisation de le nouvelle fonction "soundfile" de faust et non un programme visant à être utilisé... donc a voir si tu veux le mêtre dans LibraZik ou pas!

trebmuh commented 5 years ago

Avec cette commande, j'ai le même problème que .

make[1]: Entering directory '/build/faustdrumseq-0.0.0+20190611~git60103f0'
faust2jaqt -soundfile drumsequencer.dsp
ERROR : unrecognized or incorrectly defined option "-soundfile"
debian/rules:14: recipe for target 'override_dh_auto_build' failed
sonejostudios commented 5 years ago

okay, ca a l'air clair! tu dois avoir une ancienne version de faust, car la fonction soundfile, c'est du nouveau!

https://github.com/sonejostudios/SuperBeatRepeater/issues/1#issuecomment-501076709

chez moi (faust 2.17.10), faust2jaqt -soundfile drumsequencer.dsp compile sans problème.

as-tu aussi les 3 fichiers wave dans le dossier de compilation?

trebmuh commented 5 years ago

Je viens de refaire une construction avec une version 2.14.4 de faust, et c'est passé. Je ferme du coup ici. Merci pour l'aide et a+