Hi, I am using the Illustrator CC 2021 and I am trying to build the HelloWorld plug in for Windows based on the instructions in the Getting Started Guide. I think I have followed the instructions properly, but when I build the project I get 3 errors; all of which are C5208 referencing the ALColor.h file. I am new to the Illustrator SDK, or any SDK for that matter, so forgive me if it is something trivial and silly.
Thanks, and any help would be greatly appreciated
C5208 seems to be a warning rather than an error. See if your project has "treat warning as error" enabled, if yes disable it and then try to compile. You can disable this warning as well, see the following article for more details. Also, do make sure that you are using the correct version of Visual Studio as recommended in the SDK.
Thanks for the reply Manan. I was able to bipass the 3 C5208 errors. Now when I build the project, I get a LNK1104 error: unable to open file 'common/win/PluginMain.def'. This seems like a simple file and I double and tripple checked the link in the Configuration Properties > Linker > Input > Module Definition File. Agian, I appreciate any help you might be able to provide.
As per the getting started guide the path for the module definition file should be ..\common\win\PluginMain.def and your error shows it to be just common\win\PluginMain.def. Notice the missing ..\ in the path. Can you confirm that you have the correct path set? To be doubly sure replace the relative path with the full absolute path of the file and then try