On 25/08/2016 at 13:41, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 14
Platform: Windows ;
Language(s) : C++ ;
---------
I've recently been trying to create a plugin in Visual Studio 2010 that utilizes Curl and have been having trouble with the 64 bit version. For my plugin I downloaded curl from https://curl.haxx.se/.
Following the instructions inside BUILD.WINDOWS.txt I built curl in the Visual Studio Command Prompt using: nmake /f Makefile.vc mode=dll.
Going through the suggestions on this thread I did the following
-Placing libcurl.dll inside the VS project's Debug and Release folders
Inside the project's properties
-Set the paths for "Include Directories" and "Library Directories" to the curl folders.
-Place libcurl.lib inside the "Additional Dependencies" for Linker->Input.
Using these I compiled the 32 bit version of my plugin within VS successfully.
I then used the instructions listed in BUILD.WINDOWS.txt to build a 64 bit curl using: nmake /f Makefile.vc mode=dll MACHINE=x64
I switched the above suggestions to point at the 64 bit curl paths, and place the new libcurl.dll inside the two folders. When I compile the 64 bit version of my plugin in VS it finished without errors.The problem comes in when I open Cinema and my plugin isn't included in the plugin drop down.
I'm not sure if I didn't build the 64 bit curl correctly or is the 64 bit curl gotten in a completely different way. Any help would be appreciated because I'm stumped.
Peter S.