Hey there,
I tried compiling Metassembler on a Ubuntu 14.04.02 this morning, but I was getting errors for mateAn.cpp:526:83: error: ‘getopt’ was not declared in this scope and the same for the reportCE.cpp and the Ncoords.cpp.
Hey there,
I tried compiling Metassembler on a Ubuntu 14.04.02 this morning, but I was getting errors for
mateAn.cpp:526:83: error: ‘getopt’ was not declared in this scope and the same for the reportCE.cpp and the Ncoords.cpp.
This seems to be a problem with whether getopt is included in the standard library import or not.. In any case, for me a simple fix was to add #include <getopt.h> in the 3 files and now it works like a charm. Might be worth adding the includes to the files directly maybe. :-)
Hey there,
I tried compiling Metassembler on a Ubuntu 14.04.02 this morning, but I was getting errors for
mateAn.cpp:526:83: error: ‘getopt’ was not declared in this scope and the same for the reportCE.cpp and the Ncoords.cpp.
This seems to be a problem with whether getopt is included in the standard library import or not.. In any case, for me a simple fix was to add #include <getopt.h> in the 3 files and now it works like a charm. Might be worth adding the includes to the files directly maybe. :-)
Cheers,
Bastian
Thanks Bastien. It seems different compilers have different requirements.
Thank you
Mike
Sent from my iPhone
Thanks for taking care of it. :-)