wmpmdlsdk7 On VC++ 2010

Posted By: NeoNeper

wmpmdlsdk7 On VC++ 2010 - 04/08/13 20:07

Does anyone know tell me how to run sdk in Visual C++ 2010 Express?

One of several errors equal!


I I include and library files correctly but can not make it work!
1>LoadHMP.obj : error LNK2019: unresolved external symbol "public: bool __thiscall HMP5R::Close(void)" (?Close@HMP5R@@QAE_NXZ) referenced in function "bool __cdecl load_hmp7(char const *,class hmploader &)" (?load_hmp7@@YA_NPBDAAVhmploader@@@Z)

Posted By: HeelX

Re: wmpmdlsdk7 On VC++ 2010 - 04/08/13 20:56

You must link all lib and include files of the SDK, have you done that?
Posted By: NeoNeper

Re: wmpmdlsdk7 On VC++ 2010 - 04/08/13 21:45

New Projetc wit files from folder WmpMdlSdk.
LoadHMP

Includes

Library
Posted By: HeelX

Re: wmpmdlsdk7 On VC++ 2010 - 04/09/13 09:15

Have you added adll.lib, hmp5.lib and mdl7.lib as additional dependencies in the Linker-tab? You also need to ignore LIBC.LIB and use Multibyte as charset.
Posted By: qwe

Re: wmpmdlsdk7 On VC++ 2010 - 04/18/13 11:41

Originally Posted By: HeelX
Have you added adll.lib, hmp5.lib and mdl7.lib as additional dependencies in the Linker-tab? You also need to ignore LIBC.LIB and use Multibyte as charset.

What do you meen by "Multibyte as charset"
Posted By: 3dgs_snake

Re: wmpmdlsdk7 On VC++ 2010 - 04/18/13 11:59

Hi,

Project properties > Configuration properties > General > Character Set > Use Multi-Byte Character Set.
Posted By: NeoNeper

Re: wmpmdlsdk7 On VC++ 2010 - 04/18/13 12:02

Configuration Properties > General > Character SET > Use Multi-Byte Character set

Its?
EDIT:
respond together. LOL (^.^)
Posted By: qwe

Re: wmpmdlsdk7 On VC++ 2010 - 04/18/13 14:14

thanks
Posted By: NeoNeper

Re: wmpmdlsdk7 On VC++ 2010 - 05/11/13 16:15

Quote:

Have you added adll.lib, hmp5.lib and mdl7.lib as additional dependencies in the Linker-tab? You also need to ignore LIBC.LIB and use Multibyte as charset.


yes. I already I enabled > Multi-Byte Character.
The adll.lib no exisits in wmpmdlsdk7.zip

when I try to run something after you've done all the steps mentioned above I get several errors.

Code:
1>------ Build started: Project: medwebsdk, Configuration: Debug Win32 ------
1>SaveHMP.obj : error LNK2019: unresolved external symbol "public: bool __thiscall HMP5W::Close(void)" (?Close@HMP5W@@QAE_NXZ) referenced in function "bool __cdecl save_hmp7(char const *,class hmpdata const &)" (?save_hmp7@@YA_NPBDABVhmpdata@@@Z)
1>SaveHMP.obj : error LNK2019: unresolved external symbol "public: bool __thiscall HMP5W::FrameDone(void)" (?FrameDone@HMP5W@@QAE_NXZ) referenced in function "bool __cdecl save_hmp7(char const *,class hmpdata const &)" (?save_hmp7@@YA_NPBDABVhmpdata@@@Z)
1>SaveHMP.obj : error LNK2019: unresolved external symbol "public: bool __thiscall HMP7W::Vertex(short,float,float,float)" (?Vertex@HMP7W@@QAE_NFMMM@Z) referenced in function "bool __cdecl save_hmp7(char const *,class hmpdata const &)" (?save_hmp7@@YA_NPBDABVhmpdata@@@Z)
1>SaveHMP.obj : error LNK2019: unresolved external symbol "public: bool __thiscall HMP5W::Frame(char const *)" (?Frame@HMP5W@@QAE_NPBD@Z) referenced in function "bool __cdecl save_hmp7(char const *,class hmpdata const &)" (?save_hmp7@@YA_NPBDABVhmpdata@@@Z)
1>SaveHMP.obj : error LNK2019: unresolved external symbol "public: virtual void * __thiscall HMP7W::Open(char const *)" (?Open@HMP7W@@UAEPAXPBD@Z) referenced in function "bool __cdecl save_hmp7(char const *,class hmpdata const &)" (?save_hmp7@@YA_NPBDABVhmpdata@@@Z)
1>SaveHMP.obj : error LNK2019: unresolved external symbol "public: __thiscall HMP5W::HMP5W(void)" (??0HMP5W@@QAE@XZ) referenced in function "public: __thiscall HMP7W::HMP7W(void)" (??0HMP7W@@QAE@XZ)
1>SaveHMP.obj : error LNK2019: unresolved external symbol "public: virtual __thiscall HMP5W::~HMP5W(void)" (??1HMP5W@@UAE@XZ) referenced in function "public: virtual __thiscall HMP7W::~HMP7W(void)" (??1HMP7W@@UAE@XZ)
1>SaveHMP.obj : error LNK2019: unresolved external symbol "public: bool __thiscall HMP5W::SkinDone(void)" (?SkinDone@HMP5W@@QAE_NXZ) referenced in function "bool __cdecl save_skins<class HMP7W>(class HMP7W &,class hmpdata const &)" (??$save_skins@VHMP7W@@@@YA_NAAVHMP7W@@ABVhmpdata@@@Z)
1>SaveHMP.obj : error LNK2019: unresolved external symbol "public: bool __thiscall HMP5W::SkinMaterial(int,char const *)" (?SkinMaterial@HMP5W@@QAE_NHPBD@Z) referenced in function "bool __cdecl save_skins<class HMP7W>(class HMP7W &,class hmpdata const &)" (??$save_skins@VHMP7W@@@@YA_NAAVHMP7W@@ABVhmpdata@@@Z)
1>SaveHMP.obj : error LNK2019: unresolved external symbol "public: bool __thiscall HMP5W::SkinMaterial(float const *,float const *,float const *,float const *,float)" (?SkinMaterial@HMP5W@@QAE_NPBM000M@Z) referenced in function "bool __cdecl save_skins<class HMP7W>(class HMP7W &,class hmpdata const &)" (??$save_skins@VHMP7W@@@@YA_NAAVHMP7W@@ABVhmpdata@@@Z)
1>SaveHMP.obj : error LNK2019: unresolved external symbol "public: bool __thiscall HMP5W::SkinBits(unsigned char const *,unsigned char const *,unsigned char const *,unsigned char const *)" (?SkinBits@HMP5W@@QAE_NPBE000@Z) referenced in function "bool __cdecl save_skins<class HMP7W>(class HMP7W &,class hmpdata const &)" (??$save_skins@VHMP7W@@@@YA_NAAVHMP7W@@ABVhmpdata@@@Z)
1>SaveHMP.obj : error LNK2019: unresolved external symbol "public: bool __thiscall HMP5W::SkinSize(int,int,int,bool)" (?SkinSize@HMP5W@@QAE_NHHH_N@Z) referenced in function "bool __cdecl save_skins<class HMP7W>(class HMP7W &,class hmpdata const &)" (??$save_skins@VHMP7W@@@@YA_NAAVHMP7W@@ABVhmpdata@@@Z)
1>SaveHMP.obj : error LNK2019: unresolved external symbol "public: bool __thiscall HMP5W::Skin(unsigned char,char const *)" (?Skin@HMP5W@@QAE_NEPBD@Z) referenced in function "bool __cdecl save_skins<class HMP7W>(class HMP7W &,class hmpdata const &)" (??$save_skins@VHMP7W@@@@YA_NAAVHMP7W@@ABVhmpdata@@@Z)
1>MSVCRTD.lib(crtexew.obj) : error LNK2019: unresolved external symbol _WinMain@16 referenced in function ___tmainCRTStartup
1>c:\users\jus2dessa\documents\visual studio 2010\Projects\medwebsdk\Debug\medwebsdk.exe : fatal error LNK1120: 14 unresolved externals
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========



sorry for the delay in responding, I was busy on another project!.
Posted By: NeoNeper

Re: wmpmdlsdk7 On VC++ 2010 - 05/11/13 18:22

problem solved!.

Compiling subSystem on CONSOLE and hmp5.lib and mdl7.lib as additional dependencies.

And Disable Pre-Compiling Header for DLL project!.

Its works. Tanks brothers

© 2024 lite-C Forums