>
> Compiler: Default compiler
> Building Makefile: "C:\Dev-Cpp\Makefile.win"
> Executing make...
> make.exe -f "C:\Dev-Cpp\Makefile.win" all
> g++.exe -c main.cpp -o main.o -I"C:/DEV-CPP/include"
> -I"C:/DEV-CPP/include"
>
> In file included from graph-adj.h:12,
> from main.cpp:9:
> matrix.h: In method `Matrix<Type>::Matrix(int, int, const Type &)':
> matrix.h:76: parse error before `)'
matrix.h was included in grpah-adj, graph.adj.h was included from
main.cpp. The only error is in matrix.h, line 76. I don't see what's in
this line or the previous, watch at them, perhaps some silly mistake
like having seen at it and pressed a key. (I assume you compiled it
successfully with 4.9.6.0). Are you using some non-english character? It
also sounds like you are using some bad syntax like saying Matrix(Type),
or using a wrong kind of variable there.
>
>
> g++.exe -c graph-adj.cpp -o graph-adj.o -I"C:/DEV-CPP/include"
> -I"C:/DEV-CPP/include"
>
> In file included from graph-adj.h:12,
> from graph-adj.cpp:8:
> matrix.h: In method `Matrix<Type>::Matrix(int, int, const Type &)':
> matrix.h:76: parse error before `)'
The same error, which is reported twice.
>
> g++.exe main.o graph-adj.o -o "graph-adj.exe" -L"C:/DEV-CPP/lib"
> -I"C:/DEV-CPP/include" -I"C:/DEV-CPP/include"
>
> G__~1.EXE: main.o: No such file or directory
> G__~1.EXE: graph-adj.o: No such file or directory
> G__~1.EXE: No input files
Due to the error in the matrix.h graph.adj.cpp was not compiled, neither
cpp, so when it tries to link it doesn't find the object files.
Hope this helps
|