mluipersbeck / dapcstp

GNU Affero General Public License v3.0
7 stars 8 forks source link

Installation Issue #9

Open shahrozeabbas opened 3 years ago

shahrozeabbas commented 3 years ago

Hello,

Need to install this as a dependency, but I am getting the following error. Trying to install this on a slurm cluster.

g++ -std=c++11 -MMD -Iinclude -O3 -DNDEBUG -c -o src/stats.o src/stats.cpp g++ -std=c++11 -MMD -Iinclude -O3 -DNDEBUG -c -o src/timer.o src/timer.cpp g++ -std=c++11 -MMD -Iinclude -O3 -DNDEBUG -c -o src/inst.o src/inst.cpp g++ -std=c++11 -MMD -Iinclude -O3 -DNDEBUG -c -o src/procstatus.o src/procstatus.cpp g++ -std=c++11 -MMD -Iinclude -O3 -DNDEBUG -c -o src/sol.o src/sol.cpp g++ -std=c++11 -MMD -Iinclude -O3 -DNDEBUG -c -o src/bbnode.o src/bbnode.cpp g++ -std=c++11 -MMD -Iinclude -O3 -DNDEBUG -c -o src/heur.o src/heur.cpp g++ -std=c++11 -MMD -Iinclude -O3 -DNDEBUG -c -o src/prep.o src/prep.cpp g++ -std=c++11 -MMD -Iinclude -O3 -DNDEBUG -c -o src/bounds.o src/bounds.cpp g++ -std=c++11 -MMD -Iinclude -O3 -DNDEBUG -c -o src/options.o src/options.cpp g++ -std=c++11 -MMD -Iinclude -O3 -DNDEBUG -c -o src/main.o src/main.cpp g++ -std=c++11 -MMD -Iinclude -O3 -DNDEBUG -c -o src/bbtree.o src/bbtree.cpp g++ -std=c++11 -MMD -Iinclude -O3 -DNDEBUG -c -o src/cputime.o src/cputime.cpp g++ -std=c++11 -MMD -Iinclude -O3 -DNDEBUG -c -o src/util.o src/util.cpp src/util.cpp: In function ‘int cntReachable(int, Sol&, Inst&)’: src/util.cpp:639:2: error: ‘stack’ was not declared in this scope stack stack; ^ src/util.cpp:639:8: error: expected primary-expression before ‘int’ stack stack; ^ src/util.cpp:639:8: error: expected ‘;’ before ‘int’ src/util.cpp: In function ‘Sol dmst(Inst&, std::vector&)’: src/util.cpp:827:2: error: ‘stack’ was not declared in this scope stack Q; ^ src/util.cpp:827:8: error: expected primary-expression before ‘int’ stack Q; ^ src/util.cpp:827:8: error: expected ‘;’ before ‘int’ src/util.cpp:864:3: error: ‘Q’ was not declared in this scope Q.push(i); ^ src/util.cpp:868:9: error: ‘Q’ was not declared in this scope while(!Q.empty()) { ^ src/util.cpp:982:8: error: expected primary-expression before ‘int’ stack R; ^ src/util.cpp:982:8: error: expected ‘;’ before ‘int’ src/util.cpp:992:5: error: ‘R’ was not declared in this scope R.push(f); ^ src/util.cpp:998:9: error: ‘R’ was not declared in this scope while(!R.empty()) { ^ make: *** [src/util.o] Error 1

Please advise, any help is appreciated.