[Soc-2005-dev] Booleans compile problem

Chris Want cwant at ualberta.ca
Fri Sep 2 23:36:42 CEST 2005


Hi Marc,

I get the following linker problem when compiling your code:

/scratch/tmp/soc-2005/mfreixas/soc-blender/../lib/linux-glibc2.3.5-i386/boolop/lib/libboolop.a(BOP_MaterialContainer.o): 
In function `BOP_MaterialContainer::getFaceMaterial(unsigned int)':
BOP_MaterialContainer.cpp:(.text+0xabb): undefined reference to 
`BOP_Material::getFaceMaterial() const'
collect2: ld returned 1 exit status

Removing 'inline' from the declaration of getFaceMaterial()
allows it to link, but I don't know C++ well, so maybe that
isn't the best way.

Chris


More information about the Soc-2005-dev mailing list