Skip to main content
jagirb4857793
Participant
November 18, 2015
Question

C1083 : Permission Denied Error

  • November 18, 2015
  • 1 reply
  • 1269 views

I am getting following error

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

         maone.pipl

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

         del

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

         zaptechpluginone.rr

     1>c1 : fatal error C1083: Cannot open source file: 'del': No such file or directory

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

     1>Done Building Project "C:\Users\zaptech\Documents\Visual Studio 2013\Projects\MaOne\MaOne\MaOne.vcxproj" (Build target(s)) -- FAILED.

Please Help

I had perform following steps:-

Create Qt Project

Add Photoshop SDK Liberaries (i.e all header file)

Add .rc file

Add .r file & in properties i execute following command

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"

All paths are correct..

But .pipl file not generated & .rr file generated but got above error

Please Help Me..

This topic has been closed for replies.

1 reply

Tom Ruark
Inspiring
November 18, 2015

It doesn't look like the .rr file got generated "cannot open". I would check you .r file and make sure you have matching open and close braces and that the cl command worked successfully. Do the samples build correctly?

jagirb4857793
Participant
November 19, 2015

I checked .r file is correct..

#include "PIGeneral.h"

resource 'PiPL' (16000, "MaPluginOne", purgeable)

{

  {

  Kind { Filter },

  Name { "Test..." },

  Category { "Test Plugin Filter" },

  Version { (latestFilterVersion << 16) | latestFilterSubVersion },

  #if defined(_WIN64)

  CodeWin64X86 { "PluginMain" },

  #else

  CodeWin32X86 { "PluginMain" },

  #endif

  EnableInfo { "true" },

  }

};

& if i exclude cnvtpipl.exe portion from the command it build successfully...

So i think problem is with .rr file.

As i need .pipl file & it is generated from cnvtpipl.exe command