Jump to content
  • Advertisement
Sign in to follow this  

problems with vcglib

This topic is 2194 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi guys,

Has somebody here used vcglib? I got stuck in making it work with visual studio 2010. I will really appreaciate if someone gives me a hand.

Thanks,
Dongfung

Share this post


Link to post
Share on other sites
Advertisement
At the moment, I got bunch of error msgs:

1>main.obj : error LNK2019: unresolved external symbol "void __cdecl vcg::ply::interpret_texture_name(char const *,char const *,char *)" (?interpret_texture_name@ply@vcg@@YAXPBD0PAD@Z) referenced in function "public: static int __cdecl vcg::tri::io::ImporterPLY<class MyMesh>::Open(class MyMesh &,char const *,class vcg::tri::io::PlyInfo &)" (?Open@?$ImporterPLY@VMyMesh@@@io@tri@vcg@@SAHAAVMyMesh@@PBDAAVPlyInfo@234@@Z)
1>main.obj : error LNK2019: unresolved external symbol "public: int __thiscall vcg::ply::PlyFile::Read(void *)" (?Read@PlyFile@ply@vcg@@QAEHPAX@Z) referenced in function "public: static int __cdecl vcg::tri::io::ImporterPLY<class MyMesh>::Open(class MyMesh &,char const *,class vcg::tri::io::PlyInfo &)" (?Open@?$ImporterPLY@VMyMesh@@@io@tri@vcg@@SAHAAVMyMesh@@PBDAAVPlyInfo@234@@Z)
1>main.obj : error LNK2019: unresolved external symbol "public: char const * __thiscall vcg::ply::PlyFile::ElemName(int)" (?ElemName@PlyFile@ply@vcg@@QAEPBDH@Z) referenced in function "public: static int __cdecl vcg::tri::io::ImporterPLY<class MyMesh>::Open(class MyMesh &,char const *,class vcg::tri::io::PlyInfo &)" (?Open@?$ImporterPLY@VMyMesh@@@io@tri@vcg@@SAHAAVMyMesh@@PBDAAVPlyInfo@234@@Z)
1>main.obj : error LNK2019: unresolved external symbol "public: int __thiscall vcg::ply::PlyFile::ElemNumber(int)const " (?ElemNumber@PlyFile@ply@vcg@@QBEHH@Z) referenced in function "public: static int __cdecl vcg::tri::io::ImporterPLY<class MyMesh>::Open(class MyMesh &,char const *,class vcg::tri::io::PlyInfo &)" (?Open@?$ImporterPLY@VMyMesh@@@io@tri@vcg@@SAHAAVMyMesh@@PBDAAVPlyInfo@234@@Z)
1>main.obj : error LNK2019: unresolved external symbol "public: unsigned int __thiscall vcg::ply::PropDescriptor::memtypesize(void)const " (?memtypesize@PropDescriptor@ply@vcg@@QBEIXZ) referenced in function "public: static int __cdecl vcg::tri::io::ImporterPLY<class MyMesh>::Open(class MyMesh &,char const *,class vcg::tri::io::PlyInfo &)" (?Open@?$ImporterPLY@VMyMesh@@@io@tri@vcg@@SAHAAVMyMesh@@PBDAAVPlyInfo@234@@Z)
1>main.obj : error LNK2019: unresolved external symbol "public: __thiscall vcg::ply::PlyFile::~PlyFile(void)" (??1PlyFile@ply@vcg@@QAE@XZ) referenced in function "public: static int __cdecl vcg::tri::io::ImporterPLY<class MyMesh>::Open(class MyMesh &,char const *,class vcg::tri::io::PlyInfo &)" (?Open@?$ImporterPLY@VMyMesh@@@io@tri@vcg@@SAHAAVMyMesh@@PBDAAVPlyInfo@234@@Z)
1>main.obj : error LNK2019: unresolved external symbol "public: int __thiscall vcg::ply::PlyFile::Open(char const *,int)" (?Open@PlyFile@ply@vcg@@QAEHPBDH@Z) referenced in function "public: static int __cdecl vcg::tri::io::ImporterPLY<class MyMesh>::Open(class MyMesh &,char const *,class vcg::tri::io::PlyInfo &)" (?Open@?$ImporterPLY@VMyMesh@@@io@tri@vcg@@SAHAAVMyMesh@@PBDAAVPlyInfo@234@@Z)
1>main.obj : error LNK2019: unresolved external symbol "public: __thiscall vcg::ply::PlyFile::PlyFile(void)" (??0PlyFile@ply@vcg@@QAE@XZ) referenced in function "public: static int __cdecl vcg::tri::io::ImporterPLY<class MyMesh>::Open(class MyMesh &,char const *,class vcg::tri::io::PlyInfo &)" (?Open@?$ImporterPLY@VMyMesh@@@io@tri@vcg@@SAHAAVMyMesh@@PBDAAVPlyInfo@234@@Z)
1>main.obj : error LNK2019: unresolved external symbol "public: int __thiscall vcg::ply::PlyFile::AddToRead(char const *,char const *,int,int,unsigned int,int,int,int,int,unsigned int)" (?AddToRead@PlyFile@ply@vcg@@QAEHPBD0HHIHHHHI@Z) referenced in function "public: int __thiscall vcg::ply::PlyFile::AddToRead(class vcg::ply::PropDescriptor const &)" (?AddToRead@PlyFile@ply@vcg@@QAEHABVPropDescriptor@23@@Z)
1>main.obj : 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)
1>H:\Cplus\Testing\vgltest3\Debug\vgltest3.exe : fatal error LNK1120: 10 unresolved externals

So, I think there should be some problems with linking vcglib with visual studio. I am still looking around to find out a solution for this issue.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!