Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
General
GeneralPortable MacsHardwareNetworking
Applications
Mac ApplicationsEudoraFirefox / MozillaInternet ExplorerOutlook ExpressMS OfficeEntourageExcelPowerPointWordVirtual PCMedia PlayerOther MS Products
Programming
Mac ProgrammingCodeWarriorPerl
Country Specific
Australian Mac GroupUK Mac Group

Mac Forum / Programming / CodeWarrior / December 2005



Tip: Looking for answers? Try searching our database.

inDesign CS2 SDK and CodeWarrior 10

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
peder280370@gmail.com - 13 Nov 2005 14:40 GMT
I originally submitted the message below on "adobe.indesign.sdk", but I
guess this group may be a better place to ask whether CW 10 will work
with the inDesign CS2 SDK or not.

The inDesign CS2 SDK seems to be tied to the CW 9.3 development
environment (Mac OS X). However, the only version I could purchase from
Metrowerks homepage was CW 10.

I have followed the instructions detailed in Adobes portingguide.pdf
(for CW 9.3, though):
  * Set _MSL_CARBON_FILE_APIS to 1 in ansi_prefix.mach.h
  * Rebuilt the MacHeadersMach-O.mcp CW project.
  * Rebuilt the BuildLibraries.mcp CW project.
  * Copied the ODFRC compiler to CW installation

I then tried to build one (any) of the sample inDesign plugins, but got
a precompiled header version error. So, I rebuilt the
SDKPluginPreComp.mcp inDesign project.

Now, the sample inDesign plugin (BasicMenu.mcp) compiles fine, but I
still get link errors. E.g.:
"Link Error : undefined: 'InterfaceFactory::InterfaceFactory ..."

Of course I'm hoping that someone can tell me what I've done wrong, but
I would also appreciate if someone could tell me that the CS2 SKD
definately should work with CW 10, or definately does not work with CW
10.

Thanks in advance,
- Peder

PS: And yes, this is my first stab at inDesign plugins, so it could
easily be a newbie error on my part...
Ron L - 13 Nov 2005 22:56 GMT
>I originally submitted the message below on "adobe.indesign.sdk", but I
>guess this group may be a better place to ask whether CW 10 will work
[quoted text clipped - 29 lines]
>PS: And yes, this is my first stab at inDesign plugins, so it could
>easily be a newbie error on my part...

contact me, we have a few CW 9's left for Adobe developers.

Ron

Signature

CodeWarrior Community Forum is a free online resource for developers
to discuss CodeWarrior topics with other users and our staff
       --   http://www.codewarrior.com/community  --

Ron Liechty - ron.liechty@freescale.com - http://www.codewarrior.com

djg@tramontana.co.hu - 26 Nov 2005 23:12 GMT
Peder,

I tried to send an e-mail to the address you used here but I'm not
actually sure that you monitor it regularly...

Bye,
 Gábor
djg@tramontana.co.hu - 26 Nov 2005 23:12 GMT
Peder,

I tried to send an e-mail to the address you used here but I'm not
actually sure that you monitor it regularly...

Bye,
 Gábor
djg@tramontana.co.hu - 26 Nov 2005 23:12 GMT
Peder,

I tried to send an e-mail to the address you used here but I'm not
actually sure that you monitor it regularly...

Bye,
 Gábor
djg@tramontana.co.hu - 26 Nov 2005 23:14 GMT
Peder,

I tried to send an e-mail to the address you used here but I'm not
actually sure that you monitor it regularly...

Bye,
 Gábor
froetho@googlemail.com - 26 Nov 2005 23:33 GMT
> Peder,
>
> I tried to send an e-mail to the address you used here but I'm not
> actually sure that you monitor it regularly...

Thursday was Thanksgiving holiday in the USA, and almost all people in
the USA are on vacation. So if you sent email this week, don't expect
an answer from any company in the USA before Monday or Tuesday as
people work through the pile of email that accumulated over the long
weekend :-)

   Thorsten
Dan Korn - 15 Dec 2005 17:12 GMT
I think I'm having the same problem as Peder. I'm porting a large
project from CW 9 to CW 10, which includes plug-ins for InDesign 2.x,
CS (1), and CS 2, as well as plug-ins for Acrobat and QuarkXPress, and
some other executables. I've got everything building in CW 10
(including the plug-ins for the earlier ID versions) except for the
InDesign CS 2 plug-in, and I'm really close, but I'm getting this one
error:

Link Error : undefined:
'InterfaceFactory::InterfaceFactory(IDType<ImplementationID_tag>,
void*(*)IDType<ImplementationID_tag>, IPMUnknown*),
void(*)(IDType<ImplementationID_tag>), long(*)(), void*)(IPMUnknown,
IPMStream*, IDType<ImplementationID_tag>, long), void(IPMUnknown, I'
(code)
Referenced from '__sinit_/<multiple files>_cpp' in <multiple files>.cpp

It seems that there's something different about the way CW 10 is
compiling the template that's not matching up with Adobe's libraries
compiled under CW 9.

>From the Adobe end, I'm trying to get an updated library, or at least
instructions on what to do to recompile this one function.  But I'm
hoping for some help from Metrowerks/Freescale or this group.

Is there any kind of compatibilty mode to compile the function with the
CW 9 signature in CW 10 so that I can link to the existing library?
Can I use one of the CW tools to figure out what to change in the
template declaration to get it to link?  Any other ideas? I really need
to get this building in CW 10, because all our other projects are
already there.

Thanks,
Dan
Dan Korn - 16 Dec 2005 01:26 GMT
I figured it out. The solution seems so simple in hindsight: Include
InterfaceFactory.cpp in my project. It's in the
source/public/objectmodel folder in the InDesign CS2 SDK.

Dan
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.