helpCal3D - 3d character animation library - Support: sr #2329, Symbols not found

 
 
Show feedback again

sr #2329: Symbols not found

Submitted by:  None
Submitted on:  Fri 17 Apr 2009 08:03:54 PM UTC  
 
Category: NonePriority: 5 - Normal
Severity: 3 - NormalStatus: None
Privacy: PublicAssigned to: None
Originator Email: -unavailable-Open/Closed: Open
Operating System: Mac OS

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sun 21 Jun 2009 02:24:57 PM UTC, comment #1:

Seems to me as if you forgot to link against the cal3d library.

Try to add -lcal3d to your compilation:
g++ -framework GLUT -framework OpenGL -o "mtd07013_ue01" -lcal3d ./Flock.o ./boid.o ./main.o ./tga.o ./tick.o ./viewer.o

Martin Felis <mfelis>
Fri 17 Apr 2009 08:03:54 PM UTC, original submission:

I tried to compile a mini viewer application on MacOS 10.5.

/usr/local/include/cal3d is installed
glut Framework is installed

I am working with Eclipse.

Compiling-Log:

        • Build of configuration Debug for project mtd07013_project ****

make all
Building target: mtd07013_ue01
Invoking: MacOS X C++ Linker
g++ -framework GLUT -framework OpenGL -o "mtd07013_ue01" ./Flock.o ./boid.o ./main.o ./tga.o ./tick.o ./viewer.o
Undefined symbols:
"_ilInit", referenced from:
Viewer::onInit() in viewer.o
"_iluInit", referenced from:
Viewer::onInit() in viewer.o
"CalModel::setMaterialSet(int)", referenced from:
Viewer::onInit() in viewer.o
"CalRenderer::getSpecularColor(unsigned char*)", referenced from:
Viewer::renderModel(CalRenderer*, int) in viewer.o
"CalCoreModel::loadCoreSkeleton(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)", referenced from:
Viewer::parseModelConfiguration(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)in viewer.o
"CalCoreModel::getCoreAnimation(int)", referenced from:
Viewer::onInit() in viewer.o
"CalModel::CalModel(CalCoreModel*)", referenced from:
Viewer::onCreate(int, char**)in viewer.o
Viewer::onCreate(int, char**)in viewer.o
"CalCoreModel::loadCoreMaterial(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)", referenced from:
Viewer::parseModelConfiguration(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)in viewer.o
"CalModel::getSkeleton() const", referenced from:
Viewer::renderSkeleton(CalModel*) in viewer.o
Viewer::renderSkeleton(CalModel*) in viewer.o
"CalRenderer::endRendering()", referenced from:
Viewer::renderModel(CalRenderer*, int) in viewer.o
"CalModel::getRenderer() const", referenced from:
Viewer::drawBoids() in viewer.o
Viewer::drawTargets() in viewer.o
"CalModel::~CalModel()", referenced from:
Viewer::onShutdown() in viewer.o
Viewer::onShutdown() in viewer.o
"CalSkeleton::getBonePoints(float*)", referenced from:
Viewer::renderSkeleton(CalModel*) in viewer.o
"CalCoreModel::getCoreMaterialCount()", referenced from:
Viewer::onCreate(int, char**)in viewer.o
Viewer::onInit() in viewer.o
"CalRenderer::getSubmeshCount(int)", referenced from:
Viewer::renderModel(CalRenderer*, int) in viewer.o
"CalMixer::blendCycle(int, float, float)", referenced from:
Viewer::onKey(unsigned char, int, int)in viewer.o
Viewer::onKey(unsigned char, int, int)in viewer.o
Viewer::onInit() in viewer.o
Viewer::onInit() in viewer.o
"CalModel::getMixer() const", referenced from:
Viewer::onKey(unsigned char, int, int)in viewer.o
Viewer::onKey(unsigned char, int, int)in viewer.o
Viewer::onKey(unsigned char, int, int)in viewer.o
Viewer::onKey(unsigned char, int, int)in viewer.o
Viewer::onInit() in viewer.o
Viewer::onInit() in viewer.o
"CalRenderer::getDiffuseColor(unsigned char*)", referenced from:
Viewer::renderModel(CalRenderer*, int) in viewer.o
"CalRenderer::getAmbientColor(unsigned char*)", referenced from:
Viewer::renderModel(CalRenderer*, int) in viewer.o
"_ilutInit", referenced from:
Viewer::onInit() in viewer.o
"Viewer::onSpecialKey(int, int, int)", referenced from:
specialKey(int, int, int)in main.o
"CalRenderer::getMapUserData(int)", referenced from:
Viewer::renderModel(CalRenderer*, int) in viewer.o
"CalModel::attachMesh(int)", referenced from:
Viewer::onInit() in viewer.o
Viewer::onInit() in viewer.o
"CalCoreModel::loadCoreAnimation(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)", referenced from:
Viewer::parseModelConfiguration(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)in viewer.o
"Viewer::onSpecialKeyUp(int, int, int)", referenced from:
specialKeyUp(int, int, int)in main.o
"CalRenderer::getFaces(int*)", referenced from:
Viewer::renderModel(CalRenderer*, int) in viewer.o
"CalRenderer::getNormals(float*, int)", referenced from:
Viewer::renderModel(CalRenderer*, int) in viewer.o
"CalCoreMaterial::getMapFilename(int)", referenced from:
Viewer::onInit() in viewer.o
"CalCoreMaterial::getMapCount()", referenced from:
Viewer::onInit() in viewer.o
"CalRenderer::getVertices(float*, int)", referenced from:
Viewer::renderModel(CalRenderer*, int) in viewer.o
"CalModel::setLodLevel(float)", referenced from:
Viewer::onKey(unsigned char, int, int)in viewer.o
"CalCoreModel::loadCoreMesh(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)", referenced from:
Viewer::parseModelConfiguration(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)in viewer.o
"CalCoreAnimation::getDuration() const", referenced from:
Viewer::onInit() in viewer.o
"CalCoreModel::setCoreMaterialId(int, int, int)", referenced from:
Viewer::onCreate(int, char**)in viewer.o
"CalRenderer::getTextureCoordinates(int, float*, int)", referenced from:
Viewer::renderModel(CalRenderer*, int) in viewer.o
"CalCoreModel::getCoreAnimationCount()", referenced from:
Viewer::onInit() in viewer.o
"CalCoreModel::CalCoreModel(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)", referenced from:
Viewer::Viewer()in viewer.o
Viewer::Viewer()in viewer.o
"CalRenderer::getMapCount()", referenced from:
Viewer::renderModel(CalRenderer*, int) in viewer.o
Viewer::renderModel(CalRenderer*, int) in viewer.o
"CalRenderer::getMeshCount()", referenced from:
Viewer::renderModel(CalRenderer*, int) in viewer.o
"CalCoreModel::getCoreMeshCount()", referenced from:
Viewer::onInit() in viewer.o
"CalCoreModel::createCoreMaterialThread(int)", referenced from:
Viewer::onCreate(int, char**)in viewer.o
"CalModel::update(float)", referenced from:
Viewer::onIdle() in viewer.o
Viewer::onIdle() in viewer.o
"CalCoreMaterial::setMapUserData(int, void*)", referenced from:
Viewer::onInit() in viewer.o
"CalError::printLastError()", referenced from:
Viewer::parseModelConfiguration(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)in viewer.o
Viewer::parseModelConfiguration(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)in viewer.o
Viewer::parseModelConfiguration(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)in viewer.o
Viewer::parseModelConfiguration(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)in viewer.o
"CalRenderer::beginRendering()", referenced from:
Viewer::renderModel(CalRenderer*, int) in viewer.o
"CalMixer::clearCycle(int, float)", referenced from:
Viewer::onKey(unsigned char, int, int)in viewer.o
Viewer::onKey(unsigned char, int, int)in viewer.o
"CalRenderer::selectMeshSubmesh(int, int)", referenced from:
Viewer::renderModel(CalRenderer*, int) in viewer.o
"CalCoreModel::getCoreMaterial(int)", referenced from:
Viewer::onInit() in viewer.o
"CalSkeleton::getBoneLines(float*)", referenced from:
Viewer::renderSkeleton(CalModel*) in viewer.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make: *** [mtd07013_ue01] Error 1

Anonymous

 

(Note: upload size limit is set to 1024 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by mfelis (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    No Changes Have Been Made to This Item
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup