Giter VIP home page Giter VIP logo

cvwrap's Introduction

cvwrap

A Maya wrap deformer that is faster than Maya's wrap deformer, can be rebounded, has a GPU implementation, and supports inverted front of chain blend shapes.

You can purchase a video series documenting the development of this plug-in from scratch at CGCircuit.

sphere = cmds.polySphere(sx=10, sy=10)[0]
cube = cmds.polyCube(w=2.3, h=2.3, d=2.3, sx=5, sy=5, sz=5)[0]

# Create a new wrap
wrap_node = cmds.cvWrap(sphere, cube, name='wrapnode', radius=0.1)

# Rebind a vertex
cmds.select(['{0}.vtx[75]'.format(sphere)])
cmds.select(['{0}.{1}'.format(cube, faces) for faces in ['f[110:111]', 'f[115:116]']], add=True)
cmds.cvWrap(rb=wrap_node)

file_path = r'E:\My Documents\maya\projects\default\data\binding.wrap'
# Export the binding
cmds.cvWrap(wrap_node, ex=file_path)

# Recreate the wrap node with the adjusted binding
cmds.delete(wrap_node)
wrap_node = cmds.cvWrap(sphere, cube, name=wrap_node, b=file_path)

# Import the binding again
cmds.cvWrap(wrap_node, im=file_path)

cvwrap's People

Contributors

chadmv avatar scottenglert avatar zewt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cvwrap's Issues

Maya wrap faster than cvWrap on linux/maya 2016

Hello,

We have done some benchmarks at work with your deformer. cvWrap is faster on older version 2014,2015 for instance but on maya 2016 we actually figured out maya wrap is much faster.

Any thoughts about it ? Explanation etc... Parallele evaluation mode ? Or Autodesk did some improvement to the maya wrap itself ?

Best
A.

Compile error in 2016.5 (ext 2)

I've used this plugin in the past with nice results and wanted to build it for 2016.5, but it gives me an error with latest master branch. I'm not a C programmer, so I'm pretty helpless. Here is my build log:

$ make -j1
[ 20%] Building CXX object src/CMakeFiles/cvwrap.dir/cvWrapDeformer.cpp.o
/home/italic/src/addons/cvwrap/src/cvWrapDeformer.cpp: In constructor ‘CVWrap::CVWrap()’:
/home/italic/src/addons/cvwrap/src/cvWrapDeformer.cpp:217:22: warning: converting to non-pointer type ‘MCallbackId {aka long unsigned int}’ from NULL [-Wconversion-null]
onDeleteCallbackId = NULL;
^
/home/italic/src/addons/cvwrap/src/cvWrapDeformer.cpp: In destructor ‘virtual CVWrap::~CVWrap()’:
/home/italic/src/addons/cvwrap/src/cvWrapDeformer.cpp:221:28: warning: NULL used in arithmetic [-Wpointer-arith]
if(onDeleteCallbackId != NULL)
^
/home/italic/src/addons/cvwrap/src/cvWrapDeformer.cpp: In member function ‘virtual void CVWrap::postConstructor()’:
/home/italic/src/addons/cvwrap/src/cvWrapDeformer.cpp:240:112: error: no matching function for call to ‘MNodeMessage::addNodeAboutToDeleteCallback(MObject, void (&)(MObject&, MDGModifier&, void_), NULL, MStatus_)’
onDeleteCallbackId = MNodeMessage::addNodeAboutToDeleteCallback(thisMObject(), aboutToDeleteCB, NULL, &status);
^
/home/italic/src/addons/cvwrap/src/cvWrapDeformer.cpp:240:112: note: candidates are:
In file included from /home/italic/src/addons/cvwrap/src/cvWrapDeformer.cpp:12:0:
/usr/autodesk/maya2016.5/include/maya/MNodeMessage.h:175:21: note: static MCallbackId MNodeMessage::addNodeAboutToDeleteCallback(MObject&, MMessage::MNodeModifierFunction, void_, MStatus_)
static MCallbackId addNodeAboutToDeleteCallback(
^
/usr/autodesk/maya2016.5/include/maya/MNodeMessage.h:175:21: note: no known conversion for argument 1 from ‘MObject’ to ‘MObject&’
/usr/autodesk/maya2016.5/include/maya/MNodeMessage.h:226:21: note: static MCallbackId MNodeMessage::addNodeAboutToDeleteCallback(MObject&, MMessage::MModifierFunction, void_, MStatus_)
static MCallbackId addNodeAboutToDeleteCallback(
^
/usr/autodesk/maya2016.5/include/maya/MNodeMessage.h:226:21: note: no known conversion for argument 1 from ‘MObject’ to ‘MObject&’
make[2]: *** [src/CMakeFiles/cvwrap.dir/cvWrapDeformer.cpp.o] Error 1
make[1]: *** [src/CMakeFiles/cvwrap.dir/all] Error 2
make: *** [all] Error 2

Infinite loop creating wrap

Creating a wrap in this scene from mesh1 to mesh2 freezes Maya, looping in CrawlSurface.

This seems to happen due to the coincident vertices in mesh1 (7 and 16), which were removed in mesh2. (The wrap was being used to transfer blend shapes from the original mesh to the corrected one.)

cvwrap infinite loop.zip

Glitch in opencl implementation

Hi Chad I was evaluating the plugin and found an issue with the OpenCL implementation.
I just created a simple sphere as a driver (382 vertices) and I used to wrap another sphere of 40k~ vertices.
Works good on CPU , when switching to GPU i start to get this kind of glitches:
wrap

The glitch is not constant, each frame happens in a different position, and if getting back to the same frame the glitch is somewhere else, from the look of it looks like a memory related issue, I did not have time to look at the code yet, but maybe do you know on top of your head what can be causing this?

M.

cvWrap not in my menu Maya 2018.4

I'm just playing with this node, and trying to run it properly. I would like to know how to run the script properly in Maya ( a clear and simply install document would be great!)

At the moment I'm running it manually (pasting the modules "menu" and "bindui" directly in my script editor in the proper order and running it.
Other way would be to place the scripts folder into my Maya scripts folder and call the create_menuitems() from the menu module. But I don't know if that's the proper way.
Please can you explain how to setup and run the whole script properly?
Thanks!

Compile error

Hi following Chad's Cmake tutorial on YT

Hope someone could help me I check the other Issues but this is different and I think my folders are set the right way.

C:\cvwrap-master\src\common.cpp(215): warning C4838: conversion from 'unsigned int' to 'int' requires a narrowing conversion [C:\cvwrap-master\build\src\cvwrap.vcxproj]

Cmake runing on comand promp

here is a pic of my folders and the error
(http://i.imgur.com/9CKM493.jpg)

upps!
this is the file common.cpp inline 215
the other one was common.h
(http://i.imgur.com/TOlMhVF.jpg)

C:\cvwrap-master\build>cmake -G "Visual Studio 14 2015 Win64" -DMAYA_VERSION=2016.5 ../
-- Configuring done
-- Generating done
-- Build files have been written to: C:/cvwrap-master/build

C:\cvwrap-master\build>cmake --build . --config Release
Microsoft (R) Build Engine version 14.0.25420.1
Copyright (C) Microsoft Corporation. All rights reserved.

Build started 06/09/2016 15:16:14.
Project "C:\cvwrap-master\build\ALL_BUILD.vcxproj" on node 1 (default targets).
Project "C:\cvwrap-master\build\ALL_BUILD.vcxproj" (1) is building "C:\cvwrap-master\build\ZERO_CHECK.vcxproj" (2) on node 1 (default targets).
InitializeBuildStatus:
Creating "x64\Release\ZERO_CHECK\ZERO_CHECK.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
CustomBuild:
All outputs are up-to-date.
Checking Build System
CMake does not need to re-run because C:/cvwrap-master/build/CMakeFiles/generate.stamp is up-to-date.
CMake does not need to re-run because C:/cvwrap-master/build/src/CMakeFiles/generate.stamp is up-to-date.
FinalizeBuildStatus:
Deleting file "x64\Release\ZERO_CHECK\ZERO_CHECK.tlog\unsuccessfulbuild".
Touching "x64\Release\ZERO_CHECK\ZERO_CHECK.tlog\ZERO_CHECK.lastbuildstate".
Done Building Project "C:\cvwrap-master\build\ZERO_CHECK.vcxproj" (default targets).

Project "C:\cvwrap-master\build\ALL_BUILD.vcxproj" (1) is building "C:\cvwrap-master\build\src\cvwrap.vcxproj" (3) on node 1 (default targets).
InitializeBuildStatus:
Touching "cvwrap.dir\Release\cvwrap.tlog\unsuccessfulbuild".
CustomBuild:
All outputs are up-to-date.
ClCompile:
D:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\x86_amd64\CL.exe /c /I"C:\Program Files\Autodesk\Maya2016.5\include" /nologo /W3 /WX- /O2 /Ob2 /D WIN32 /D _WINDOWS /D NDEBUG /D REQUIRE_IOSTREAM /D _BOOL /D NT_PLUGIN /D "CMA
KE_INTDIR="Release"" /D cvwrap_EXPORTS /D _WINDLL /D _MBCS /Gm- /EHsc /MD /GS /arch:AVX /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /GR /Fo"cvwrap.dir\Release" /Fd"cvwrap.dir\Release\vc140.pdb" /Gd /TP /errorReport:queue "C:\c
vwrap-master\src\bindingio.cpp" "C:\cvwrap-master\src\common.cpp" "C:\cvwrap-master\src\cvWrapCmd.cpp" "C:\cvwrap-master\src\cvWrapDeformer.cpp" "C:\cvwrap-master\src\pluginMain.cpp"
bindingio.cpp
common.cpp
C:\cvwrap-master\src\common.cpp(215): warning C4838: conversion from 'unsigned int' to 'int' requires a narrowing conversion [C:\cvwrap-master\build\src\cvwrap.vcxproj]
cvWrapCmd.cpp
cvWrapDeformer.cpp
pluginMain.cpp
Generating Code...
Link:
D:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\x86_amd64\link.exe /ERRORREPORT:QUEUE /OUT:"C:\cvwrap-master\build\src\Release\cvwrap.mll" /INCREMENTAL:NO /NOLOGO /LIBPATH:"D:/Program Files/Autodesk/Maya2016/lib" /LIBPATH:"
D:/Program Files/Autodesk/Maya2016/lib/Release" kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib "D:\Program Files\Autodesk\Maya2016\lib\OpenMaya.lib" "D:\Program Fil
es\Autodesk\Maya2016\lib\OpenMayaAnim.lib" "D:\Program Files\Autodesk\Maya2016\lib\OpenMayaFX.lib" "D:\Program Files\Autodesk\Maya2016\lib\OpenMayaRender.lib" "D:\Program Files\Autodesk\Maya2016\lib\OpenMayaUI.lib" "D:\Program Files\A
utodesk\Maya2016\lib\Foundation.lib" "D:\Program Files\Autodesk\Maya2016\lib\clew.lib" /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /PDB:"C:/cvwrap-master/build/src/Release/cvwrap.pdb" /SUBSYSTEM:CONSOLE
/TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"C:/cvwrap-master/build/src/Release/cvwrap.lib" /MACHINE:X64 /machine:x64 /export:initializePlugin /export:uninitializePlugin /DLL cvwrap.dir\Release\pluginMain.obj
cvwrap.dir\Release\cvWrapCmd.obj
cvwrap.dir\Release\cvWrapDeformer.obj
cvwrap.dir\Release\bindingio.obj
cvwrap.dir\Release\common.obj
Creating library C:/cvwrap-master/build/src/Release/cvwrap.lib and object C:/cvwrap-master/build/src/Release/cvwrap.exp
cvWrapDeformer.obj : error LNK2001: unresolved external symbol "public: static struct _cl_command_queue * __cdecl MOpenCLInfo::getMayaDefaultOpenCLCommandQueue(void)" (?getMayaDefaultOpenCLCommandQueue@MOpenCLInfo@@SAPEAU_cl_command_que
ue@@xz) [C:\cvwrap-master\build\src\cvwrap.vcxproj]
cvWrapDeformer.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class MVector __cdecl MVector::operator*(float)const " (_imp??DMVector@@qeba?AV0@M@Z) referenced in function "public: static long __cdecl CV
Wrap::EvaluateWrap(void *)" (?EvaluateWrap@CVWrap@@SAJPEAX@Z) [C:\cvwrap-master\build\src\cvwrap.vcxproj]
cvWrapDeformer.obj : error LNK2001: unresolved external symbol "public: virtual class MStatus __cdecl MPxNode::dependsOn(class MPlug const &,class MPlug const &,bool &)const " (?dependsOn@MPxNode@@ueba?AVMStatus@@AEBVMPlug@@0AEA_N@Z) [C
:\cvwrap-master\build\src\cvwrap.vcxproj]
C:\cvwrap-master\build\src\Release\cvwrap.mll : fatal error LNK1120: 3 unresolved externals [C:\cvwrap-master\build\src\cvwrap.vcxproj]
Done Building Project "C:\cvwrap-master\build\src\cvwrap.vcxproj" (default targets) -- FAILED.

Done Building Project "C:\cvwrap-master\build\ALL_BUILD.vcxproj" (default targets) -- FAILED.

Build FAILED.

"C:\cvwrap-master\build\ALL_BUILD.vcxproj" (default target) (1) ->
"C:\cvwrap-master\build\src\cvwrap.vcxproj" (default target) (3) ->
(ClCompile target) ->
C:\cvwrap-master\src\common.cpp(215): warning C4838: conversion from 'unsigned int' to 'int' requires a narrowing conversion [C:\cvwrap-master\build\src\cvwrap.vcxproj]

"C:\cvwrap-master\build\ALL_BUILD.vcxproj" (default target) (1) ->
"C:\cvwrap-master\build\src\cvwrap.vcxproj" (default target) (3) ->
(Link target) ->
cvWrapDeformer.obj : error LNK2001: unresolved external symbol "public: static struct _cl_command_queue * __cdecl MOpenCLInfo::getMayaDefaultOpenCLCommandQueue(void)" (?getMayaDefaultOpenCLCommandQueue@MOpenCLInfo@@SAPEAU_cl_command_q
ueue@@xz) [C:\cvwrap-master\build\src\cvwrap.vcxproj]
cvWrapDeformer.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class MVector __cdecl MVector::operator*(float)const " (_imp??DMVector@@qeba?AV0@M@Z) referenced in function "public: static long __cdecl
CVWrap::EvaluateWrap(void *)" (?EvaluateWrap@CVWrap@@SAJPEAX@Z) [C:\cvwrap-master\build\src\cvwrap.vcxproj]
cvWrapDeformer.obj : error LNK2001: unresolved external symbol "public: virtual class MStatus __cdecl MPxNode::dependsOn(class MPlug const &,class MPlug const &,bool &)const " (?dependsOn@MPxNode@@ueba?AVMStatus@@AEBVMPlug@@0AEA_N@Z)
[C:\cvwrap-master\build\src\cvwrap.vcxproj]
C:\cvwrap-master\build\src\Release\cvwrap.mll : fatal error LNK1120: 3 unresolved externals [C:\cvwrap-master\build\src\cvwrap.vcxproj]

1 Warning(s)
4 Error(s)

Time Elapsed 00:00:06.94

C:\cvwrap-master\build>

problem compiling the plugin

Hi Chad

Thank you for sharing. iam having trouble compiling the plugin.
this is my output, can you tell me what iam doing wrong.


C:\Users\PMnicolai\Desktop\cvwrap-master\cvwrap-master\build>cmake -G "Visual St
udio 11 2012 Win64" -DMAYA_VERSION=2016 ../
-- The C compiler identification is MSVC 17.0.60610.1
-- The CXX compiler identification is MSVC 17.0.60610.1
-- Check for working C compiler using: Visual Studio 11 2012 Win64
-- Check for working C compiler using: Visual Studio 11 2012 Win64 -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler using: Visual Studio 11 2012 Win64
-- Check for working CXX compiler using: Visual Studio 11 2012 Win64 -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Maya: C:/Program Files/Autodesk/Maya2016/include
-- Configuring done
-- Generating done
-- Build files have been written to: C:/Users/PMnicolai/Desktop/cvwrap-master/cv
wrap-master/build

C:\Users\PMnicolai\Desktop\cvwrap-master\cvwrap-master\build>cmake --build . --
config Release
Microsoft (R) Build Engine version 4.6.81.0
[Microsoft .NET Framework, version 4.0.30319.42000]
Copyright (C) Microsoft Corporation. All rights reserved.

Build started 29-09-2015 14:39:41.
Project "C:\Users\PMnicolai\Desktop\cvwrap-master\cvwrap-master\build\ALL_BUILD
.vcxproj" on node 1 (default targets).
Project "C:\Users\PMnicolai\Desktop\cvwrap-master\cvwrap-master\build\ALL_BUILD
.vcxproj" (1) is building "C:\Users\PMnicolai\Desktop\cvwrap-master\cvwrap-mast
er\build\ZERO_CHECK.vcxproj" (2) on node 1 (default targets).
PrepareForBuild:
Creating directory "x64\Release\ZERO_CHECK".
InitializeBuildStatus:
Creating "x64\Release\ZERO_CHECK\ZERO_CHECK.unsuccessfulbuild" because "Alway
sCreate" was specified.
CustomBuild:
Checking Build System
CMake does not need to re-run because C:/Users/PMnicolai/Desktop/cvwrap-maste
r/cvwrap-master/build/CMakeFiles/generate.stamp is up-to-date.
CMake does not need to re-run because C:/Users/PMnicolai/Desktop/cvwrap-maste
r/cvwrap-master/build/src/CMakeFiles/generate.stamp is up-to-date.
FinalizeBuildStatus:
Deleting file "x64\Release\ZERO_CHECK\ZERO_CHECK.unsuccessfulbuild".
Touching "x64\Release\ZERO_CHECK\ZERO_CHECK.lastbuildstate".
Done Building Project "C:\Users\PMnicolai\Desktop\cvwrap-master\cvwrap-master\b
uild\ZERO_CHECK.vcxproj" (default targets).

Project "C:\Users\PMnicolai\Desktop\cvwrap-master\cvwrap-master\build\ALL_BUILD
.vcxproj" (1) is building "C:\Users\PMnicolai\Desktop\cvwrap-master\cvwrap-mast
er\build\src\cvwrap.vcxproj" (3) on node 1 (default targets).
PrepareForBuild:
Creating directory "cvwrap.dir\Release".
Creating directory "C:\Users\PMnicolai\Desktop\cvwrap-master\cvwrap-master\bu
ild\src\Release".
InitializeBuildStatus:
Creating "cvwrap.dir\Release\cvwrap.unsuccessfulbuild" because "AlwaysCreate"
was specified.
CustomBuild:
Building Custom Rule C:/Users/PMnicolai/Desktop/cvwrap-master/cvwrap-master/s
rc/CMakeLists.txt
CMake does not need to re-run because C:\Users\PMnicolai\Desktop\cvwrap-maste
r\cvwrap-master\build\src\CMakeFiles\generate.stamp is up-to-date.
ClCompile:
C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\bin\x86_amd64\CL.exe /
c /I"C:\Program Files\Autodesk\Maya2016\include" /nologo /W3 /WX- /O2 /Ob2 /D
WIN32 /D _WINDOWS /D NDEBUG /D REQUIRE_IOSTREAM /D _BOOL /D NT_PLUGIN /D "CM
AKE_INTDIR="Release"" /D cvwrap_EXPORTS /D _WINDLL /D _MBCS /Gm- /EHsc /MD
/GS /arch:AVX /fp:precise /Zc:wchar_t /Zc:forScope /GR /Fo"cvwrap.dir\Release
" /Fd"cvwrap.dir\Release\vc110.pdb" /Gd /TP /errorReport:queue "C:\Users\PM
nicolai\Desktop\cvwrap-master\cvwrap-master\src\pluginMain.cpp" "C:\Users\PMn
icolai\Desktop\cvwrap-master\cvwrap-master\src\cvWrapCmd.cpp" "C:\Users\PMnic
olai\Desktop\cvwrap-master\cvwrap-master\src\cvWrapDeformer.cpp" "C:\Users\PM
nicolai\Desktop\cvwrap-master\cvwrap-master\src\bindingio.cpp" "C:\Users\PMni
colai\Desktop\cvwrap-master\cvwrap-master\src\common.cpp"
pluginMain.cpp
cvWrapCmd.cpp
cvWrapDeformer.cpp
bindingio.cpp
common.cpp
Generating Code...
Link:
C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\bin\x86_amd64\link.exe
/ERRORREPORT:QUEUE /OUT:"C:\Users\PMnicolai\Desktop\cvwrap-master\cvwrap-mas
ter\build\src\Release\cvwrap.mll" /INCREMENTAL:NO /NOLOGO /LIBPATH:"C:/Progra
m Files/Autodesk/Maya2016/lib" /LIBPATH:"C:/Program Files/Autodesk/Maya2016/l
ib/Release" kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.
lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib "C:\Program Files\Autodes
k\Maya2016\lib\OpenMaya.lib" "C:\Program Files\Autodesk\Maya2016\lib\OpenMaya
Anim.lib" "C:\Program Files\Autodesk\Maya2016\lib\OpenMayaFX.lib" "C:\Program
Files\Autodesk\Maya2016\lib\OpenMayaRender.lib" "C:\Program Files\Autodesk\M
aya2016\lib\OpenMayaUI.lib" "C:\Program Files\Autodesk\Maya2016\lib\Foundatio
n.lib" /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:
embed /PDB:"C:/Users/PMnicolai/Desktop/cvwrap-master/cvwrap-master/build/src/
Release/cvwrap.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLI
B:"C:/Users/PMnicolai/Desktop/cvwrap-master/cvwrap-master/build/src/Release/c
vwrap.lib" /MACHINE:X64 /machine:x64 /export:initializePlugin /export:uninit
ializePlugin /DLL cvwrap.dir\Release\pluginMain.obj
cvwrap.dir\Release\cvWrapCmd.obj
cvwrap.dir\Release\cvWrapDeformer.obj
cvwrap.dir\Release\bindingio.obj
cvwrap.dir\Release\common.obj
Creating library C:/Users/PMnicolai/Desktop/cvwrap-master/cvwrap-master/bu
ild/src/Release/cvwrap.lib and object C:/Users/PMnicolai/Desktop/cvwrap-maste
r/cvwrap-master/build/src/Release/cvwrap.exp
cvWrapDeformer.obj : error LNK2019: unresolved external symbol __imp___clewCrea
teBuffer referenced in function "int __cdecl EnqueueBuffer(class MAutoCLMem &,u
nsigned __int64,void *)" (?EnqueueBuffer@@YAHAEAVMAutoCLMem@@_KPEAX@Z) [C:\User
s\PMnicolai\Desktop\cvwrap-master\cvwrap-master\build\src\cvwrap.vcxproj]
cvWrapDeformer.obj : error LNK2019: unresolved external symbol __imp___clewSetK
ernelArg referenced in function "public: virtual enum MPxGPUDeformer::DeformerS
tatus __cdecl CVWrapGPU::evaluate(class MDataBlock &,class MEvaluationNode cons
t &,class MPlug const &,unsigned int,class MAutoCLMem,class MAutoCLEvent,class
MAutoCLMem,class MAutoCLEvent &)" (?evaluate@CVWrapGPU@@UEAA?AW4DeformerStatus@
MPxGPUDeformer@@AEAVMDataBlock@@AEBVMEvaluationNode@@AEBVMPlug@@IVMAutoCLMem@@v
MAutoCLEvent@@v7@AEAV8@@z) [C:\Users\PMnicolai\Desktop\cvwrap-master\cvwrap-mas
ter\build\src\cvwrap.vcxproj]
cvWrapDeformer.obj : error LNK2019: unresolved external symbol __imp___clewGetK
ernelWorkGroupInfo referenced in function "public: virtual enum MPxGPUDeformer:
:DeformerStatus __cdecl CVWrapGPU::evaluate(class MDataBlock &,class MEvaluatio
nNode const &,class MPlug const &,unsigned int,class MAutoCLMem,class MAutoCLEv
ent,class MAutoCLMem,class MAutoCLEvent &)" (?evaluate@CVWrapGPU@@UEAA?AW4Defor
merStatus@MPxGPUDeformer@@AEAVMDataBlock@@AEBVMEvaluationNode@@AEBVMPlug@@IVMAu
toCLMem@@VMAutoCLEvent@@v7@AEAV8@@z) [C:\Users\PMnicolai\Desktop\cvwrap-master
cvwrap-master\build\src\cvwrap.vcxproj]
cvWrapDeformer.obj : error LNK2019: unresolved external symbol __imp___clewEnqu
eueWriteBuffer referenced in function "int __cdecl EnqueueBuffer(class MAutoCLM
em &,unsigned __int64,void *)" (?EnqueueBuffer@@YAHAEAVMAutoCLMem@@_KPEAX@Z) [C
:\Users\PMnicolai\Desktop\cvwrap-master\cvwrap-master\build\src\cvwrap.vcxproj]
cvWrapDeformer.obj : error LNK2019: unresolved external symbol __imp___clewEnqu
eueNDRangeKernel referenced in function "public: virtual enum MPxGPUDeformer::D
eformerStatus __cdecl CVWrapGPU::evaluate(class MDataBlock &,class MEvaluationN
ode const &,class MPlug const &,unsigned int,class MAutoCLMem,class MAutoCLEven
t,class MAutoCLMem,class MAutoCLEvent &)" (?evaluate@CVWrapGPU@@UEAA?AW4Deforme
rStatus@MPxGPUDeformer@@AEAVMDataBlock@@AEBVMEvaluationNode@@AEBVMPlug@@IVMAuto
CLMem@@VMAutoCLEvent@@v7@AEAV8@@z) [C:\Users\PMnicolai\Desktop\cvwrap-master\cv
wrap-master\build\src\cvwrap.vcxproj]
C:\Users\PMnicolai\Desktop\cvwrap-master\cvwrap-master\build\src\Release\cvwrap
.mll : fatal error LNK1120: 5 unresolved externals [C:\Users\PMnicolai\Desktop
cvwrap-master\cvwrap-master\build\src\cvwrap.vcxproj]
Done Building Project "C:\Users\PMnicolai\Desktop\cvwrap-master\cvwrap-master\b
uild\src\cvwrap.vcxproj" (default targets) -- FAILED.

Done Building Project "C:\Users\PMnicolai\Desktop\cvwrap-master\cvwrap-master\b
uild\ALL_BUILD.vcxproj" (default targets) -- FAILED.

Build FAILED.

"C:\Users\PMnicolai\Desktop\cvwrap-master\cvwrap-master\build\ALL_BUILD.vcxproj
" (default target) (1) ->
"C:\Users\PMnicolai\Desktop\cvwrap-master\cvwrap-master\build\src\cvwrap.vcxpro
j" (default target) (3) ->
(Link target) ->
cvWrapDeformer.obj : error LNK2019: unresolved external symbol __imp___clewCr
eateBuffer referenced in function "int __cdecl EnqueueBuffer(class MAutoCLMem &
,unsigned __int64,void *)" (?EnqueueBuffer@@YAHAEAVMAutoCLMem@@_KPEAX@Z) [C:\Us
ers\PMnicolai\Desktop\cvwrap-master\cvwrap-master\build\src\cvwrap.vcxproj]
cvWrapDeformer.obj : error LNK2019: unresolved external symbol __imp___clewSe
tKernelArg referenced in function "public: virtual enum MPxGPUDeformer::Deforme
rStatus __cdecl CVWrapGPU::evaluate(class MDataBlock &,class MEvaluationNode co
nst &,class MPlug const &,unsigned int,class MAutoCLMem,class MAutoCLEvent,clas
s MAutoCLMem,class MAutoCLEvent &)" (?evaluate@CVWrapGPU@@UEAA?AW4DeformerStatu
s@MPxGPUDeformer@@AEAVMDataBlock@@AEBVMEvaluationNode@@AEBVMPlug@@IVMAutoCLMem@
@VMAutoCLEvent@@v7@AEAV8@@z) [C:\Users\PMnicolai\Desktop\cvwrap-master\cvwrap-m
aster\build\src\cvwrap.vcxproj]
cvWrapDeformer.obj : error LNK2019: unresolved external symbol __imp___clewGe
tKernelWorkGroupInfo referenced in function "public: virtual enum MPxGPUDeforme
r::DeformerStatus __cdecl CVWrapGPU::evaluate(class MDataBlock &,class MEvaluat
ionNode const &,class MPlug const &,unsigned int,class MAutoCLMem,class MAutoCL
Event,class MAutoCLMem,class MAutoCLEvent &)" (?evaluate@CVWrapGPU@@UEAA?AW4Def
ormerStatus@MPxGPUDeformer@@AEAVMDataBlock@@AEBVMEvaluationNode@@AEBVMPlug@@IVM
AutoCLMem@@VMAutoCLEvent@@v7@AEAV8@@z) [C:\Users\PMnicolai\Desktop\cvwrap-maste
r\cvwrap-master\build\src\cvwrap.vcxproj]
cvWrapDeformer.obj : error LNK2019: unresolved external symbol __imp___clewEn
queueWriteBuffer referenced in function "int __cdecl EnqueueBuffer(class MAutoC
LMem &,unsigned __int64,void *)" (?EnqueueBuffer@@YAHAEAVMAutoCLMem@@_KPEAX@Z)
[C:\Users\PMnicolai\Desktop\cvwrap-master\cvwrap-master\build\src\cvwrap.vcxpro
j]
cvWrapDeformer.obj : error LNK2019: unresolved external symbol __imp___clewEn
queueNDRangeKernel referenced in function "public: virtual enum MPxGPUDeformer:
:DeformerStatus __cdecl CVWrapGPU::evaluate(class MDataBlock &,class MEvaluatio
nNode const &,class MPlug const &,unsigned int,class MAutoCLMem,class MAutoCLEv
ent,class MAutoCLMem,class MAutoCLEvent &)" (?evaluate@CVWrapGPU@@UEAA?AW4Defor
merStatus@MPxGPUDeformer@@AEAVMDataBlock@@AEBVMEvaluationNode@@AEBVMPlug@@IVMAu
toCLMem@@VMAutoCLEvent@@v7@AEAV8@@z) [C:\Users\PMnicolai\Desktop\cvwrap-master
cvwrap-master\build\src\cvwrap.vcxproj]
C:\Users\PMnicolai\Desktop\cvwrap-master\cvwrap-master\build\src\Release\cvwr
ap.mll : fatal error LNK1120: 5 unresolved externals [C:\Users\PMnicolai\Deskto
p\cvwrap-master\cvwrap-master\build\src\cvwrap.vcxproj]

0 Warning(s)
6 Error(s)

Time Elapsed 00:00:03.54


Maya crashes on plugin load

Hi,

I've compiled the plugin on windows 10 for Maya 2018 using Visual Studio 15 2017 Win64 as generator.
No errors during the compilation and all libraries are properly found.

When loading the plugin, though, i get the fatal error.

Here's the crash log:

//=====================================================
Maya Crash Report
//=====================================================

Exception code: C000001D: ILLEGAL_INSTRUCTION 
Fault address:  E6F63902 in Q:\resources\maya\plugins\other\2018\plug-ins\cvwrap.mll
0001:00012902 Logical offset (see .map file for location)

Call stack:
(11) section:offset 0001:00012902 Address: 0xE6F63902 Frame: 0xB53F9080
	Module:  Q:\resources\maya\plugins\other\2018\plug-ins\cvwrap.mll (-exported-)
	Location: uninitializePlugin + 0x120F2 bytes
	Source:  (0)
(12) section:offset 0001:0016A662 Address: 0xFB84B662 Frame: 0xB53F90F0
	Module:  C:\Program Files\Autodesk\Maya2018\bin\OpenMaya.dll (-exported-)
	Location: TpluginNode::TpluginNode + 0x282 bytes
	Decl: private: TpluginNode::TpluginNode(class Tstring const & ptr64,class TiffTag const & ptr64,enum Autodesk::Maya::OpenMaya20180000::MPxNode::Type,class Tplugin * ptr64,unsigned int,void * ptr64 (cdecl*)(class Tmetaclass * ptr64),class Tmetaclass * ptr64 * ptr64,class TdependNodeVS * ptr64,void * ptr64 (cdecl*)(void),class Autodesk::Maya::OpenMaya20180000::MStatus (cdecl*)(void),unsigned int)
	Source:  (0)
(13) section:offset 0001:0016A027 Address: 0xFB84B027 Frame: 0xB53F9120
	Module:  C:\Program Files\Autodesk\Maya2018\bin\OpenMaya.dll (-exported-)
	Location: TpluginNode::initializeAttributes + 0x97 bytes
	Decl: public: virtual bool TpluginNode::initializeAttributes(class TattributeList & ptr64,class TattributeList & ptr64)
	Source:  (0)
(14) section:offset 0001:001DFE80 Address: 0x10A40E80 Frame: 0xB53F9150
	Module:  C:\Program Files\Autodesk\Maya2018\bin\DependEngine.dll (-exported-)
	Location: TdependNodeClass::initializeClass + 0x30 bytes
	Decl: public: virtual bool TdependNodeClass::initializeClass(void)
	Source:  (0)
(15) section:offset 0001:001D63D3 Address: 0x10A373D3 Frame: 0xB53F91C0
	Module:  C:\Program Files\Autodesk\Maya2018\bin\DependEngine.dll (-exported-)
	Location: TdependGraph::registerNodeType + 0x1D3 bytes
	Decl: public: static unsigned int TdependGraph::registerNodeType(class TdependNodeClass * ptr64)
	Source:  (0)
(16) section:offset 0001:0016B220 Address: 0xFB84C220 Frame: 0xB53F92A0
	Module:  C:\Program Files\Autodesk\Maya2018\bin\OpenMaya.dll (-exported-)
	Location: TpluginNode::TpluginNode + 0xE40 bytes
	Decl: private: TpluginNode::TpluginNode(class Tstring const & ptr64,class TiffTag const & ptr64,enum Autodesk::Maya::OpenMaya20180000::MPxNode::Type,class Tplugin * ptr64,unsigned int,void * ptr64 (cdecl*)(class Tmetaclass * ptr64),class Tmetaclass * ptr64 * ptr64,class TdependNodeVS * ptr64,void * ptr64 (cdecl*)(void),class Autodesk::Maya::OpenMaya20180000::MStatus (cdecl*)(void),unsigned int)
	Source:  (0)
(17) section:offset 0001:001B3A83 Address: 0xFB894A83 Frame: 0xB53F9350
	Module:  C:\Program Files\Autodesk\Maya2018\bin\OpenMaya.dll (-exported-)
	Location: Autodesk::Maya::OpenMaya20180000::MFnPlugin::registerNode + 0x243 bytes
	Decl: public: class Autodesk::Maya::OpenMaya20180000::MStatus Autodesk::Maya::OpenMaya20180000::MFnPlugin::registerNode(class Autodesk::Maya::OpenMaya20180000::MString const & ptr64,class Autodesk::Maya::OpenMaya20180000::MTypeId const & ptr64,void * ptr64 (cdecl*)(void),class Autodesk::Maya::OpenMaya20180000::MStatus (cdecl*)(void),enum Autodesk::Maya::OpenMaya20180000::MPxNode::Type,class Autodesk::Maya::OpenMaya20180000::MString const * ptr64)
	Source:  (0)
(18) section:offset 0001:00000571 Address: 0xE6F51571 Frame: 0xB53F93F0
	Module:  Q:\resources\maya\plugins\other\2018\plug-ins\cvwrap.mll (-exported-)
	Location: initializePlugin + 0xA1 bytes
	Source:  (0)
(19) section:offset 0001:001AE967 Address: 0xFB88F967 Frame: 0xB53F9490
	Module:  C:\Program Files\Autodesk\Maya2018\bin\OpenMaya.dll (-exported-)
	Location: Tplugin::primaryLoad + 0x2C7 bytes
	Decl: public: int Tplugin::primaryLoad(class Tstring const & ptr64,class Tstring * ptr64)
	Source:  (0)
(20) section:offset 0001:001AE4ED Address: 0xFB88F4ED Frame: 0xB53F94C0
	Module:  C:\Program Files\Autodesk\Maya2018\bin\OpenMaya.dll (-exported-)
	Location: Tplugin::load + 0x1D bytes
	Decl: public: int Tplugin::load(class Tstring const & ptr64,class Tstring * ptr64)
	Source:  (0)
(21) section:offset 0001:00235632 Address: 0xFB916632 Frame: 0xB53F96A0
	Module:  C:\Program Files\Autodesk\Maya2018\bin\OpenMaya.dll (-exported-)
	Location: TpluginPref::~TpluginPref + 0x4742 bytes
	Decl: public: virtual TpluginPref::~TpluginPref(void)
	Source:  (0)
(22) section:offset 0001:00234BE9 Address: 0xFB915BE9 Frame: 0xB53F99C0
	Module:  C:\Program Files\Autodesk\Maya2018\bin\OpenMaya.dll (-exported-)
	Location: TpluginPref::~TpluginPref + 0x3CF9 bytes
	Decl: public: virtual TpluginPref::~TpluginPref(void)
	Source:  (0)
(23) section:offset 0001:002342BB Address: 0xFB9152BB Frame: 0xB53F99F0
	Module:  C:\Program Files\Autodesk\Maya2018\bin\OpenMaya.dll (-exported-)
	Location: TpluginPref::~TpluginPref + 0x33CB bytes
	Decl: public: virtual TpluginPref::~TpluginPref(void)
	Source:  (0)
(24) section:offset 0001:00017DE0 Address: 0x1C528DE0 Frame: 0xB53F9AD0
	Module:  C:\Program Files\Autodesk\Maya2018\bin\CommandEngine.dll (-exported-)
	Location: TmetaCommandPtrArray::catenate + 0xB10 bytes
	Decl: public: int TmetaCommandPtrArray::catenate(class TmetaCommandPtrArray const & ptr64)
	Source:  (0)
(25) section:offset 0001:00038A7D Address: 0x1C549A7D Frame: 0xB53F9B20
	Module:  C:\Program Files\Autodesk\Maya2018\bin\CommandEngine.dll (-exported-)
	Location: TminMelArgList::nextDigit + 0x3F1D bytes
	Decl: protected: static char * ptr64 TminMelArgList::nextDigit(char * ptr64)
	Source:  (0)
(26) section:offset 0001:0006A8D1 Address: 0x1C57B8D1 Frame: 0xB53F9B50
	Module:  C:\Program Files\Autodesk\Maya2018\bin\CommandEngine.dll (-exported-)
	Location: melScanDouble + 0x1011 bytes
	Source:  (0)
(27) section:offset 0001:00038A7D Address: 0x1C549A7D Frame: 0xB53F9BA0
	Module:  C:\Program Files\Autodesk\Maya2018\bin\CommandEngine.dll (-exported-)
	Location: TminMelArgList::nextDigit + 0x3F1D bytes
	Decl: protected: static char * ptr64 TminMelArgList::nextDigit(char * ptr64)
	Source:  (0)
(28) section:offset 0001:0006A057 Address: 0x1C57B057 Frame: 0xB53F9BE0
	Module:  C:\Program Files\Autodesk\Maya2018\bin\CommandEngine.dll (-exported-)
	Location: melScanDouble + 0x797 bytes
	Source:  (0)
(29) section:offset 0001:00038A7D Address: 0x1C549A7D Frame: 0xB53F9C30
	Module:  C:\Program Files\Autodesk\Maya2018\bin\CommandEngine.dll (-exported-)
	Location: TminMelArgList::nextDigit + 0x3F1D bytes
	Decl: protected: static char * ptr64 TminMelArgList::nextDigit(char * ptr64)
	Source:  (0)
(30) section:offset 0001:0006AF44 Address: 0x1C57BF44 Frame: 0xB53FA060
	Module:  C:\Program Files\Autodesk\Maya2018\bin\CommandEngine.dll (-exported-)
	Location: melScanDouble + 0x1684 bytes
	Source:  (0)
(31) section:offset 0001:00038A7D Address: 0x1C549A7D Frame: 0xB53FA0B0
	Module:  C:\Program Files\Autodesk\Maya2018\bin\CommandEngine.dll (-exported-)
	Location: TminMelArgList::nextDigit + 0x3F1D bytes
	Decl: protected: static char * ptr64 TminMelArgList::nextDigit(char * ptr64)
	Source:  (0)
(32) section:offset 0001:0003E744 Address: 0x1C54F744 Frame: 0xB53FA100
	Module:  C:\Program Files\Autodesk\Maya2018\bin\CommandEngine.dll (-exported-)
	Location: TminMelArgList::nextDigit + 0x9BE4 bytes
	Decl: protected: static char * ptr64 TminMelArgList::nextDigit(char * ptr64)
	Source:  (0)
(33) section:offset 0001:00068997 Address: 0x1C579997 Frame: 0xB53FA130
	Module:  C:\Program Files\Autodesk\Maya2018\bin\CommandEngine.dll (-exported-)
	Location: SophiaExecutable::evaluate + 0x47 bytes
	Decl: public: union Value * ptr64 SophiaExecutable::evaluate(void * ptr64)
	Source:  (0)
(34) section:offset 0001:00020D15 Address: 0x1C531D15 Frame: 0xB53FA250
	Module:  C:\Program Files\Autodesk\Maya2018\bin\CommandEngine.dll (-exported-)
	Location: TcommandEngine::executeCommand + 0x375 bytes
	Decl: public: int TcommandEngine::executeCommand(class Tstring const & ptr64,bool,bool,class TmelCmdResult * ptr64,unsigned int)
	Source:  (0)
(35) section:offset 0001:001D58FC Address: 0x0FFF68FC Frame: 0xB53FA2E0
	Module:  C:\Program Files\Autodesk\Maya2018\bin\ExtensionLayer.dll (-exported-)
	Location: TscriptAction::execute + 0xAC bytes
	Decl: private: bool TscriptAction::execute(class Tevent const & ptr64,class TinterpreterResult * ptr64 * ptr64)
	Source:  (0)
(36) section:offset 0001:00010DB1 Address: 0x0FE31DB1 Frame: 0xB53FA330
	Module:  C:\Program Files\Autodesk\Maya2018\bin\ExtensionLayer.dll (-exported-)
	Location: Taction::performAction + 0xD1 bytes
	Decl: private: void Taction::performAction(class Tevent const & ptr64,char const * ptr64)
	Source:  (0)
(37) section:offset 0001:00010C75 Address: 0x0FE31C75 Frame: 0xB53FA3C0
	Module:  C:\Program Files\Autodesk\Maya2018\bin\ExtensionLayer.dll (-exported-)
	Location: Taction::doIt + 0x45 bytes
	Decl: public: void Taction::doIt(void)
	Source:  (0)
(38) section:offset 0001:001DC3F2 Address: 0x766BD3F2 Frame: 0xB53FA4E0
	Module:  C:\Program Files\Autodesk\Maya2018\bin\Qt5Core.dll (-exported-)
	Location: QMetaObject::activate + 0x592 bytes
	Decl: public: static void QMetaObject::activate(class QObject * ptr64,int,int,void * ptr64 * ptr64)
	Source:  (0)
(39) section:offset 0001:00067901 Address: 0x0FE88901 Frame: 0xB53FA530
	Module:  C:\Program Files\Autodesk\Maya2018\bin\ExtensionLayer.dll (-exported-)
	Location: QmayaCheckBox::onOffChanged + 0x51 bytes
	Decl: private: void QmayaCheckBox::onOffChanged(void)
	Source:  (0)
(40) section:offset 0001:001DC3F2 Address: 0x766BD3F2 Frame: 0xB53FA650
	Module:  C:\Program Files\Autodesk\Maya2018\bin\Qt5Core.dll (-exported-)
	Location: QMetaObject::activate + 0x592 bytes
	Decl: public: static void QMetaObject::activate(class QObject * ptr64,int,int,void * ptr64 * ptr64)
	Source:  (0)
(41) section:offset 0001:001017B5 Address: 0x75D427B5 Frame: 0xB53FA690
	Module:  C:\Program Files\Autodesk\Maya2018\bin\Qt5Widgets.dll (-exported-)
	Location: QCheckBox::nextCheckState + 0xE5 bytes
	Decl: protected: virtual void QCheckBox::nextCheckState(void)
	Source:  (0)
(42) section:offset 0001:000EE256 Address: 0x75D2F256 Frame: 0xB53FA6D0
	Module:  C:\Program Files\Autodesk\Maya2018\bin\Qt5Widgets.dll (-exported-)
	Location: QAbstractButton::click + 0x146 bytes
	Decl: public: void QAbstractButton::click(void)
	Source:  (0)
(43) section:offset 0001:000EF0D8 Address: 0x75D300D8 Frame: 0xB53FA700
	Module:  C:\Program Files\Autodesk\Maya2018\bin\Qt5Widgets.dll (-exported-)
	Location: QAbstractButton::mouseReleaseEvent + 0x88 bytes
	Decl: protected: virtual void QAbstractButton::mouseReleaseEvent(class QMouseEvent * ptr64)
	Source:  (0)
(44) section:offset 0001:000410FA Address: 0x75C820FA Frame: 0xB53FA8D0
	Module:  C:\Program Files\Autodesk\Maya2018\bin\Qt5Widgets.dll (-exported-)
	Location: QWidget::event + 0xDA bytes
	Decl: protected: virtual bool QWidget::event(class QEvent * ptr64)
	Source:  (0)
(45) section:offset 0001:00017072 Address: 0x75C58072 Frame: 0xB53FA900
	Module:  C:\Program Files\Autodesk\Maya2018\bin\Qt5Widgets.dll (-exported-)
	Location: QApplicationPrivate::notify_helper + 0x112 bytes
	Decl: public: bool QApplicationPrivate::notify_helper(class QObject * ptr64,class QEvent * ptr64)
	Source:  (0)
(46) section:offset 0001:00014CDE Address: 0x75C55CDE Frame: 0xB53FB020
	Module:  C:\Program Files\Autodesk\Maya2018\bin\Qt5Widgets.dll (-exported-)
	Location: QApplication::notify + 0x89E bytes
	Decl: public: virtual bool QApplication::notify(class QObject * ptr64,class QEvent * ptr64)
	Source:  (0)
(47) section:offset 0001:0001CCBB Address: 0x0FE3DCBB Frame: 0xB53FB0F0
	Module:  C:\Program Files\Autodesk\Maya2018\bin\ExtensionLayer.dll (-exported-)
	Location: TwindowManager::windowPreferencesAreEnabled + 0x33B bytes
	Decl: public: bool TwindowManager::windowPreferencesAreEnabled(void)
	Source:  (0)
(48) section:offset 0001:001BBC19 Address: 0x7669CC19 Frame: 0xB53FB170
	Module:  C:\Program Files\Autodesk\Maya2018\bin\Qt5Core.dll (-exported-)
	Location: QCoreApplication::notifyInternal2 + 0xB9 bytes
	Decl: private: static bool QCoreApplication::notifyInternal2(class QObject * ptr64,class QEvent * ptr64)
	Source:  (0)
(49) section:offset 0001:0001846D Address: 0x75C5946D Frame: 0xB53FB280
	Module:  C:\Program Files\Autodesk\Maya2018\bin\Qt5Widgets.dll (-exported-)
	Location: QApplicationPrivate::sendMouseEvent + 0x37D bytes
	Decl: public: static bool QApplicationPrivate::sendMouseEvent(class QWidget * ptr64,class QMouseEvent * ptr64,class QWidget * ptr64,class QWidget * ptr64,class QWidget * ptr64 * ptr64,class QPointer<class QWidget> & ptr64,bool)
	Source:  (0)
(50) section:offset 0001:00069C06 Address: 0x75CAAC06 Frame: 0xB53FB410
	Module:  C:\Program Files\Autodesk\Maya2018\bin\Qt5Widgets.dll (-exported-)
	Location: QSizePolicy::QSizePolicy + 0x2BA6 bytes
	Decl: public: QSizePolicy::QSizePolicy(void)
	Source:  (0)
(51) section:offset 0001:00067AC5 Address: 0x75CA8AC5 Frame: 0xB53FB470
	Module:  C:\Program Files\Autodesk\Maya2018\bin\Qt5Widgets.dll (-exported-)
	Location: QSizePolicy::QSizePolicy + 0xA65 bytes
	Decl: public: QSizePolicy::QSizePolicy(void)
	Source:  (0)
(52) section:offset 0001:00017072 Address: 0x75C58072 Frame: 0xB53FB4A0
	Module:  C:\Program Files\Autodesk\Maya2018\bin\Qt5Widgets.dll (-exported-)
	Location: QApplicationPrivate::notify_helper + 0x112 bytes
	Decl: public: bool QApplicationPrivate::notify_helper(class QObject * ptr64,class QEvent * ptr64)
	Source:  (0)
(53) section:offset 0001:00015F77 Address: 0x75C56F77 Frame: 0xB53FBBC0
	Module:  C:\Program Files\Autodesk\Maya2018\bin\Qt5Widgets.dll (-exported-)
	Location: QApplication::notify + 0x1B37 bytes
	Decl: public: virtual bool QApplication::notify(class QObject * ptr64,class QEvent * ptr64)
	Source:  (0)
(54) section:offset 0001:0001CCBB Address: 0x0FE3DCBB Frame: 0xB53FBC90
	Module:  C:\Program Files\Autodesk\Maya2018\bin\ExtensionLayer.dll (-exported-)
	Location: TwindowManager::windowPreferencesAreEnabled + 0x33B bytes
	Decl: public: bool TwindowManager::windowPreferencesAreEnabled(void)
	Source:  (0)
(55) section:offset 0001:001BBC19 Address: 0x7669CC19 Frame: 0xB53FBD10
	Module:  C:\Program Files\Autodesk\Maya2018\bin\Qt5Core.dll (-exported-)
	Location: QCoreApplication::notifyInternal2 + 0xB9 bytes
	Decl: private: static bool QCoreApplication::notifyInternal2(class QObject * ptr64,class QEvent * ptr64)
	Source:  (0)
(56) section:offset 0001:00030904 Address: 0x0C851904 Frame: 0xB53FC1A0
	Module:  C:\Program Files\Autodesk\Maya2018\bin\Qt5Gui.dll (-exported-)
	Location: QGuiApplicationPrivate::processMouseEvent + 0x7F4 bytes
	Decl: public: static void QGuiApplicationPrivate::processMouseEvent(class QWindowSystemInterfacePrivate::MouseEvent * ptr64)
	Source:  (0)
(57) section:offset 0001:0001690B Address: 0x0C83790B Frame: 0xB53FC1E0
	Module:  C:\Program Files\Autodesk\Maya2018\bin\Qt5Gui.dll (-exported-)
	Location: QWindowSystemInterface::sendWindowSystemEvents + 0x9B bytes
	Decl: public: static bool QWindowSystemInterface::sendWindowSystemEvents(class QFlags<enum QEventLoop::ProcessEventsFlag>)
	Source:  (0)
(58) section:offset 0001:00203DC5 Address: 0x766E4DC5 Frame: 0xB53FC2F0
	Module:  C:\Program Files\Autodesk\Maya2018\bin\Qt5Core.dll (-exported-)
	Location: QEventDispatcherWin32::processEvents + 0xE15 bytes
	Decl: public: virtual bool QEventDispatcherWin32::processEvents(class QFlags<enum QEventLoop::ProcessEventsFlag>)
	Source:  (0)
(59) section:offset 0001:0000A85D Address: 0x5C86B85D Frame: 0xB53FC460
	Module:  C:\Windows\System32\USER32.dll (-exported-)
	Location: CallWindowProcW + 0x4DD bytes
	Source:  (0)
(60) section:offset 0001:0000A1EF Address: 0x5C86B1EF Frame: 0xB53FC4E0
	Module:  C:\Windows\System32\USER32.dll (-exported-)
	Location: DispatchMessageW + 0x1AF bytes
	Source:  (0)
(61) section:offset 0001:002034F6 Address: 0x766E44F6 Frame: 0xB53FF880
	Module:  C:\Program Files\Autodesk\Maya2018\bin\Qt5Core.dll (-exported-)
	Location: QEventDispatcherWin32::processEvents + 0x546 bytes
	Decl: public: virtual bool QEventDispatcherWin32::processEvents(class QFlags<enum QEventLoop::ProcessEventsFlag>)
	Source:  (0)
(62) section:offset 0001:00057379 Address: 0xFBEE8379 Frame: 0xB53FF8B0
	Module:  C:\Program Files\Autodesk\Maya2018\qt-plugins\platforms\qwindows.dll (-exported-)
	Location: qt_plugin_query_metadata + 0x24B9 bytes
	Source:  (0)
(63) section:offset 0001:001B8343 Address: 0x76699343 Frame: 0xB53FF930
	Module:  C:\Program Files\Autodesk\Maya2018\bin\Qt5Core.dll (-exported-)
	Location: QEventLoop::exec + 0x1B3 bytes
	Decl: public: int QEventLoop::exec(class QFlags<enum QEventLoop::ProcessEventsFlag>)
	Source:  (0)
(64) section:offset 0001:001BA9B7 Address: 0x7669B9B7 Frame: 0xB53FF9A0
	Module:  C:\Program Files\Autodesk\Maya2018\bin\Qt5Core.dll (-exported-)
	Location: QCoreApplication::exec + 0x147 bytes
	Decl: public: static int QCoreApplication::exec(void)
	Source:  (0)
(65) section:offset 0001:00016FCE Address: 0x0FE37FCE Frame: 0xB53FFA90
	Module:  C:\Program Files\Autodesk\Maya2018\bin\ExtensionLayer.dll (-exported-)
	Location: Tapplication::start + 0xCE bytes
	Decl: public: void Tapplication::start(void)
	Source:  (0)
(66) section:offset 0001:00000A3A Address: 0x441E1A3A Frame: 0xB53FFC30
	Module:  C:\Program Files\Autodesk\Maya2018\bin\maya.exe (-exported-)
	Source:  (0)
(67) section:offset 0001:0002C3B4 Address: 0x4420D3B4 Frame: 0xB53FFCC0
	Module:  C:\Program Files\Autodesk\Maya2018\bin\maya.exe (-exported-)
	Location: TiteratorWrapperBidir<TscenePartitions::ConstIteratorDescriptor,TiteratorWrapper<TscenePartitions::ConstIteratorDescriptor> >::operator= + 0x1CAF4 bytes
	Source:  (0)
(68) section:offset 0001:0002B32F Address: 0x4420C32F Frame: 0xB53FFD00
	Module:  C:\Program Files\Autodesk\Maya2018\bin\maya.exe (-exported-)
	Location: TiteratorWrapperBidir<TscenePartitions::ConstIteratorDescriptor,TiteratorWrapper<TscenePartitions::ConstIteratorDescriptor> >::operator= + 0x1BA6F bytes
	Source:  (0)
(69) section:offset 0001:00010FE4 Address: 0x5E531FE4 Frame: 0xB53FFD30
	Module:  C:\Windows\System32\KERNEL32.DLL (-exported-)
	Location: BaseThreadInitThunk + 0x14 bytes
	Source:  (0)
(70) section:offset 0001:0006E061 Address: 0x5EE5F061 Frame: 0xB53FFD80
	Module:  C:\Windows\SYSTEM32\ntdll.dll (-exported-)
	Location: RtlUserThreadStart + 0x21 bytes
	Source:  (0)
End of stack

//crash log file name = C:\Users\ALEKSA~1\AppData\Local\Temp\MayaCrashLog181126.1529.log
//version     = 18.4.0.7413
//cut            = Thu 07/19/2018, 201807191622
//current scene = unDisclosed
//command history (most recent last):
//====================================================
//last tool: renderWindowSelectContextItem
//====================================================
//panel with focus: modelPanel4
//visible panels:
// modelPanel4 outlinerPanel1 scriptEditorPanel1 
//====================================================
//Memory usage:
// 3153.629 Mb	Free Memory
// 4898.371 Mb	Free Swap
//  781.789 Mb	Current

//====================================================

undefined symbol: _ZNK10MPxCommand9hasSyntaxEv (cvwrap)

Hello,
I try to compile the plugin for maya 2016.5 on CentOS 6, but I got the following error:

// Error: line 1: Unable to dynamically load : ...install/plugins/maya/2016_EXT2/cvwrap/2018.02.23/centos-6_x86-64/./plug-ins/cvwrap.so
...install/plugins/maya/2016_EXT2/cvwrap/2018.02.23/centos-6_x86-64/./plug-ins/cvwrap.so: undefined symbol: _ZNK10MPxCommand9hasSyntaxEv // 
// Error: line 1: ...install/plugins/maya/2016_EXT2/cvwrap/2018.02.23/centos-6_x86-64/./plug-ins/cvwrap.so: undefined symbol: _ZNK10MPxCommand9hasSyntaxEv (cvwrap) // 

cvwrap commit: cd508db
os: centOS 6.8
maya: 2016.5

Linker errors with Maya 2016 and VS 2015

Hi I cannot figure out why I got the following linker errors:

2>cvWrapDeformer.obj : error LNK2001: unresolved external symbol "public: static struct _cl_command_queue * __cdecl MOpenCLInfo::getMayaDefaultOpenCLCommandQueue(void)" (?getMayaDefaultOpenCLCommandQueue@MOpenCLInfo@@SAPEAU_cl_command_queue@@XZ) 2>cvWrapDeformer.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class MVector __cdecl MVector::operator*(float)const " (__imp_??DMVector@@QEBA?AV0@M@Z) referenced in function "public: static long __cdecl CVWrap::EvaluateWrap(void *)" (?EvaluateWrap@CVWrap@@SAJPEAX@Z) 2>cvWrapDeformer.obj : error LNK2001: unresolved external symbol "public: virtual class MStatus __cdecl MPxNode::dependsOn(class MPlug const &,class MPlug const &,bool &)const " (?dependsOn@MPxNode@@UEBA?AVMStatus@@AEBVMPlug@@0AEA_N@Z)

I have setup my project with the CMake files you provided.

Export/Import binding don't work maya 2018.4

Hi guys,

I'm trying to export my binding with the plugin commands. It export a compiled file, and then if I import that file again to my cvWrap node everything seems correct but when I check the binds they are not as the ones I exported before.

Then I tried to export the binding with the Deform-Export Weight (the default for Maya), which exports a xml file. And in this case when I imported the weights they worked perfectly. Do you know if I'm doing something wrong?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.