Once it loads, you press the explorer button at (1). It will initially show most everything as missing, but you can add a path for it to consider: namely, the Illustrator.exe location where you put your DLLs. It's fairly slow so be patient as it loads (it might look like it's hung for two or three minutes, but it is working). The tool I use to debug the latter kind of problem is DependencyWalker.īasically, you open the AIP file and it will show you its depenencies. But assuming you don't hit the breakpoint, it can only be either (i) your PIPL is missing/bad or it can't find a dependency. If you hit that, everything else I'm about to tell you is unnecessary. aipįiguring out why your plugin isn't being loaded is a time-honoured tradition in AI plugin development The first thing I always do is put a breakpoint in the shell.cpp or whatever the entry point source file is. Is this because something is wrong inside this one, or is it because Illustrator can not find the other dlls I need (especially the one for Qt). I get from this the following resources in my aip-file:īut when I start Illustrator, it is still not detected. Generated from the TEXTINCLUDE 3 resource. LTEXT "Type: ",kMyPluginParameterTypeItemID,5,55,170,14 LTEXT "Prompt: ",kMyPluginParameterPromptItemID,5,5,170,14ĮDITTEXT kMyPluginParameterValueItemID,5,25,170,14,ES_AUTOHSCROLLĬONTROL "",kMyPluginParameterChoiceItemID,"ADM Popup List Type",WS_TABSTOP,5,25,170,14 STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENUĭEFPUSHBUTTON "OK",kDlgOKButton,185,5,50,14 KMyPluginPromptDialogID DIALOG DISCARDABLE 0, 0, 240, 75 #define PIPL_PLUGIN_NAME kMySDKPluginName #define kMySDKPluginName "MyIllustratorPlugin" LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) Generated from the TEXTINCLUDE 2 resource. #include "././Source/IllustratorPluginID.h" rc-File: //Microsoft Developer Studio generated resource script. When trying to build a dynamic one with CMake, I got a lot of linker-error.īut I was able to build a dynamic library from the same sources which I allready use for Mac (my whole Plugin so far is working perfectly with CMake on the Mac).īut Illustrator is still not able to load it I worked further on that this today and found out the CMake was building a static library - I do not know why. (The illustratorapi itself is not the, because I was unsure whether it is allowed by Adobe to publish it there. There is no step for building the plugin.pipl-file, I use the one which was generated via the VS-project. The build was successful, but Illustrator does not detect the plugin. I was successful to build a plugin for Mac with CMake, but now I'm struggeling with Windows.įor using an easy plugin, I took the MenuPlay-example from the samples delivered together with the SDK and build it in Visual Studio -> This Plugin was detected by the Illustrator Because our ecosystem demands it (and for portability reasons) I have to do this on CMake. I'm currently developing a plugin for Illustrator.
0 Comments
Leave a Reply. |