compiling problem

If you are having problems with dxflib, post here. Please report bugs here.

Moderator: andrew

compiling problem

Postby monkey_ph.d » Sat Oct 18, 2008 8:38 pm

hello,
i can't compile the libs on my 64bit Linux system. gcc 4.3.2 glibc 2.8.3
configure and make depend without a failure and then make fails with following:

In file included from src/dl_writer_ascii.h:35,
from src/dl_writer_ascii.cpp:34:
src/dl_writer.h: In member function ‘void DL_Writer::entityAttributes(const DL_Attributes&) const’:
src/dl_writer.h:333: 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] Error 1

what is wrong? thanks
monkey_ph.d
Registered Member
 
Posts: 1
Joined: Sat Oct 18, 2008 7:48 pm

Postby leif » Tue Mar 10, 2009 1:29 pm

Can't see what's happening here but ...
install
compat-gcc-34-c++.x86_64
ccache-2.4-13.fc9.x86_64
and
go
./configure CXX=gcc34

That will help you!

Regards,
Leif Adelöw
leif
Registered Member
 
Posts: 1
Joined: Tue Mar 10, 2009 1:22 pm


Return to dxflib Troubleshooting and Problems

Who is online

Users browsing this forum: No registered users and 3 guests

cron