Copy link to clipboard
Copied
Hi all, does anyone know how to debug sdk project on visual studio?
I have set the output folder to 'C:\Program Files\Adobe\Adobe After Effects CC 2015\Support Files\Plug-ins\Effects',
and set debug command to 'C:\Program Files\Adobe\Adobe After Effects CC 2015\Support Files\AfterFX.exe'
then I set some breakpoints and press the debug button, AfterFx.exe runs and it creates a .aex file in the folder 'C:\Program Files\Adobe\Adobe After Effects CC 2015\Support Files\Plug-ins\Effects'.
But when I select the plug-in in AE, nothing happend, still could not debug it
How to Debug the project, did I miss something?
thx for help!
Probably there is still something not set in your project settings.
Go to your solution properties then check for the following entries:
1. C++ - Code Generation - Runtime Library
This needs to be set to either "Multi-threaded Debug (/MTd)" or "Multi-threaded Debug DLL (/MDd)"
2. C++ - Preprocessor
Make sure "_DEBUG" is defined and "NDEBUG" is not defined for debug builds
3. Linker - Debugging - Generate Debug Info
That should obviously be set to YES as well 🙂
I think that should do the trick. Probabl
...Copy link to clipboard
Copied
Probably there is still something not set in your project settings.
Go to your solution properties then check for the following entries:
1. C++ - Code Generation - Runtime Library
This needs to be set to either "Multi-threaded Debug (/MTd)" or "Multi-threaded Debug DLL (/MDd)"
2. C++ - Preprocessor
Make sure "_DEBUG" is defined and "NDEBUG" is not defined for debug builds
3. Linker - Debugging - Generate Debug Info
That should obviously be set to YES as well 🙂
I think that should do the trick. Probably #1 is not set correctly for you.
Copy link to clipboard
Copied
thanks for reply, I set all these properties correctly.
the problem is I skip the "Loading symbols " process.
By the way, I run the example ‘GLator’, but it seems has some issues,
Should I create my own context instead of AE's gl context?
do you have some idea on developing OpenGL in AE?
thanks again ^ ^
Copy link to clipboard
Copied
Hi!
About GLator, you can check this thread:
GLator for dummies (and from dummy...)
The thing is, if you're using CC 2015, AE's architecture has changed and it can lead to some issues. I've never hit them yet though, but I've been warned about it, so now you've been warned too 😉
Cheers,
François
Copy link to clipboard
Copied
wow thanks, I'll check it
Copy link to clipboard
Copied
The GLator example as it is distributed with the SDK is still a mess .
I would definitely recommend creating your own OpenGL context!
Also check out the GLator thread Francois posted above, I contributed a bit to that too.
Copy link to clipboard
Copied
Hi Toby!
You see, I knew someone would read it one day 😉
Cheers,
François
Copy link to clipboard
Copied
is there a new sdk for CC2015?
Copy link to clipboard
Copied
Yes, there is a CC2015 (13.5) SDK with some added and modified examples.
After Effects Developer Center | Adobe Developer Connection
As Francois said, CC2015 introduced a new threading architecture that you need to keep in mind when porting older plugins (or developing new ones) that access render/sequence data from the UI thread.
Copy link to clipboard
Copied
hi, I didn't find a cc2015(13.5) sdk in the link, the last SDK on that page is CS5.5
can you give me a specific example about "access render/sequence data from the UI thread"? i don't get it
thank you.
Copy link to clipboard
Copied
That link I gave you has the SDKs for
Maybe refresh your browser to see them 🙂
Copy link to clipboard
Copied
thanks
Find more inspiration, events, and resources on the new Adobe Community
Explore Now