高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】problem with building example
problem with building example
problem with building example
hi
i'm a new user of dwgdirect, and i've got problems to build the example with the makefile
i use gcc 2.95 (and it's a big problem for me to update ...) and i get this output
if anybody can help that would be great
:c:\devlib\opendesign\examples\odreadex>make -f makefile
gcc -c -i../../include -i../../include/gi -i../../include/ge -i../../include/br
-i../../include/gs -i../../include/modelergeometry -i../../examples/exservices .
./../examples/exservices/exsystemservices.cpp
gcc -c -i../../include -i../../include/gi -i../../include/ge -i../../include/br
-i../../include/gs -i../../include/modelergeometry -i../../examples/exservices .
./../examples/exservices/exhostappservices.cpp
in file included from ../../include/ge/geline3d.h:28,
from ../../include/dbentity.h:30,
from ../../include/dbhatch.h:28,
from ../../include/hatchpatternmanager.h:26,
from ../../examples/exservices/exhostappservices.h:5,
from ../../examples/exservices/exhostappservices.cpp:14:
../../include/ge/gelinearent3d.h:223: cannot adjust access to `void odgecurve3d:
:appendsamplepoints(const odgeinterval *, double, odgepoint3darray &, odgedouble
array * = 0) const' in `class odgelinearent3d'
../../include/ge/gelinearent3d.h:197: because of local method `void odgelinear
ent3d::appendsamplepoints(double, double, double, odgepoint3darray &, odgedouble
array * = {unparsed}) const' with same name
../../include/ge/gelinearent3d.h:223: cannot adjust access to `class odgepoint3d
odgecurve3d::evalpoint(double, int, odgevector3darray &) const' in `class odgel
inearent3d'
../../include/ge/gelinearent3d.h:202: because of local method `class odgepoint
3d odgelinearent3d::evalpoint(double) const' with same name
in file included from ../../include/dbentity.h:30,
from ../../include/dbhatch.h:28,
from ../../include/hatchpatternmanager.h:26,
from ../../examples/exservices/exhostappservices.h:5,
from ../../examples/exservices/exhostappservices.cpp:14:
../../include/ge/geline3d.h:148: cannot adjust access to `void odgelinearent3d::
appendsamplepoints(double, double, double, odgepoint3darray &, odgedoublearray *
= 0) const' in `class odgeline3d'
../../include/ge/geline3d.h:138: because of local method `void odgeline3d::app
endsamplepoints(double, double, double, odgepoint3darray &, odgedoublearray * =
{unparsed}) const' with same name
in file included from ../../include/ge/geplane.h:27,
from ../../include/dbentity.h:31,
from ../../include/dbhatch.h:28,
from ../../include/hatchpatternmanager.h:26,
from ../../examples/exservices/exhostappservices.h:5,
from ../../examples/exservices/exhostappservices.cpp:14:
../../include/ge/geplanarent.h:413: cannot adjust access to `class odgepoint3d o
dgesurface::evalpoint(const odgepoint2d &, int, odgevector3darray &, odgevector3
d &) const' in `class odgeplanarent'
../../include/ge/geplanarent.h:77: because of local method `class odgepoint3d
odgeplanarent::evalpoint(const odgepoint2d &, int, odgevector3darray &, odgevect
or3d &) const' with same name
in file included from ../../examples/exservices/exhostappservices.cpp:14:
../../examples/exservices/exhostappservices.h:70: cannot adjust access to `void
oddbhostappservices::warning(odresult, oddbobjectid)' in `class exhostappservice
s'
../../examples/exservices/exhostappservices.h:39: because of local method `voi
d exhostappservices::warning(const odstring &)' with same name
../../examples/exservices/exhostappservices.h:70: cannot adjust access to `class
odsmartptr<oddbdatabase> oddbhostappservices::readfile(const char *, bool = fal
se, bool = false, oda::filesharemode = oda::ksharedenyno, const odpassword & = o
dpassword())' in `class exhostappservices'
../../examples/exservices/exhostappservices.h:64: because of local method `cla
ss odsmartptr<oddbdatabase> exhostappservices::readfile(const odchar *, bool = {
unparsed}, bool = {unparsed}, oda::filesharemode = {unparsed}, const odpassword
& = {unparsed})' with same name
make: *** [exhostappservices.o] error 1
|