Page 1 of 1

Install problem under linux

Posted: Wed Apr 04, 2007 5:50 pm
by edi
Hi,

I have just downloaded vec2web, set QTDIR and started the build script. However, when building libqcad I got:

Code: Select all

../include/rs_math.h:90: warning: unused parameter ‘ok’
engine/rs_entity.cpp: In function ‘std::ostream& operator<<(std::ostream&, RS_Entity&)’:
engine/rs_entity.cpp:864: error: cast from ‘RS_Layer*’ to ‘int’ loses precisionmake[2]: *** [obj/rs_entity.o] Error 1
What is wrong? I have Ubuntu 6.06 with qt3.3 installed.

Re: Install problem under linux

Posted: Fri May 04, 2007 9:36 am
by andrew
You can safely comment that part out, it is only used for debugging.

edi wrote:Hi,

I have just downloaded vec2web, set QTDIR and started the build script. However, when building libqcad I got:

Code: Select all

../include/rs_math.h:90: warning: unused parameter ‘ok’
engine/rs_entity.cpp: In function ‘std::ostream& operator<<(std::ostream&, RS_Entity&)’:
engine/rs_entity.cpp:864: error: cast from ‘RS_Layer*’ to ‘int’ loses precisionmake[2]: *** [obj/rs_entity.o] Error 1
What is wrong? I have Ubuntu 6.06 with qt3.3 installed.