Skip to main content
gopaljay78
Known Participant
July 17, 2015
Question

Indesign CS6 sample SDK compilation error

  • July 17, 2015
  • 2 replies
  • 802 views

Hi,

When I compile the InDesign SDK sample "BasicDialog.sdk" using Xcode 5.1.1.  I got the following compilation errors.

MemoryStatics.h

     Semantic Issue

          Replacement function 'operator new' cannot be declared 'inline'

I changed the Compiler for C/C++/Objective-CC to   "Apple LLVm 5.1" and Base SDK as "OSX 10.9". But the same error occurs.

I am running the Xcode 5.1.1 in Mac OSx 10.9.5.

Is there any version issue here.  Can any one help me go to solve this error.

Thanks,

Gopal

This topic has been closed for replies.

2 replies

Inspiring
September 26, 2015

InDesign CS6 and plug-ins are Carbon application.

Xcode 4.3 and above can't build a Carbon application.

I am using Xcode 3.2.6 to build plug-ins for InDesign CS6.

Xcode 3.2.6 can't be used on OS X 10.8 and above.

Known Participant
September 28, 2015

It could be possible that you must use OSX 10.6.8 to build for CS6. I have two systems installed on my Mac.

Wolfgang

Known Participant
September 22, 2015

set compiler setting

-Wno-inline-new-delete

even if this seems to be only a warning it resolves the compiler error.

Wolfgang