grame-cncm / faust

Functional programming language for signal processing and sound synthesis
http://faust.grame.fr
Other
2.58k stars 322 forks source link

Compilation error on master #98

Closed hlolli closed 6 years ago

hlolli commented 6 years ago

I pulled the master,

cd faust; mkdir build; cd build; cmake ../;make-j6

error:

In file included from /home/hlolli/csound/faust/compiler/generator/asmjs/asmjs_code_container.cpp:22:0:
/home/hlolli/csound/faust/compiler/generator/asmjs/asmjs_code_container.hh: In member function ‘void ASMJAVAScriptCodeContainer::generateASMBlock(BlockInst*)’:
/home/hlolli/csound/faust/compiler/generator/asmjs/asmjs_code_container.hh:44:36: error: ‘struct global’ has no member named ‘gASMJSVisitor’
             block->accept(gGlobal->gASMJSVisitor);
                                    ^~~~~~~~~~~~~
/home/hlolli/csound/faust/compiler/generator/asmjs/asmjs_code_container.cpp: In constructor ‘ASMJAVAScriptCodeContainer::ASMJAVAScriptCodeContainer(const string&, int, int, std::ostream*)’:
/home/hlolli/csound/faust/compiler/generator/asmjs/asmjs_code_container.cpp:73:19: error: ‘struct global’ has no member named ‘gASMJSVisitor’
     if (!gGlobal->gASMJSVisitor) {
                   ^~~~~~~~~~~~~
/home/hlolli/csound/faust/compiler/generator/asmjs/asmjs_code_container.cpp:74:18: error: ‘struct global’ has no member named ‘gASMJSVisitor’
         gGlobal->gASMJSVisitor = new ASMJAVAScriptInstVisitor(fOut);
                  ^~~~~~~~~~~~~
/home/hlolli/csound/faust/compiler/generator/asmjs/asmjs_code_container.cpp: In member function ‘virtual void ASMJAVAScriptCodeContainer::produceInternal()’:
/home/hlolli/csound/faust/compiler/generator/asmjs/asmjs_code_container.cpp:130:14: error: ‘struct global’ has no member named ‘gASMJSVisitor’
     gGlobal->gASMJSVisitor->Tab(n);
              ^~~~~~~~~~~~~
/home/hlolli/csound/faust/compiler/generator/asmjs/asmjs_code_container.cpp:133:14: error: ‘struct global’ has no member named ‘gASMJSVisitor’
     gGlobal->gASMJSVisitor->Tab(n+1);
              ^~~~~~~~~~~~~
/home/hlolli/csound/faust/compiler/generator/asmjs/asmjs_code_container.cpp:134:35: error: ‘struct global’ has no member named ‘gASMJSVisitor’
     generateDeclarations(gGlobal->gASMJSVisitor);
                                   ^~~~~~~~~~~~~
/home/hlolli/csound/faust/compiler/generator/asmjs/asmjs_code_container.cpp:154:35: error: ‘struct global’ has no member named ‘gASMJSVisitor’
         tab(n+2, *fOut); gGlobal->gASMJSVisitor->Tab(n+2);
                                   ^~~~~~~~~~~~~
/home/hlolli/csound/faust/compiler/generator/asmjs/asmjs_code_container.cpp:168:35: error: ‘struct global’ has no member named ‘gASMJSVisitor’
         tab(n+2, *fOut); gGlobal->gASMJSVisitor->Tab(n+2);
                                   ^~~~~~~~~~~~~
/home/hlolli/csound/faust/compiler/generator/asmjs/asmjs_code_container.cpp:179:18: error: ‘struct global’ has no member named ‘gASMJSVisitor’
         gGlobal->gASMJSVisitor->setSubContainerType(fSubContainerType);
                  ^~~~~~~~~~~~~
/home/hlolli/csound/faust/compiler/generator/asmjs/asmjs_code_container.cpp:180:32: error: ‘struct global’ has no member named ‘gASMJSVisitor’
         block->accept(gGlobal->gASMJSVisitor);
                                ^~~~~~~~~~~~~
/home/hlolli/csound/faust/compiler/generator/asmjs/asmjs_code_container.cpp:183:18: error: ‘struct global’ has no member named ‘gASMJSVisitor’
         gGlobal->gASMJSVisitor->setSubContainerType(-1);
                  ^~~~~~~~~~~~~
/home/hlolli/csound/faust/compiler/generator/asmjs/asmjs_code_container.cpp: In member function ‘virtual void ASMJAVAScriptCodeContainer::produceClass()’:
/home/hlolli/csound/faust/compiler/generator/asmjs/asmjs_code_container.cpp:194:14: error: ‘struct global’ has no member named ‘gASMJSVisitor’
     gGlobal->gASMJSVisitor->Tab(n);
              ^~~~~~~~~~~~~
/home/hlolli/csound/faust/compiler/generator/asmjs/asmjs_code_container.cpp:217:18: error: ‘struct global’ has no member named ‘gASMJSVisitor’
         gGlobal->gASMJSVisitor->Tab(n+1);
                  ^~~~~~~~~~~~~
/home/hlolli/csound/faust/compiler/generator/asmjs/asmjs_code_container.cpp:223:46: error: ‘struct global’ has no member named ‘gASMJSVisitor’
         sortDeclareFunctions sorter(gGlobal->gASMJSVisitor->getMathLibTable());
                                              ^~~~~~~~~~~~~
/home/hlolli/csound/faust/compiler/generator/asmjs/asmjs_code_container.cpp:225:45: error: ‘struct global’ has no member named ‘gASMJSVisitor’
         generateGlobalDeclarations(gGlobal->gASMJSVisitor);
                                             ^~~~~~~~~~~~~
/home/hlolli/csound/faust/compiler/generator/asmjs/asmjs_code_container.cpp:233:18: error: ‘struct global’ has no member named ‘gASMJSVisitor’
         gGlobal->gASMJSVisitor->Tab(n+1);
                  ^~~~~~~~~~~~~
/home/hlolli/csound/faust/compiler/generator/asmjs/asmjs_code_container.cpp:234:39: error: ‘struct global’ has no member named ‘gASMJSVisitor’
         generateDeclarations(gGlobal->gASMJSVisitor);
                                       ^~~~~~~~~~~~~
/home/hlolli/csound/faust/compiler/generator/asmjs/asmjs_code_container.cpp:257:22: error: ‘struct global’ has no member named ‘gASMJSVisitor’
             gGlobal->gASMJSVisitor->Tab(n+2);
                      ^~~~~~~~~~~~~
/home/hlolli/csound/faust/compiler/generator/asmjs/asmjs_code_container.cpp:270:22: error: ‘struct global’ has no member named ‘gASMJSVisitor’
             gGlobal->gASMJSVisitor->Tab(n+2);
                      ^~~~~~~~~~~~~
/home/hlolli/csound/faust/compiler/generator/asmjs/asmjs_code_container.cpp:282:22: error: ‘struct global’ has no member named ‘gASMJSVisitor’
             gGlobal->gASMJSVisitor->Tab(n+2);
                      ^~~~~~~~~~~~~
/home/hlolli/csound/faust/compiler/generator/asmjs/asmjs_code_container.cpp:294:22: error: ‘struct global’ has no member named ‘gASMJSVisitor’
             gGlobal->gASMJSVisitor->Tab(n+2);
                      ^~~~~~~~~~~~~
/home/hlolli/csound/faust/compiler/generator/asmjs/asmjs_code_container.cpp:323:74: error: ‘struct global’ has no member named ‘gASMJSVisitor’
             tab(n+2, *fOut); *fOut << "return HEAP32[dsp + " << gGlobal->gASMJSVisitor->getFieldOffset("fSamplingFreq") << " >> 2] | 0;";
                                                                          ^~~~~~~~~~~~~
/home/hlolli/csound/faust/compiler/generator/asmjs/asmjs_code_container.cpp:347:18: error: ‘struct global’ has no member named ‘gASMJSVisitor’
         gGlobal->gASMJSVisitor->Tab(n+1);
                  ^~~~~~~~~~~~~
/home/hlolli/csound/faust/compiler/generator/asmjs/asmjs_code_container.cpp:349:43: error: ‘struct global’ has no member named ‘gASMJSVisitor’
         generateComputeFunctions(gGlobal->gASMJSVisitor);
                                           ^~~~~~~~~~~~~
/home/hlolli/csound/faust/compiler/generator/asmjs/asmjs_code_container.cpp:378:40: error: ‘struct global’ has no member named ‘gASMJSVisitor’
         *fOut << "return " << gGlobal->gASMJSVisitor->getStructSize() << ";";
                                        ^~~~~~~~~~~~~
/home/hlolli/csound/faust/compiler/generator/asmjs/asmjs_code_container.cpp:387:73: error: ‘struct global’ has no member named ‘gASMJSVisitor’
         map <string, pair<int, Typed::VarType> >& fieldTable = gGlobal->gASMJSVisitor->getFieldTable();
                                                                         ^~~~~~~~~~~~~
/home/hlolli/csound/faust/compiler/generator/asmjs/asmjs_code_container.cpp: In member function ‘virtual void ASMJAVAScriptScalarCodeContainer::generateCompute(int)’:
/home/hlolli/csound/faust/compiler/generator/asmjs/asmjs_code_container.cpp:431:18: error: ‘struct global’ has no member named ‘gASMJSVisitor’
         gGlobal->gASMJSVisitor->Tab(n+2);
                  ^~~~~~~~~~~~~
/home/hlolli/csound/faust/compiler/generator/asmjs/asmjs_code_container.cpp: In member function ‘virtual void ASMJAVAScriptVectorCodeContainer::generateCompute(int)’:
/home/hlolli/csound/faust/compiler/generator/asmjs/asmjs_code_container.cpp:460:18: error: ‘struct global’ has no member named ‘gASMJSVisitor’
         gGlobal->gASMJSVisitor->Tab(n+2);
                  ^~~~~~~~~~~~~
/home/hlolli/csound/faust/compiler/generator/asmjs/asmjs_code_container.cpp:463:39: error: ‘struct global’ has no member named ‘gASMJSVisitor’
         generateComputeBlock(gGlobal->gASMJSVisitor);
                                       ^~~~~~~~~~~~~
/home/hlolli/csound/faust/compiler/generator/asmjs/asmjs_code_container.cpp:466:36: error: ‘struct global’ has no member named ‘gASMJSVisitor’
         fDAGBlock->accept(gGlobal->gASMJSVisitor);
                                    ^~~~~~~~~~~~~
At global scope:
cc1plus: warning: unrecognized command line option ‘-Wno-logical-op-parentheses’
make[2]: *** [compiler/CMakeFiles/libfaust-static.dir/build.make:999: compiler/CMakeFiles/libfaust-static.dir/generator/asmjs/asmjs_code_container.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
[ 22%] Building CXX object compiler/CMakeFiles/libfaust.dir/documentator/doc_compile.cpp.o
[ 22%] Building CXX object compiler/CMakeFiles/libfaust.dir/documentator/doc_lang.cpp.o
[ 23%] Building CXX object compiler/CMakeFiles/libfaust.dir/documentator/doc_metadatas.cpp.o
[ 23%] Building CXX object compiler/CMakeFiles/libfaust.dir/documentator/doc_notice.cpp.o
[ 24%] Building CXX object compiler/CMakeFiles/libfaust.dir/documentator/doc_sharing.cpp.o
[ 24%] Building CXX object compiler/CMakeFiles/libfaust.dir/documentator/lateq.cpp.o
[ 24%] Building CXX object compiler/CMakeFiles/libfaust.dir/draw/device/PSDev.cpp.o
make[1]: *** [CMakeFiles/Makefile2:159: compiler/CMakeFiles/libfaust-static.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 25%] Building CXX object compiler/CMakeFiles/libfaust.dir/draw/device/SVGDev.cpp.o
[ 25%] Building CXX object compiler/CMakeFiles/libfaust.dir/draw/drawschema.cpp.o
[ 26%] Building CXX object compiler/CMakeFiles/libfaust.dir/draw/schema/blockSchema.cpp.o
[ 26%] Building CXX object compiler/CMakeFiles/libfaust.dir/draw/schema/cableSchema.cpp.o
[ 26%] Building CXX object compiler/CMakeFiles/libfaust.dir/draw/schema/collector.cpp.o
[ 27%] Building CXX object compiler/CMakeFiles/libfaust.dir/draw/schema/connectorSchema.cpp.o
[ 27%] Building CXX object compiler/CMakeFiles/libfaust.dir/draw/schema/cutSchema.cpp.o
[ 28%] Building CXX object compiler/CMakeFiles/libfaust.dir/draw/schema/decorateSchema.cpp.o
[ 28%] Building CXX object compiler/CMakeFiles/libfaust.dir/draw/schema/enlargedSchema.cpp.o
[ 28%] Building CXX object compiler/CMakeFiles/libfaust.dir/draw/schema/inverterSchema.cpp.o
[ 29%] Building CXX object compiler/CMakeFiles/libfaust.dir/draw/schema/mergeSchema.cpp.o
[ 29%] Building CXX object compiler/CMakeFiles/libfaust.dir/draw/schema/parSchema.cpp.o
[ 30%] Building CXX object compiler/CMakeFiles/libfaust.dir/draw/schema/recSchema.cpp.o
[ 30%] Building CXX object compiler/CMakeFiles/libfaust.dir/draw/schema/seqSchema.cpp.o
[ 31%] Building CXX object compiler/CMakeFiles/libfaust.dir/draw/schema/splitSchema.cpp.o
[ 31%] Building CXX object compiler/CMakeFiles/libfaust.dir/draw/schema/topSchema.cpp.o
[ 31%] Building CXX object compiler/CMakeFiles/libfaust.dir/draw/sigToGraph.cpp.o
[ 32%] Building CXX object compiler/CMakeFiles/libfaust.dir/errors/errormsg.cpp.o
[ 32%] Building CXX object compiler/CMakeFiles/libfaust.dir/errors/timing.cpp.o
[ 33%] Building CXX object compiler/CMakeFiles/libfaust.dir/evaluate/environment.cpp.o
[ 33%] Building CXX object compiler/CMakeFiles/libfaust.dir/evaluate/eval.cpp.o
[ 33%] Building CXX object compiler/CMakeFiles/libfaust.dir/evaluate/loopDetector.cpp.o
[ 34%] Building CXX object compiler/CMakeFiles/libfaust.dir/extended/xtended.cpp.o
[ 34%] Building CXX object compiler/CMakeFiles/libfaust.dir/generator/Text.cpp.o
[ 35%] Building CXX object compiler/CMakeFiles/libfaust.dir/generator/asmjs/asmjs_code_container.cpp.o
[ 35%] Building CXX object compiler/CMakeFiles/libfaust.dir/generator/asmjs/asmjs_dsp_aux.cpp.o
[ 35%] Building CXX object compiler/CMakeFiles/libfaust.dir/generator/c/c_code_container.cpp.o
[ 36%] Building CXX object compiler/CMakeFiles/libfaust.dir/generator/code_container.cpp.o
[ 36%] Building CXX object compiler/CMakeFiles/libfaust.dir/generator/compile.cpp.o
[ 37%] Building CXX object compiler/CMakeFiles/libfaust.dir/generator/compile_scal.cpp.o
[ 37%] Building CXX object compiler/CMakeFiles/libfaust.dir/generator/compile_sched.cpp.o
In file included from /home/hlolli/csound/faust/compiler/generator/asmjs/asmjs_code_container.cpp:22:0:
/home/hlolli/csound/faust/compiler/generator/asmjs/asmjs_code_container.hh: In member function ‘void ASMJAVAScriptCodeContainer::generateASMBlock(BlockInst*)’:
/home/hlolli/csound/faust/compiler/generator/asmjs/asmjs_code_container.hh:44:36: error: ‘struct global’ has no member named ‘gASMJSVisitor’
             block->accept(gGlobal->gASMJSVisitor);
                                    ^~~~~~~~~~~~~
/home/hlolli/csound/faust/compiler/generator/asmjs/asmjs_code_container.cpp: In constructor ‘ASMJAVAScriptCodeContainer::ASMJAVAScriptCodeContainer(const string&, int, int, std::ostream*)’:
/home/hlolli/csound/faust/compiler/generator/asmjs/asmjs_code_container.cpp:73:19: error: ‘struct global’ has no member named ‘gASMJSVisitor’
     if (!gGlobal->gASMJSVisitor) {
                   ^~~~~~~~~~~~~
/home/hlolli/csound/faust/compiler/generator/asmjs/asmjs_code_container.cpp:74:18: error: ‘struct global’ has no member named ‘gASMJSVisitor’
         gGlobal->gASMJSVisitor = new ASMJAVAScriptInstVisitor(fOut);
                  ^~~~~~~~~~~~~
/home/hlolli/csound/faust/compiler/generator/asmjs/asmjs_code_container.cpp: In member function ‘virtual void ASMJAVAScriptCodeContainer::produceInternal()’:
/home/hlolli/csound/faust/compiler/generator/asmjs/asmjs_code_container.cpp:130:14: error: ‘struct global’ has no member named ‘gASMJSVisitor’
     gGlobal->gASMJSVisitor->Tab(n);
              ^~~~~~~~~~~~~
/home/hlolli/csound/faust/compiler/generator/asmjs/asmjs_code_container.cpp:133:14: error: ‘struct global’ has no member named ‘gASMJSVisitor’
     gGlobal->gASMJSVisitor->Tab(n+1);
              ^~~~~~~~~~~~~
/home/hlolli/csound/faust/compiler/generator/asmjs/asmjs_code_container.cpp:134:35: error: ‘struct global’ has no member named ‘gASMJSVisitor’
     generateDeclarations(gGlobal->gASMJSVisitor);
                                   ^~~~~~~~~~~~~
/home/hlolli/csound/faust/compiler/generator/asmjs/asmjs_code_container.cpp:154:35: error: ‘struct global’ has no member named ‘gASMJSVisitor’
         tab(n+2, *fOut); gGlobal->gASMJSVisitor->Tab(n+2);
                                   ^~~~~~~~~~~~~
/home/hlolli/csound/faust/compiler/generator/asmjs/asmjs_code_container.cpp:168:35: error: ‘struct global’ has no member named ‘gASMJSVisitor’
         tab(n+2, *fOut); gGlobal->gASMJSVisitor->Tab(n+2);
                                   ^~~~~~~~~~~~~
/home/hlolli/csound/faust/compiler/generator/asmjs/asmjs_code_container.cpp:179:18: error: ‘struct global’ has no member named ‘gASMJSVisitor’
         gGlobal->gASMJSVisitor->setSubContainerType(fSubContainerType);
                  ^~~~~~~~~~~~~
/home/hlolli/csound/faust/compiler/generator/asmjs/asmjs_code_container.cpp:180:32: error: ‘struct global’ has no member named ‘gASMJSVisitor’
         block->accept(gGlobal->gASMJSVisitor);
                                ^~~~~~~~~~~~~
/home/hlolli/csound/faust/compiler/generator/asmjs/asmjs_code_container.cpp:183:18: error: ‘struct global’ has no member named ‘gASMJSVisitor’
         gGlobal->gASMJSVisitor->setSubContainerType(-1);
                  ^~~~~~~~~~~~~
/home/hlolli/csound/faust/compiler/generator/asmjs/asmjs_code_container.cpp: In member function ‘virtual void ASMJAVAScriptCodeContainer::produceClass()’:
/home/hlolli/csound/faust/compiler/generator/asmjs/asmjs_code_container.cpp:194:14: error: ‘struct global’ has no member named ‘gASMJSVisitor’
     gGlobal->gASMJSVisitor->Tab(n);
              ^~~~~~~~~~~~~
/home/hlolli/csound/faust/compiler/generator/asmjs/asmjs_code_container.cpp:217:18: error: ‘struct global’ has no member named ‘gASMJSVisitor’
         gGlobal->gASMJSVisitor->Tab(n+1);
                  ^~~~~~~~~~~~~
/home/hlolli/csound/faust/compiler/generator/asmjs/asmjs_code_container.cpp:223:46: error: ‘struct global’ has no member named ‘gASMJSVisitor’
         sortDeclareFunctions sorter(gGlobal->gASMJSVisitor->getMathLibTable());
                                              ^~~~~~~~~~~~~
/home/hlolli/csound/faust/compiler/generator/asmjs/asmjs_code_container.cpp:225:45: error: ‘struct global’ has no member named ‘gASMJSVisitor’
         generateGlobalDeclarations(gGlobal->gASMJSVisitor);
                                             ^~~~~~~~~~~~~
/home/hlolli/csound/faust/compiler/generator/asmjs/asmjs_code_container.cpp:233:18: error: ‘struct global’ has no member named ‘gASMJSVisitor’
         gGlobal->gASMJSVisitor->Tab(n+1);
                  ^~~~~~~~~~~~~
/home/hlolli/csound/faust/compiler/generator/asmjs/asmjs_code_container.cpp:234:39: error: ‘struct global’ has no member named ‘gASMJSVisitor’
         generateDeclarations(gGlobal->gASMJSVisitor);
                                       ^~~~~~~~~~~~~
/home/hlolli/csound/faust/compiler/generator/asmjs/asmjs_code_container.cpp:257:22: error: ‘struct global’ has no member named ‘gASMJSVisitor’
             gGlobal->gASMJSVisitor->Tab(n+2);
                      ^~~~~~~~~~~~~
/home/hlolli/csound/faust/compiler/generator/asmjs/asmjs_code_container.cpp:270:22: error: ‘struct global’ has no member named ‘gASMJSVisitor’
             gGlobal->gASMJSVisitor->Tab(n+2);
                      ^~~~~~~~~~~~~
/home/hlolli/csound/faust/compiler/generator/asmjs/asmjs_code_container.cpp:282:22: error: ‘struct global’ has no member named ‘gASMJSVisitor’
             gGlobal->gASMJSVisitor->Tab(n+2);
                      ^~~~~~~~~~~~~
/home/hlolli/csound/faust/compiler/generator/asmjs/asmjs_code_container.cpp:294:22: error: ‘struct global’ has no member named ‘gASMJSVisitor’
             gGlobal->gASMJSVisitor->Tab(n+2);
                      ^~~~~~~~~~~~~
/home/hlolli/csound/faust/compiler/generator/asmjs/asmjs_code_container.cpp:323:74: error: ‘struct global’ has no member named ‘gASMJSVisitor’
             tab(n+2, *fOut); *fOut << "return HEAP32[dsp + " << gGlobal->gASMJSVisitor->getFieldOffset("fSamplingFreq") << " >> 2] | 0;";
                                                                          ^~~~~~~~~~~~~
/home/hlolli/csound/faust/compiler/generator/asmjs/asmjs_code_container.cpp:347:18: error: ‘struct global’ has no member named ‘gASMJSVisitor’
         gGlobal->gASMJSVisitor->Tab(n+1);
                  ^~~~~~~~~~~~~
/home/hlolli/csound/faust/compiler/generator/asmjs/asmjs_code_container.cpp:349:43: error: ‘struct global’ has no member named ‘gASMJSVisitor’
         generateComputeFunctions(gGlobal->gASMJSVisitor);
                                           ^~~~~~~~~~~~~
/home/hlolli/csound/faust/compiler/generator/asmjs/asmjs_code_container.cpp:378:40: error: ‘struct global’ has no member named ‘gASMJSVisitor’
         *fOut << "return " << gGlobal->gASMJSVisitor->getStructSize() << ";";
                                        ^~~~~~~~~~~~~
/home/hlolli/csound/faust/compiler/generator/asmjs/asmjs_code_container.cpp:387:73: error: ‘struct global’ has no member named ‘gASMJSVisitor’
         map <string, pair<int, Typed::VarType> >& fieldTable = gGlobal->gASMJSVisitor->getFieldTable();
                                                                         ^~~~~~~~~~~~~
/home/hlolli/csound/faust/compiler/generator/asmjs/asmjs_code_container.cpp: In member function ‘virtual void ASMJAVAScriptScalarCodeContainer::generateCompute(int)’:
/home/hlolli/csound/faust/compiler/generator/asmjs/asmjs_code_container.cpp:431:18: error: ‘struct global’ has no member named ‘gASMJSVisitor’
         gGlobal->gASMJSVisitor->Tab(n+2);
                  ^~~~~~~~~~~~~
/home/hlolli/csound/faust/compiler/generator/asmjs/asmjs_code_container.cpp: In member function ‘virtual void ASMJAVAScriptVectorCodeContainer::generateCompute(int)’:
/home/hlolli/csound/faust/compiler/generator/asmjs/asmjs_code_container.cpp:460:18: error: ‘struct global’ has no member named ‘gASMJSVisitor’
         gGlobal->gASMJSVisitor->Tab(n+2);
                  ^~~~~~~~~~~~~
/home/hlolli/csound/faust/compiler/generator/asmjs/asmjs_code_container.cpp:463:39: error: ‘struct global’ has no member named ‘gASMJSVisitor’
         generateComputeBlock(gGlobal->gASMJSVisitor);
                                       ^~~~~~~~~~~~~
/home/hlolli/csound/faust/compiler/generator/asmjs/asmjs_code_container.cpp:466:36: error: ‘struct global’ has no member named ‘gASMJSVisitor’
         fDAGBlock->accept(gGlobal->gASMJSVisitor);
                                    ^~~~~~~~~~~~~
At global scope:
cc1plus: warning: unrecognized command line option ‘-Wno-logical-op-parentheses’
make[2]: *** [compiler/CMakeFiles/libfaust.dir/build.make:999: compiler/CMakeFiles/libfaust.dir/generator/asmjs/asmjs_code_container.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:196: compiler/CMakeFiles/libfaust.dir/all] Error 2
make: *** [Makefile:141: all] Error 2
[hlolli@localhost build]$ gcc --version
gcc (GCC) 7.2.1 20170915 (Red Hat 7.2.1-2)
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

I'm using fedora 26 by the way.

sletz commented 6 years ago

cmake build is not yet working. Use the regular Makefile.

hlolli commented 6 years ago

Ok I was on cmake autopilot there. make works. Thanks!