PDA

View Full Version : can VS2010 express compile anything?


MTuttle
12-06-2010, 11:11 PM
It won't even assemble the example plug-ins from Maya's devkit! It can load the Maya wizard, and I figured out how to get it to find the dependencies, and then it gives me errors about the code I didn't even write! Is there any other program that's actually built for building .mll files?

Robert Bateman
12-07-2010, 10:41 AM
It will build the samples. You may need to set up the paths correctly to the lib and header files. You may also need to install the windows platform SDK for some of them. You might also want to put the actual errors here so people can actually help....

MTuttle
12-07-2010, 04:35 PM
Sorry I was over heated at the time but I managed to find help for a few of the errors and actually got one of the devkit's example plugins to work. I'm now trying to build the shapeConstraint plugin from creativeCrash for maya 2011 x64, and the output keeps telling me I have unresolved externals. I think it's because there's a library missing, but I don't know which one it is:
1>------ Build started: Project: shapeConstraints, Configuration: Release x64 ------
1> Creating library Release/meshConstraint.lib and object Release/meshConstraint.exp
1>constraintLocator.obj : error LNK2019: unresolved external symbol __imp_glPopAttrib referenced in function "public: virtual void __cdecl constraintLocator::draw(class M3dView &,class MDagPath const &,enum M3dView::DisplayStyle,enum M3dView::DisplayStatus)" (?draw@constraintLocator@@UEAAXAEAVM3dView@@AEBVMDagPath@@W4DisplayStyle@2@W4DisplayStatus@2@@Z)
1>constraintLocator.obj : error LNK2019: unresolved external symbol __imp_glVertex3f referenced in function "public: virtual void __cdecl constraintLocator::draw(class M3dView &,class MDagPath const &,enum M3dView::DisplayStyle,enum M3dView::DisplayStatus)" (?draw@constraintLocator@@UEAAXAEAVM3dView@@AEBVMDagPath@@W4DisplayStyle@2@W4DisplayStatus@2@@Z)
1>constraintLocator.obj : error LNK2019: unresolved external symbol __imp_glEnd referenced in function "public: virtual void __cdecl constraintLocator::draw(class M3dView &,class MDagPath const &,enum M3dView::DisplayStyle,enum M3dView::DisplayStatus)" (?draw@constraintLocator@@UEAAXAEAVM3dView@@AEBVMDagPath@@W4DisplayStyle@2@W4DisplayStatus@2@@Z)
1>constraintLocator.obj : error LNK2019: unresolved external symbol __imp_glVertex2f referenced in function "public: virtual void __cdecl constraintLocator::draw(class M3dView &,class MDagPath const &,enum M3dView::DisplayStyle,enum M3dView::DisplayStatus)" (?draw@constraintLocator@@UEAAXAEAVM3dView@@AEBVMDagPath@@W4DisplayStyle@2@W4DisplayStatus@2@@Z)
1>constraintLocator.obj : error LNK2019: unresolved external symbol __imp_glBegin referenced in function "public: virtual void __cdecl constraintLocator::draw(class M3dView &,class MDagPath const &,enum M3dView::DisplayStyle,enum M3dView::DisplayStatus)" (?draw@constraintLocator@@UEAAXAEAVM3dView@@AEBVMDagPath@@W4DisplayStyle@2@W4DisplayStatus@2@@Z)
1>constraintLocator.obj : error LNK2019: unresolved external symbol __imp_glPushAttrib referenced in function "public: virtual void __cdecl constraintLocator::draw(class M3dView &,class MDagPath const &,enum M3dView::DisplayStyle,enum M3dView::DisplayStatus)" (?draw@constraintLocator@@UEAAXAEAVM3dView@@AEBVMDagPath@@W4DisplayStyle@2@W4DisplayStatus@2@@Z)
1>libcmt.lib(trnsctrl.obj) : error LNK2019: unresolved external symbol RtlLookupFunctionEntry referenced in function "unsigned __int64 * __cdecl _GetEstablisherFrame(unsigned __int64 *,struct _xDISPATCHER_CONTEXT *,struct _s_FuncInfo const *,unsigned __int64 *)" (?_GetEstablisherFrame@@YAPEA_KPEA_KPEAU_xDISPATCHER_CONTEXT@@PEBU_s_FuncInfo@@0@Z)
1>libcmt.lib(gs_report.obj) : error LNK2001: unresolved external symbol RtlLookupFunctionEntry
1>libcmt.lib(invarg.obj) : error LNK2001: unresolved external symbol RtlLookupFunctionEntry
1>libcmt.lib(trnsctrl.obj) : error LNK2019: unresolved external symbol RtlUnwindEx referenced in function _UnwindNestedFrames
1>libcmt.lib(jmpuwind.obj) : error LNK2001: unresolved external symbol RtlUnwindEx
1>libcmt.lib(crtmboxw.obj) : error LNK2001: unresolved external symbol __imp_EncodePointer
1>libcmt.lib(purevirt.obj) : error LNK2019: unresolved external symbol __imp_EncodePointer referenced in function _purecall
1>libcmt.lib(handler.obj) : error LNK2001: unresolved external symbol __imp_EncodePointer
1>libcmt.lib(invarg.obj) : error LNK2001: unresolved external symbol __imp_EncodePointer
1>libcmt.lib(winsig.obj) : error LNK2001: unresolved external symbol __imp_EncodePointer
1>libcmt.lib(rand_s.obj) : error LNK2001: unresolved external symbol __imp_EncodePointer
1>libcmt.lib(onexit.obj) : error LNK2001: unresolved external symbol __imp_EncodePointer
1>libcmt.lib(tidtable.obj) : error LNK2001: unresolved external symbol __imp_EncodePointer
1>libcmt.lib(hooks.obj) : error LNK2001: unresolved external symbol __imp_EncodePointer
1>libcmt.lib(cmiscdat.obj) : error LNK2001: unresolved external symbol __imp_EncodePointer
1>libcmt.lib(purevirt.obj) : error LNK2001: unresolved external symbol __imp_DecodePointer
1>libcmt.lib(invarg.obj) : error LNK2001: unresolved external symbol __imp_DecodePointer
1>libcmt.lib(winsig.obj) : error LNK2001: unresolved external symbol __imp_DecodePointer
1>libcmt.lib(rand_s.obj) : error LNK2001: unresolved external symbol __imp_DecodePointer
1>libcmt.lib(crtmboxw.obj) : error LNK2001: unresolved external symbol __imp_DecodePointer
1>libcmt.lib(onexit.obj) : error LNK2019: unresolved external symbol __imp_DecodePointer referenced in function _onexit_nolock
1>libcmt.lib(hooks.obj) : error LNK2001: unresolved external symbol __imp_DecodePointer
1>libcmt.lib(crt0dat.obj) : error LNK2001: unresolved external symbol __imp_DecodePointer
1>libcmt.lib(handler.obj) : error LNK2001: unresolved external symbol __imp_DecodePointer
1>libcmt.lib(dllcrt0.obj) : error LNK2019: unresolved external symbol __imp_GetCurrentThreadId referenced in function _CRT_INIT
1>libcmt.lib(tidtable.obj) : error LNK2001: unresolved external symbol __imp_GetCurrentThreadId
1>libcmt.lib(gs_support.obj) : error LNK2001: unresolved external symbol __imp_GetCurrentThreadId
1>libcmt.lib(dllcrt0.obj) : error LNK2019: unresolved external symbol __imp_FlsSetValue referenced in function _CRT_INIT
1>libcmt.lib(tidtable.obj) : error LNK2001: unresolved external symbol __imp_FlsSetValue
1>libcmt.lib(dllcrt0.obj) : error LNK2019: unresolved external symbol __imp_GetCommandLineA referenced in function _CRT_INIT
1>libcmt.lib(tidtable.obj) : error LNK2019: unresolved external symbol __imp_FlsGetValue referenced in function __fls_getvalue
1>libcmt.lib(tidtable.obj) : error LNK2019: unresolved external symbol __imp_FlsFree referenced in function _mtterm
1>libcmt.lib(tidtable.obj) : error LNK2019: unresolved external symbol __imp_SetLastError referenced in function _getptd_noexit
1>libcmt.lib(rand_s.obj) : error LNK2001: unresolved external symbol __imp_GetLastError
1>libcmt.lib(inithelp.obj) : error LNK2001: unresolved external symbol __imp_GetLastError
1>libcmt.lib(tidtable.obj) : error LNK2019: unresolved external symbol __imp_GetLastError referenced in function _getptd_noexit
1>libcmt.lib(free.obj) : error LNK2001: unresolved external symbol __imp_GetLastError
1>libcmt.lib(realloc.obj) : error LNK2001: unresolved external symbol __imp_GetLastError
1>libcmt.lib(winsig.obj) : error LNK2001: unresolved external symbol __imp_GetLastError
1>libcmt.lib(tidtable.obj) : error LNK2019: unresolved external symbol __imp_GetCurrentThread referenced in function __threadhandle
1>libcmt.lib(tidtable.obj) : error LNK2019: unresolved external symbol __imp_FlsAlloc referenced in function _mtinit
1>libcmt.lib(frame.obj) : error LNK2019: unresolved external symbol __imp_RaiseException referenced in function "void __cdecl __RethrowException(struct EHExceptionRecord *)" (?__RethrowException@@YAXPEAUEHExceptionRecord@@@Z)
1>libcmt.lib(throw.obj) : error LNK2001: unresolved external symbol __imp_RaiseException
1>libcmt.lib(_fpexcept_.obj) : error LNK2001: unresolved external symbol __imp_RaiseException
1>libcmt.lib(frame.obj) : error LNK2019: unresolved external symbol RtlPcToFileHeader referenced in function __CxxExceptionFilter
1>libcmt.lib(throw.obj) : error LNK2001: unresolved external symbol RtlPcToFileHeader
1>libcmt.lib(chandler.obj) : error LNK2019: unresolved external symbol __imp_RtlUnwindEx referenced in function __C_specific_handler
1>libcmt.lib(crtheap.obj) : error LNK2019: unresolved external symbol __imp_Sleep referenced in function wait_a_bit
1>libcmt.lib(msize.obj) : error LNK2019: unresolved external symbol __imp_HeapSize referenced in function _msize
1>libcmt.lib(crt0dat.obj) : error LNK2019: unresolved external symbol __imp_GetProcAddress referenced in function __crtCorExitProcess
1>libcmt.lib(rand_s.obj) : error LNK2001: unresolved external symbol __imp_GetProcAddress
1>libcmt.lib(crtmboxw.obj) : error LNK2001: unresolved external symbol __imp_GetProcAddress
1>libcmt.lib(crt0dat.obj) : error LNK2019: unresolved external symbol __imp_GetModuleHandleW referenced in function __crtCorExitProcess
1>libcmt.lib(crt0dat.obj) : error LNK2019: unresolved external symbol __imp_ExitProcess referenced in function __crtExitProcess
1>libcmt.lib(gs_report.obj) : error LNK2019: unresolved external symbol __imp_TerminateProcess referenced in function __report_gsfailure
1>libcmt.lib(invarg.obj) : error LNK2001: unresolved external symbol __imp_TerminateProcess
1>libcmt.lib(gs_report.obj) : error LNK2019: unresolved external symbol __imp_GetCurrentProcess referenced in function __report_gsfailure
1>libcmt.lib(invarg.obj) : error LNK2001: unresolved external symbol __imp_GetCurrentProcess
1>libcmt.lib(gs_report.obj) : error LNK2019: unresolved external symbol __imp_UnhandledExceptionFilter referenced in function __report_gsfailure
1>libcmt.lib(invarg.obj) : error LNK2001: unresolved external symbol __imp_UnhandledExceptionFilter
1>libcmt.lib(gs_report.obj) : error LNK2019: unresolved external symbol __imp_SetUnhandledExceptionFilter referenced in function __report_gsfailure
1>libcmt.lib(invarg.obj) : error LNK2001: unresolved external symbol __imp_SetUnhandledExceptionFilter
1>libcmt.lib(gs_report.obj) : error LNK2019: unresolved external symbol __imp_IsDebuggerPresent referenced in function __report_gsfailure
1>libcmt.lib(invarg.obj) : error LNK2001: unresolved external symbol __imp_IsDebuggerPresent
1>libcmt.lib(gs_report.obj) : error LNK2019: unresolved external symbol RtlVirtualUnwind referenced in function __report_gsfailure
1>libcmt.lib(invarg.obj) : error LNK2001: unresolved external symbol RtlVirtualUnwind
1>libcmt.lib(gs_report.obj) : error LNK2019: unresolved external symbol __imp_RtlCaptureContext referenced in function __report_gsfailure
1>libcmt.lib(invarg.obj) : error LNK2001: unresolved external symbol __imp_RtlCaptureContext
1>libcmt.lib(free.obj) : error LNK2019: unresolved external symbol __imp_HeapFree referenced in function free
1>libcmt.lib(malloc.obj) : error LNK2019: unresolved external symbol __imp_HeapAlloc referenced in function _heap_alloc
1>libcmt.lib(calloc_impl.obj) : error LNK2001: unresolved external symbol __imp_HeapAlloc
1>libcmt.lib(ioinit.obj) : error LNK2019: unresolved external symbol __imp_SetHandleCount referenced in function _ioinit
1>libcmt.lib(ioinit.obj) : error LNK2019: unresolved external symbol __imp_GetStdHandle referenced in function _ioinit
1>libcmt.lib(crt0msg.obj) : error LNK2001: unresolved external symbol __imp_GetStdHandle
1>libcmt.lib(ioinit.obj) : error LNK2019: unresolved external symbol __imp_InitializeCriticalSectionAndSpinCount referenced in function _ioinit
1>libcmt.lib(mlock.obj) : error LNK2001: unresolved external symbol __imp_InitializeCriticalSectionAndSpinCount
1>libcmt.lib(ioinit.obj) : error LNK2019: unresolved external symbol __imp_GetFileType referenced in function _ioinit
1>libcmt.lib(ioinit.obj) : error LNK2019: unresolved external symbol __imp_GetStartupInfoW referenced in function _ioinit
1>libcmt.lib(ioinit.obj) : error LNK2019: unresolved external symbol __imp_DeleteCriticalSection referenced in function _ioterm
1>libcmt.lib(mlock.obj) : error LNK2001: unresolved external symbol __imp_DeleteCriticalSection
1>libcmt.lib(stdargv.obj) : error LNK2019: unresolved external symbol __imp_GetModuleFileNameA referenced in function _setargv
1>libcmt.lib(a_env.obj) : error LNK2019: unresolved external symbol __imp_FreeEnvironmentStringsW referenced in function __crtGetEnvironmentStringsA
1>libcmt.lib(a_env.obj) : error LNK2019: unresolved external symbol __imp_WideCharToMultiByte referenced in function __crtGetEnvironmentStringsA
1>libcmt.lib(a_map.obj) : error LNK2001: unresolved external symbol __imp_WideCharToMultiByte
1>libcmt.lib(a_loc.obj) : error LNK2001: unresolved external symbol __imp_WideCharToMultiByte
1>libcmt.lib(a_env.obj) : error LNK2019: unresolved external symbol __imp_GetEnvironmentStringsW referenced in function __crtGetEnvironmentStringsA
1>libcmt.lib(heapinit.obj) : error LNK2019: unresolved external symbol __imp_HeapSetInformation referenced in function _heap_init
1>libcmt.lib(heapinit.obj) : error LNK2019: unresolved external symbol __imp_GetVersion referenced in function _heap_init
1>libcmt.lib(heapinit.obj) : error LNK2019: unresolved external symbol __imp_HeapCreate referenced in function _heap_init
1>libcmt.lib(heapinit.obj) : error LNK2019: unresolved external symbol __imp_HeapDestroy referenced in function _heap_term
1>libcmt.lib(gs_support.obj) : error LNK2019: unresolved external symbol __imp_QueryPerformanceCounter referenced in function __security_init_cookie
1>libcmt.lib(gs_support.obj) : error LNK2019: unresolved external symbol __imp_GetTickCount referenced in function __security_init_cookie
1>libcmt.lib(gs_support.obj) : error LNK2019: unresolved external symbol __imp_GetCurrentProcessId referenced in function __security_init_cookie
1>libcmt.lib(gs_support.obj) : error LNK2019: unresolved external symbol __imp_GetSystemTimeAsFileTime referenced in function __security_init_cookie
1>libcmt.lib(mlock.obj) : error LNK2019: unresolved external symbol __imp_LeaveCriticalSection referenced in function _unlock
1>libcmt.lib(mlock.obj) : error LNK2019: unresolved external symbol __imp_FatalAppExitA referenced in function _lockerr_exit
1>libcmt.lib(mlock.obj) : error LNK2019: unresolved external symbol __imp_EnterCriticalSection referenced in function _lock
1>libcmt.lib(mbctype.obj) : error LNK2019: unresolved external symbol __imp_GetCPInfo referenced in function "void __cdecl setSBUpLow(struct threadmbcinfostruct *)" (?setSBUpLow@@YAXPEAUthreadmbcinfostruct@@@Z)
1>libcmt.lib(initctyp.obj) : error LNK2001: unresolved external symbol __imp_GetCPInfo
1>libcmt.lib(mbctype.obj) : error LNK2019: unresolved external symbol __imp_GetACP referenced in function "int __cdecl getSystemCP(int)" (?getSystemCP@@YAHH@Z)
1>libcmt.lib(getqloc.obj) : error LNK2001: unresolved external symbol __imp_GetACP
1>libcmt.lib(mbctype.obj) : error LNK2019: unresolved external symbol __imp_GetOEMCP referenced in function "int __cdecl getSystemCP(int)" (?getSystemCP@@YAHH@Z)
1>libcmt.lib(mbctype.obj) : error LNK2019: unresolved external symbol __imp_IsValidCodePage referenced in function _setmbcp_nolock
1>libcmt.lib(getqloc.obj) : error LNK2001: unresolved external symbol __imp_IsValidCodePage
1>libcmt.lib(realloc.obj) : error LNK2019: unresolved external symbol __imp_HeapReAlloc referenced in function realloc
1>libcmt.lib(winsig.obj) : error LNK2019: unresolved external symbol __imp_SetConsoleCtrlHandler referenced in function signal
1>libcmt.lib(rand_s.obj) : error LNK2019: unresolved external symbol __imp_FreeLibrary referenced in function rand_s
1>libcmt.lib(rand_s.obj) : error LNK2019: unresolved external symbol __imp_LoadLibraryW referenced in function rand_s
1>libcmt.lib(crtmboxw.obj) : error LNK2001: unresolved external symbol __imp_LoadLibraryW
1>libcmt.lib(inithelp.obj) : error LNK2019: unresolved external symbol __imp_GetLocaleInfoW referenced in function __getlocaleinfo
1>libcmt.lib(a_loc.obj) : error LNK2001: unresolved external symbol __imp_GetLocaleInfoW
1>libcmt.lib(getqloc.obj) : error LNK2001: unresolved external symbol __imp_GetLocaleInfoW
1>libcmt.lib(crt0msg.obj) : error LNK2019: unresolved external symbol __imp_WriteFile referenced in function _NMSG_WRITE
1>libcmt.lib(crt0msg.obj) : error LNK2019: unresolved external symbol __imp_GetModuleFileNameW referenced in function _NMSG_WRITE
1>libcmt.lib(a_map.obj) : error LNK2019: unresolved external symbol __imp_LCMapStringW referenced in function "int __cdecl __crtLCMapStringA_stat(struct localeinfo_struct *,unsigned long,unsigned long,char const *,int,char *,int,int,int)" (?__crtLCMapStringA_stat@@YAHPEAUlocaleinfo_struct@@KKPEBDHPEADHHH@Z)
1>libcmt.lib(a_map.obj) : error LNK2019: unresolved external symbol __imp_MultiByteToWideChar referenced in function "int __cdecl __crtLCMapStringA_stat(struct localeinfo_struct *,unsigned long,unsigned long,char const *,int,char *,int,int,int)" (?__crtLCMapStringA_stat@@YAHPEAUlocaleinfo_struct@@KKPEBDHPEADHHH@Z)
1>libcmt.lib(a_str.obj) : error LNK2001: unresolved external symbol __imp_MultiByteToWideChar
1>libcmt.lib(a_str.obj) : error LNK2019: unresolved external symbol __imp_GetStringTypeW referenced in function "int __cdecl __crtGetStringTypeA_stat(struct localeinfo_struct *,unsigned long,char const *,int,unsigned short *,int,int,int)" (?__crtGetStringTypeA_stat@@YAHPEAUlocaleinfo_struct@@KPEBDHPEAGHHH@Z)
1>libcmt.lib(iswctype.obj) : error LNK2001: unresolved external symbol __imp_GetStringTypeW
1>libcmt.lib(getqloc.obj) : error LNK2019: unresolved external symbol __imp_GetUserDefaultLCID referenced in function GetLcidFromDefault
1>libcmt.lib(getqloc.obj) : error LNK2019: unresolved external symbol __imp_GetLocaleInfoA referenced in function CountryEnumProc
1>libcmt.lib(getqloc.obj) : error LNK2019: unresolved external symbol __imp_EnumSystemLocalesA referenced in function GetLcidFromCountry
1>libcmt.lib(getqloc.obj) : error LNK2019: unresolved external symbol __imp_IsValidLocale referenced in function __get_qualified_locale
1>Release/shapeConstraints.mll : fatal error LNK1120: 75 unresolved externals
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

Robert Bateman
12-08-2010, 10:23 AM
The libraries that are missing are from the windows platform SDK. You need to install that.

MTuttle
12-08-2010, 08:06 PM
Got it, thanks! Now unfortunately one plugin won't build because it needs the MDtAPI library and when I try to compile that, I get so many errors I can't even post them here!

CGTalk Moderation
12-08-2010, 08:06 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.