linker error in template instance

A

antani

When I add to my code this line

vcg::tri::io::Importer<CMesh>::Open(mesh,"mesh.ply");

I get a linker error.
Please help me.

I tested a qt empty project with only main function.
I added the incriminate line of code and work correctly.

mi error LNK2019: unresolved external symbol "private: void __thiscall
vcg::ply::plyFile::compile(class vcg::ply::plyElement *)" (?
compile@PlyFile@ply@vcg@@AAEXPAVPlyElement@23@@Z) referenced in
function "public: void __thiscall
vcg::ply::plyFile::SetCurElement(int)" (?
SetCurElement@PlyFile@ply@vcg@@QAEXH@Z)
 
A

antani

antani ha scritto:
When I add to my code this line

vcg::tri::io::Importer<CMesh>::Open(mesh,"mesh.ply");

I get a linker error.
Please help me.

I tested a qt empty project with only main function.
I added the incriminate line of code and work correctly.

I'm sorry the code doesn't work with minimal qt application and report
itself linker error.
Please help me!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top