• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Getting Started with Plugins for Illustrator CC 2018

New Here ,
Dec 01, 2017 Dec 01, 2017

Copy link to clipboard

Copied

I am trying to do some maintenance work on a plugin that used to work with Illustrator CC 2017.

First I tried updating the SDK to 2018 and otherwise building that as it was, but it gave me an Error loading plugins error.

Second, I tried building some sample plugins and got the same results.

Third, I tried following the guide for creating a new plugin following the guide in getting-started-guide.pdf in the 2018 SDK download, and again got the same results. I assume that if I can fix this, then I can work backwards threw the other examples and then the maintenance I originally wanted to do.

Here is the what I created: TestPluginFirst.zip - Google Drive

While following that guide, I did adjust the length of the name in the resource from 12L to 16L since I was using TestPluginFirst instead of HelloWorld (as well as adjust the padding from two padding chars to one).  I also had to adjust the include paths in "Configure the project settings" step 5, to add an extra "..\" in front of each of them. Same for the module definition file path in step 13. Additionally, I adjusted the output path in step 11 to match where the project files for the examples output their aip files.  I used the value "..\..\output\win\Win32\Debug\TestPluginFirst.aip" Finally, in "Debugging a plug-in under Visual Studio", step 3 I used the path "

C:\Program Files\Adobe\Adobe Illustrator CC 2018\Support Files\Contents\Windows\Illustrator.exe" for my illustrator executable instead of the value shown in that PDF.

The new plugin builds without errors.  However, when Illustrator starts it still says:

Error loading plugins.

TestPluginFirst.aip

Looking at the output window in Visual Studio, I see the lines:

Illustrator.exe' (Win32): Loaded 'C:\Users\jdboyd\Kimbo\AI_CC_2018_SDK_Win\Adobe Illustrator CC 2018 SDK\samplecode\output\win\Win32\Debug\TestPluginFirst.aip'. Symbols loaded.

'Illustrator.exe' (Win32): Unloaded 'C:\Users\jdboyd\Kimbo\AI_CC_2018_SDK_Win\Adobe Illustrator CC 2018 SDK\samplecode\output\win\Win32\Debug\TestPluginFirst.aip'

I don't see anything else that looks relevent.  And of course, the plugin is not shown in the plugin list shown in Help -> System Info.

As to versions, I am using Illustrator CC 2018 22.0.1 (64bit).

I am using Visual Studio Community 2015 Update 3, and I am using Windows 10. 

Thank you in advance for any assistance offered.

TOPICS
SDK

Views

1.8K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Advocate , Dec 04, 2017 Dec 04, 2017

As you are working on Windows, the other possibility is that you are building a 32 bit plugin for a 64 bit version of Illustrator.

Votes

Translate

Translate
Adobe
Advocate ,
Dec 02, 2017 Dec 02, 2017

Copy link to clipboard

Copied

Are you sure you are building with the CC 2018 SDK headers?

Up to CC 2017, Illustrator would load plugins built with the original Illustrator CC SDK or later. For some reason Adobe broke backward compatibility in CC 2018 when the version number for the AIFilePath suite increased and CC 2018 refused to load earlier versions of this suite. Version numbers of other suites have changed since the original CC version and later Illustrator CC versions still load the older suite versions.

You may not think you are using the AIFilePath suite, but if you are using the common code for your plugin, Suites.cpp will try to load the AIFilePath suite and if it fails you will get the error loading plugin message.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
Dec 04, 2017 Dec 04, 2017

Copy link to clipboard

Copied

As you are working on Windows, the other possibility is that you are building a 32 bit plugin for a 64 bit version of Illustrator.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Dec 04, 2017 Dec 04, 2017

Copy link to clipboard

Copied

LATEST

Thank you very much.  Changing the test plug in to 64bit did the job.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines