Message 1 of 4
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have an MPxNode and an MPxCommand in a plugin I can't compile due to three LNK2005 errors.
1>pluginMain.obj : error LNK2005: DllMain already defined in UVDeformer.obj
1>pluginMain.obj : error LNK2005: MApiVersion already defined in UVDeformer.obj
1>pluginMain.obj : error LNK2005: "struct HINSTANCE__ * MhInstPlugin" (?MhInstPlugin@@3PEAUHINSTANCE__@@EA) already defined in UVDeformer.obj
I have cmake and my project set up the same way I normally would but this is the first time I've tried to put two tools(node and command) into the same plug-in. What would I need to change to keep these things from writing to the .obj twice?
Solved! Go to Solution.