Page 1 of 1

compiler problems opensuse x86_64

Posted: Fri May 29, 2009 7:26 pm
by johannes911
Hello to all,

I post this under a wrong theme. I hope now ist's ok.


I try to compile qcad but the first part stops with error:

src/dl_writer.h: In member function ‘void DL_Writer::entityAttributes(const DL_Attributes&) const’:
src/dl_writer.h:337: error: ‘strcasecmp’ was not declared in this scope
src/dl_writer_ascii.cpp: In member function ‘virtual void DL_WriterA::dxfReal(int, double) const’:
src/dl_writer_ascii.cpp:72: error: ‘strlen’ was not declared in this scope
src/dl_writer_ascii.cpp:81: error: ‘strlen’ was not declared in this scope
src/dl_writer_ascii.cpp: In static member function ‘static void DL_WriterA::strReplace(char*, char, char)’:
src/dl_writer_ascii.cpp:147: error: ‘strlen’ was not declared in this scope
make: *** [src/dl_writer_ascii.o] Fehler 1
Building libdxf.a failed


I read the other thread in this forum, but on my opensuse 11.1 system there is no compat...

gcc++ is 4.3...


what can I do / test?

thanks a lot
Johannes

Posted: Tue Jun 02, 2009 8:00 am
by janif
You are trying to compile unpatched version. You could install already compiled version from package.