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

AI SDK 2021 v2 Building Error

Explorer ,
Apr 15, 2021 Apr 15, 2021

Hello,

 

Just starting to explore the SDK and don't know much of it.

I'm trying to build plugin from sample code as it is but getting this error


Error MSB3073 The command "echo performing: python ..\..\tools\pipl\create_pipl.py -input "[{\"name\":\"Annotator\"}]"
python ..\..\tools\pipl\create_pipl.py -input "[{\"name\":\"Annotator\"}]"
:VCEnd" exited with code 1. Annotator C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets 145

 

Windows 10 Version 20H2

Microsoft Visual Studio Community 2019
Version 16.9.2

 

also when I open a project it pops up this and I confirm

hubgobllin_0-1618473696282.pngexpand image

 

 

Thank you

 

TOPICS
SDK
853
Translate
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

Explorer , Apr 15, 2021 Apr 15, 2021

Hi hubgobllin!

 

Welcome! I'm also rather new in this and someone more experienced might have better advice. However, I had a bad experience getting started also, but now I'm up and running and writing my second plug-in. Unfortunately the documentation is not very updated, and contains a lot of errors. It recommends Visual Studio 2019, but I never got that to work at all. I now have a setup with Visual Studio 2017 that works fine. So my recommendeation is to go with that, and this also seems to ma

...
Translate
Adobe
Explorer ,
Apr 15, 2021 Apr 15, 2021

Hi hubgobllin!

 

Welcome! I'm also rather new in this and someone more experienced might have better advice. However, I had a bad experience getting started also, but now I'm up and running and writing my second plug-in. Unfortunately the documentation is not very updated, and contains a lot of errors. It recommends Visual Studio 2019, but I never got that to work at all. I now have a setup with Visual Studio 2017 that works fine. So my recommendeation is to go with that, and this also seems to match the SDK documents a little bit more I think. The PIPL stuff is a bit messy. There is an outdated way generate PIPL files, and a new way. The Getting Started Guide (page 33) describes how to implement the new way. Just follow it carefully and it should work. One other thing that I got stuck on is that you need a Python 2.7 installation (install with Visual Studio). After install, add the Python path to VC++ directories / Executable Directories in the project's properties.

 

Here are some random notes I did during setup:

VS 2017
Python 2.7 64 bit
Desktop Development C++ Toolset
C++ MFC

Install the Desktop Development C++ toolset (Tools/Get Tools and Features) with the Visual Studio Installer.

Make sure the C++ toolset includes Windows 8.1 SDK.

Make sure to set project to 64 bit (before editing project properties).

Set the Python environment to 2.7

 

I hope this might help. Good luck!

Translate
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
Explorer ,
Apr 15, 2021 Apr 15, 2021

Thank you superpanic,

 

adding Python from VS and paths in executable directories solved the issue 

Translate
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
Explorer ,
Apr 16, 2021 Apr 16, 2021
LATEST

Good to hear! (If you think this was helpful, please mark as correct answer.)

Translate
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