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

SDK: Commando project missing windows solution

Engaged ,
Jan 17, 2024 Jan 17, 2024

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

TOPICS
SDK

Views

99

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

Engaged , Jan 17, 2024 Jan 17, 2024

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 

Votes

Translate

Translate
Engaged ,
Jan 17, 2024 Jan 17, 2024

Copy link to clipboard

Copied

LATEST

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... 

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