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

cnvtpipl.exe unexptected end of file error

New Here ,
Nov 18, 2015 Nov 18, 2015

Heya,

I am developing one photoshop plugin in "Qt framework 5.5".

I follow the steps from "Automation Tutorial.pdf" ebook provided by adobe photoshop sdk.

First , My Project is Qt project not normal visual c++ project.

I add one text file with extension .r & then change properties of that text file & execute cl command there

cl /I..\..\common\Includes /I..\..\..\PhotoshopAPI\Photoshop /I..\..\..\PhotoshopAPI\PICA_SP /EP /DWIN32=1 /Tc"%(FullPath)" > "$(IntDir)%(Filename).rr"

..\..\resources\cnvtpipl.exe "$(IntDir)%(Filename).rr" "$(IntDir)%(Filename).pipl"

del "$(IntDir)%(Filename).rr"

So now i got

1>  TestPluginOne.rr

1>..\..\resources\cnvtpipl.exe(2): fatal error C1004: unexpected end-of-file found

1>  TestPluginOne.pipl

1>c1 : fatal error C1083: Cannot open source file: '.\..\..\Output\Objs\Debug64\TestPluginOne.rr': Permission denied

1>c1 : fatal error C1083: Cannot open source file: '.\..\..\Output\Objs\Debug64\TestPluginOne.pipl': No such file or directory

cl command execute successfully if i remove cnvtpipl.exe from the command (i.e remove entire 2nd line)

We can not say that cnvtpipl.exe not found because it found but it throws fatel error of unexpected end of file.

Please Help Me..!!

TOPICS
SDK
1.4K
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
Adobe
Explorer ,
Nov 25, 2015 Nov 25, 2015

Try to add quotes around all paths and try to use absolute paths.

Something like this:

cl /I"d:\WORK\Visual Studio\bibl\psd\all" /EP /DWIN32=1 /Tc"%(FullPath)" > "$(IntDir)$(TargetName).rr"

"d:\WORK\Visual Studio\bibl\psd\all\cnvtpipl.exe" "$(IntDir)$(TargetName).rr" "$(IntDir)$(TargetName).pipl"

del "$(IntDir)$(TargetName).rr"

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
Participant ,
Aug 18, 2018 Aug 18, 2018

Does anyone can explain what this exactly do?

If one would like to so it in a batch file or CMake file, what should be done?

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
Engaged ,
Aug 18, 2018 Aug 18, 2018

Have a look at this Programming plugins for Photoshop: Building a plug-in .  Also view any vcxproj file in the samples within the the SDK.

RONC

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
Participant ,
Aug 18, 2018 Aug 18, 2018
LATEST

rechmbrs​, What I wanted is to remove the dependency on Visual Studio and move to CMake based compilation.

It is easy to work with h and c / cpp in CMake.
But the r files are something which should be treated in a special way.

I want to understand what should one do with them.

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