Copy link to clipboard
Copied
Hi
I would like to try out the demo solution called Commando. It doesn't come with a solution project for windows, only mac. What would be the best way to set that up manually in VS2023?
I have tried this:
1. Start with Artie first and veryfied that it works.
2. Replaced the content of Artie.cpp with the content of Commando.cpp.
3. Replaced the content of Artie_PIPL.r with the content of Commando_PIPL.r
4. Added Commando_Strings.cpp, Commando.h and Commando_Strings.h to the solution.
That doesn't work. When I build I get the following error:
"Severity Code Description Project File Line Suppression State
Error C2338 static_assert failed: 'Windows headers require the default packing option. Changing this can lead to memory corruption. This diagnostic can be disabled by building with WINDOWS_IGNORE_PACKING_MISMATCH defined.' Artie C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\winnt.h 2496"
Any help is greatly appreciated.
- Jakob
My appologies. I thought I was doing something really wrong. But I should have just googled the error message.
The question was already answered here: https://community.adobe.com/t5/after-effects-discussions/error-quot-windows-headers-require-the-default-packing-option-quot-when-building-debugging/td-p/11633411
Copy link to clipboard
Copied
My appologies. I thought I was doing something really wrong. But I should have just googled the error message.
The question was already answered here: https://community.adobe.com/t5/after-effects-discussions/error-quot-windows-headers-require-the-defa...