I'm trying to compile now my version of gose with meshmagic on windows.
The linux version is fine, but i've got some linking errors.
I'm not a big fan of developping on visual so maybe i'm missing something :
Code: Select all
Copyright (C) Microsoft Corporation. All rights reserved.
Édition des liens en cours...
Création de la bibliothèque ..\Runtime\Release\gose.lib et de l'objet ..\Runtime\Release\gose.exp
MapEditorTreeView.obj : error LNK2019: symbole externe non résolu "public: virtual __thiscall meshmagick::Tool::~Tool(void)" (??1Tool@meshmagick@@UAE@XZ) référencé dans la fonction "public: virtual void * __thiscall meshmagick::Tool::`scalar deleting destructor'(unsigned int)" (??_GTool@meshmagick@@UAEPAXI@Z)
MapEditorTreeView.obj : error LNK2019: symbole externe non résolu "protected: static class meshmagick::OgreEnvironment * Ogre::Singleton<class meshmagick::OgreEnvironment>::ms_Singleton" (?ms_Singleton@?$Singleton@VOgreEnvironment@meshmagick@@@Ogre@@1PAVOgreEnvironment@meshmagick@@A) référencé dans la fonction "public: __thiscall Ogre::Singleton<class meshmagick::OgreEnvironment>::Singleton<class meshmagick::OgreEnvironment>(void)" (??0?$Singleton@VOgreEnvironment@meshmagick@@@Ogre@@QAE@XZ)
MapEditorTreeView.obj : error LNK2001: symbole externe non résolu "public: virtual class meshmagick::Tool * __thiscall meshmagick::InfoToolFactory::createTool(void)" (?createTool@InfoToolFactory@meshmagick@@UAEPAVTool@2@XZ)
MapEditorTreeView.obj : error LNK2001: symbole externe non résolu "public: virtual void __thiscall meshmagick::InfoToolFactory::destroyTool(class meshmagick::Tool *)" (?destroyTool@InfoToolFactory@meshmagick@@UAEXPAVTool@2@@Z)
MapEditorTreeView.obj : error LNK2001: symbole externe non résolu "public: virtual class std::set<struct meshmagick::OptionDefinition,struct std::less<struct meshmagick::OptionDefinition>,class std::allocator<struct meshmagick::OptionDefinition> > __thiscall meshmagick::InfoToolFactory::getOptionDefinitions(void)const " (?getOptionDefinitions@InfoToolFactory@meshmagick@@UBE?AV?$set@UOptionDefinition@meshmagick@@U?$less@UOptionDefinition@meshmagick@@@std@@V?$allocator@UOptionDefinition@meshmagick@@@4@@std@@XZ)
MapEditorTreeView.obj : error LNK2001: symbole externe non résolu "public: virtual class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __thiscall meshmagick::InfoToolFactory::getToolName(void)const " (?getToolName@InfoToolFactory@meshmagick@@UBE?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@XZ)
MapEditorTreeView.obj : error LNK2001: symbole externe non résolu "public: virtual class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __thiscall meshmagick::InfoToolFactory::getToolDescription(void)const " (?getToolDescription@InfoToolFactory@meshmagick@@UBE?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@XZ)
MapEditorTreeView.obj : error LNK2001: symbole externe non résolu "public: virtual void __thiscall meshmagick::InfoToolFactory::printToolHelp(class std::basic_ostream<char,struct std::char_traits<char> > &)const " (?printToolHelp@InfoToolFactory@meshmagick@@UBEXAAV?$basic_ostream@DU?$char_traits@D@std@@@std@@@Z)
MapEditorTreeView.obj : error LNK2001: symbole externe non résolu "public: virtual class meshmagick::Tool * __thiscall meshmagick::TransformToolFactory::createTool(void)" (?createTool@TransformToolFactory@meshmagick@@UAEPAVTool@2@XZ)
MapEditorTreeView.obj : error LNK2001: symbole externe non résolu "public: virtual void __thiscall meshmagick::TransformToolFactory::destroyTool(class meshmagick::Tool *)" (?destroyTool@TransformToolFactory@meshmagick@@UAEXPAVTool@2@@Z)
MapEditorTreeView.obj : error LNK2001: symbole externe non résolu "public: virtual class std::set<struct meshmagick::OptionDefinition,struct std::less<struct meshmagick::OptionDefinition>,class std::allocator<struct meshmagick::OptionDefinition> > __thiscall meshmagick::TransformToolFactory::getOptionDefinitions(void)const " (?getOptionDefinitions@TransformToolFactory@meshmagick@@UBE?AV?$set@UOptionDefinition@meshmagick@@U?$less@UOptionDefinition@meshmagick@@@std@@V?$allocator@UOptionDefinition@meshmagick@@@4@@std@@XZ)
MapEditorTreeView.obj : error LNK2001: symbole externe non résolu "public: virtual class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __thiscall meshmagick::TransformToolFactory::getToolName(void)const " (?getToolName@TransformToolFactory@meshmagick@@UBE?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@XZ)
MapEditorTreeView.obj : error LNK2001: symbole externe non résolu "public: virtual class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __thiscall meshmagick::TransformToolFactory::getToolDescription(void)const " (?getToolDescription@TransformToolFactory@meshmagick@@UBE?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@XZ)
MapEditorTreeView.obj : error LNK2001: symbole externe non résolu "public: virtual void __thiscall meshmagick::TransformToolFactory::printToolHelp(class std::basic_ostream<char,struct std::char_traits<char> > &)const " (?printToolHelp@TransformToolFactory@meshmagick@@UBEXAAV?$basic_ostream@DU?$char_traits@D@std@@@std@@@Z)
MapEditorTreeView.obj : error LNK2001: symbole externe non résolu "public: virtual class meshmagick::Tool * __thiscall meshmagick::MeshMergeToolFactory::createTool(void)" (?createTool@MeshMergeToolFactory@meshmagick@@UAEPAVTool@2@XZ)
MapEditorTreeView.obj : error LNK2001: symbole externe non résolu "public: virtual void __thiscall meshmagick::MeshMergeToolFactory::destroyTool(class meshmagick::Tool *)" (?destroyTool@MeshMergeToolFactory@meshmagick@@UAEXPAVTool@2@@Z)
MapEditorTreeView.obj : error LNK2001: symbole externe non résolu "public: virtual class std::set<struct meshmagick::OptionDefinition,struct std::less<struct meshmagick::OptionDefinition>,class std::allocator<struct meshmagick::OptionDefinition> > __thiscall meshmagick::MeshMergeToolFactory::getOptionDefinitions(void)const " (?getOptionDefinitions@MeshMergeToolFactory@meshmagick@@UBE?AV?$set@UOptionDefinition@meshmagick@@U?$less@UOptionDefinition@meshmagick@@@std@@V?$allocator@UOptionDefinition@meshmagick@@@4@@std@@XZ)
MapEditorTreeView.obj : error LNK2001: symbole externe non résolu "public: virtual class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __thiscall meshmagick::MeshMergeToolFactory::getToolName(void)const " (?getToolName@MeshMergeToolFactory@meshmagick@@UBE?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@XZ)
MapEditorTreeView.obj : error LNK2001: symbole externe non résolu "public: virtual class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __thiscall meshmagick::MeshMergeToolFactory::getToolDescription(void)const " (?getToolDescription@MeshMergeToolFactory@meshmagick@@UBE?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@XZ)
MapEditorTreeView.obj : error LNK2001: symbole externe non résolu "public: virtual void __thiscall meshmagick::MeshMergeToolFactory::printToolHelp(class std::basic_ostream<char,struct std::char_traits<char> > &)const " (?printToolHelp@MeshMergeToolFactory@meshmagick@@UBEXAAV?$basic_ostream@DU?$char_traits@D@std@@@std@@@Z)
MapEditorTreeView.obj : error LNK2019: symbole externe non résolu "public: struct meshmagick::MeshInfo __thiscall meshmagick::InfoTool::getMeshInfo(class Ogre::MeshPtr)const " (?getMeshInfo@InfoTool@meshmagick@@QBE?AUMeshInfo@2@VMeshPtr@Ogre@@@Z) référencé dans la fonction "protected: void __thiscall MapEditorTreeView::addEntry(class Gtk::TreeRow,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?addEntry@MapEditorTreeView@@IAEXVTreeRow@Gtk@@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@1@Z)
..\Runtime\Release\gose.exe : fatal error LNK1120: 21 externes non résolus
i have tried to add the /OPT;noref and i had a -DMESHMAGIC_EXPORTS but it's the same
