Originally posted by: Zele
Hi all,
I have a long time using cplex with Visual Studio in windows, but now, I have Mac Os with Net Beans 6.8. I am doing a big .cpp program and whe I compile, I have the following output:
"Undefined symbols:
"_CFRelease", referenced from:
__ad918f68152890f5d396c114d5a8f7d1 in libcplex.a(env.o)
__0db551a717f7c3cad7f7426fdb5cf72b in libcplex.a(env.o)
__74b2744bdd4d6c720842acc15d9ed210 in libcplex.a(env.o)
"_IOServiceMatching", referenced from:
__ad918f68152890f5d396c114d5a8f7d1 in libcplex.a(env.o)
__0db551a717f7c3cad7f7426fdb5cf72b in libcplex.a(env.o)
__74b2744bdd4d6c720842acc15d9ed210 in libcplex.a(env.o)
"_IORegistryEntryCreateCFProperty", referenced from:
__ad918f68152890f5d396c114d5a8f7d1 in libcplex.a(env.o)
__0db551a717f7c3cad7f7426fdb5cf72b in libcplex.a(env.o)
__74b2744bdd4d6c720842acc15d9ed210 in libcplex.a(env.o)
"_CFStringGetTypeID", referenced from:
__ad918f68152890f5d396c114d5a8f7d1 in libcplex.a(env.o)
__0db551a717f7c3cad7f7426fdb5cf72b in libcplex.a(env.o)
__74b2744bdd4d6c720842acc15d9ed210 in libcplex.a(env.o)
"_IOObjectRelease", referenced from:
__ad918f68152890f5d396c114d5a8f7d1 in libcplex.a(env.o)
__0db551a717f7c3cad7f7426fdb5cf72b in libcplex.a(env.o)
__74b2744bdd4d6c720842acc15d9ed210 in libcplex.a(env.o)
"_IOServiceGetMatchingService", referenced from:
__ad918f68152890f5d396c114d5a8f7d1 in libcplex.a(env.o)
__0db551a717f7c3cad7f7426fdb5cf72b in libcplex.a(env.o)
__74b2744bdd4d6c720842acc15d9ed210 in libcplex.a(env.o)
"_CFStringGetCString", referenced from:
__ad918f68152890f5d396c114d5a8f7d1 in libcplex.a(env.o)
__0db551a717f7c3cad7f7426fdb5cf72b in libcplex.a(env.o)
__74b2744bdd4d6c720842acc15d9ed210 in libcplex.a(env.o)
"_CFGetTypeID", referenced from:
__ad918f68152890f5d396c114d5a8f7d1 in libcplex.a(env.o)
__ad918f68152890f5d396c114d5a8f7d1 in libcplex.a(env.o)
__0db551a717f7c3cad7f7426fdb5cf72b in libcplex.a(env.o)
__0db551a717f7c3cad7f7426fdb5cf72b in libcplex.a(env.o)
__74b2744bdd4d6c720842acc15d9ed210 in libcplex.a(env.o)
__74b2744bdd4d6c720842acc15d9ed210 in libcplex.a(env.o)
"_CFDataGetLength", referenced from:
__ad918f68152890f5d396c114d5a8f7d1 in libcplex.a(env.o)
__0db551a717f7c3cad7f7426fdb5cf72b in libcplex.a(env.o)
__74b2744bdd4d6c720842acc15d9ed210 in libcplex.a(env.o)
"_CFDataGetTypeID", referenced from:
__ad918f68152890f5d396c114d5a8f7d1 in libcplex.a(env.o)
__0db551a717f7c3cad7f7426fdb5cf72b in libcplex.a(env.o)
__74b2744bdd4d6c720842acc15d9ed210 in libcplex.a(env.o)
"_kIOMasterPortDefault", referenced from:
_kIOMasterPortDefault$non_lazy_ptr in libcplex.a(env.o)
"_CFDataGetBytePtr", referenced from:
__ad918f68152890f5d396c114d5a8f7d1 in libcplex.a(env.o)
__0db551a717f7c3cad7f7426fdb5cf72b in libcplex.a(env.o)
__74b2744bdd4d6c720842acc15d9ed210 in libcplex.a(env.o)
"___CFStringMakeConstantString", referenced from:
__ad918f68152890f5d396c114d5a8f7d1 in libcplex.a(env.o)
__0db551a717f7c3cad7f7426fdb5cf72b in libcplex.a(env.o)
__74b2744bdd4d6c720842acc15d9ed210 in libcplex.a(env.o)
"_kCFAllocatorDefault", referenced from:
_kCFAllocatorDefault$non_lazy_ptr in libcplex.a(env.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[2]: ***
dist/Debug/GNU-MacOSX/frc_wp Error 1
make[1]: ***
http://.build-conf Error 2
make: ***
http://.build-impl Error 2
BUILD FAILED (exit value 2, total time: 1s)"
In project properties, in Build, in C++ compiler, I have include cplex directoreies, and, in Linker, I have included the cplex libraries, with extension .a.
I will apreciate very much if someone could help me,
thanks in advance.
Cele
#CPLEXOptimizers#DecisionOptimization