Menu

#4 g++ error

open
nobody
5
2005-03-04
2005-03-04
Anonymous
No

I'm trying to compile this for OS X (i'm using the latest version of the
dev tools on OS 10.3.8) and I get this error:

g++ -O3 -fPIC -Wall -I. -I. ./iviExtensionMgrPrv.cc -c
iviExtensionMgrPrv.cc: In constructor `
iviExtensionMgrPrv::iviExtensionMgrPrv(iviExtensionMgr*,
iviCommon*, const
char*)':
iviExtensionMgrPrv.cc:23: error: `iviCommon_Prv' undeclared (first
use this
function)
iviExtensionMgrPrv.cc:23: error: (Each undeclared identifier is
reported only
once for each function it appears in.)
make[3]: *** [iviExtensionMgrPrv.o] Error 1
make[2]: *** [subdirs] Error 1
make[1]: *** [subdirs] Error 1
make: *** [subdirs] Error 1

It seems to be saying that the variable iviCommon_Prv is
undeclared. It's probably not suppose to do this, so what am I doing
wrong in trying to compile this? Is it just not compatible as-is with
OS X?

Discussion