Build DNG SDK on Mac with XCode 6.2

Hello everyone,
I am trying to build the DNG_SDK Version 1.4 with XCode 6.2. I have downloaded all the third party libraries for xmp and dng sdk. After linking errors with the current xmp sdk 201412, I tried to compile DNG_SDK with XMP SDK Version CS6. The XMP Subproject is found in my DNG_SDK and is build successfully.
For the DNG SDK I still get linker errors and I have no clue why (regardless which architecture I select i386 or x64):
Ld /Users/sboegel/Downloads/dng_sdk_1_4/dng_sdk/targets/mac/release/dng_validate normal i386
    cd /Users/sboegel/Downloads/dng_sdk_1_4/dng_sdk/projects/mac
    export MACOSX_DEPLOYMENT_TARGET=10.9
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cl ang++ -arch i386 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOS X10.9.sdk -L/Users/sboegel/Downloads/dng_sdk_1_4/dng_sdk/targets/mac/release -F/Users/sboegel/Downloads/dng_sdk_1_4/dng_sdk/targets/mac/release -filelist /Users/sboegel/Library/Developer/Xcode/DerivedData/dng_validate-fjjibtptniqsozaqnhhmkybxy udz/Build/Intermediates/dng_validate.build/Default/dng_validate\ release.build/Objects-normal/i386/dng_validate.LinkFileList -mmacosx-version-min=10.9 /Users/sboegel/Library/Developer/Xcode/DerivedData/dng_validate-fjjibtptniqsozaqnhhmkybxy udz/Build/Products/libXMPFilesStatic.a /Users/sboegel/Library/Developer/Xcode/DerivedData/dng_validate-fjjibtptniqsozaqnhhmkybxy udz/Build/Products/libXMPCoreStatic.a -framework Carbon -Xlinker -dependency_info -Xlinker /Users/sboegel/Library/Developer/Xcode/DerivedData/dng_validate-fjjibtptniqsozaqnhhmkybxy udz/Build/Intermediates/dng_validate.build/Default/dng_validate\ release.build/Objects-normal/i386/dng_validate_dependency_info.dat -o /Users/sboegel/Downloads/dng_sdk_1_4/dng_sdk/targets/mac/release/dng_validate
Undefined symbols for architecture i386:
  "TXMPMeta<std::string>::Initialize()", referenced from:
      XMPFiles::Initialize(unsigned int, char const*, char const*) in libXMPFilesStatic.a(XMPFiles.o)
  "TXMPMeta<std::string>::SetProperty(char const*, char const*, std::string const&, unsigned int)", referenced from:
      P2_MetaHandler::SetAudioInfoFromLegacyXML(bool) in libXMPFilesStatic.a(P2_Handler.o)
      P2_MetaHandler::SetVideoFrameInfoFromLegacyXML(XML_Node*, bool) in libXMPFilesStatic.a(P2_Handler.o)
      MP3_MetaHandler::ProcessXMP() in libXMPFilesStatic.a(MP3_Handler.o)
      ReadIDXFile(std::string const&, std::string const&, TXMPMeta<std::string>*, bool&, MD5_CTX*, bool) in libXMPFilesStatic.a(SonyHDV_Handler.o)
      XDCAMEX_MetaHandler::ProcessXMP() in libXMPFilesStatic.a(XDCAMEX_Handler.o)
      XDCAM_Support::GetLegacyMetadata(TXMPMeta<std::string>*, XML_Node*, char const*, bool, std::string&) in libXMPFilesStatic.a(XDCAM_Support.o)
      RIFF::importProperties(RIFF_MetaHandler*) in libXMPFilesStatic.a(RIFF_Support.o)
  "TXMPMeta<std::string>::SetProperty(char const*, char const*, char const*, unsigned int)", referenced from:
      ID3_Support::ID3v1Tag::read(XMP_IO*, TXMPMeta<std::string>*) in libXMPFilesStatic.a(ID3_Support.o)
      P2_MetaHandler::SetXMPPropertyFromLegacyXML(bool, XML_Node*, char const*, char const*, char const*, bool) in libXMPFilesStatic.a(P2_Handler.o)
      P2_MetaHandler::SetGPSPropertyFromLegacyXML(XML_Node*, bool, char const*, char const*) in libXMPFilesStatic.a(P2_Handler.o)
      P2_MetaHandler::SetAltitudeFromLegacyXML(XML_Node*, bool) in libXMPFilesStatic.a(P2_Handler.o)
      MP3_MetaHandler::ProcessXMP() in libXMPFilesStatic.a(MP3_Handler.o)
      MPEG4_MetaHandler::ProcessXMP() in libXMPFilesStatic.a(MPEG4_Handler.o)
      ReadIDXFile(std::string const&, std::string const&, TXMPMeta<std::string>*, bool&, MD5_CTX*, bool) in libXMPFilesStatic.a(SonyHDV_Handler.o)
  "TXMPMeta<std::string>::DeleteProperty(char const*, char const*)", referenced from:
      P2_MetaHandler::SetRelationsFromLegacyXML(bool) in libXMPFilesStatic.a(P2_Handler.o)
      P2_MetaHandler::SetDurationFromLegacyXML(bool) in libXMPFilesStatic.a(P2_Handler.o)
      P2_MetaHandler::SetGPSPropertyFromLegacyXML(XML_Node*, bool, char const*, char const*) in libXMPFilesStatic.a(P2_Handler.o)
      P2_MetaHandler::SetAltitudeFromLegacyXML(XML_Node*, bool) in libXMPFilesStatic.a(P2_Handler.o)
      P2_MetaHandler::ProcessXMP() in libXMPFilesStatic.a(P2_Handler.o)
      JPEG_MetaHandler::ProcessXMP() in libXMPFilesStatic.a(JPEG_Handler.o)
      MPEG4_MetaHandler::ProcessXMP() in libXMPFilesStatic.a(MPEG4_Handler.o)
Any hint is appreciated. Thanks
I found a hint here (Xcode Compile Error Undefined symbols for architecture x86_64:   "TXMPMeta<std::string>::Initialize() that a include statement would be missing, but that is defined in the dng sdk (dng_xmp_sdk.cpp):
#if qMacOS
#ifndef MAC_ENV
#define MAC_ENV 1
#endif
#endif
#if qWinOS
#ifndef WIN_ENV
#define WIN_ENV 1
#endif
#endif
#include <new>
#include <string>
#define TXMP_STRING_TYPE std::string
#define XMP_INCLUDE_XMPFILES qDNGXMPFiles
#define XMP_StaticBuild 1
#include "XMP.incl_cpp"
This cannot be the reason..

Thank you so much! That has worked!
I have downloaded XCode 5.1.1 and the build ran without errors. But still I is unclear to me what has changed. The Xcode-project file included in the dng sdk was configured compiling on Mac OS SDK 1.6. Anyway, I can go on with that. Thanks again

Similar Messages

  • Adobe Illustrator CS5 SDK not working with Xcode on Mac OS X Lion 10.7.1

    I recently was interested in developing an illustrator plug-in. I downloaded all the required files listed on the adobe site, including the pdf files.
    I was following the "getting started guide" while working on Xcode 4.1 when I saw that it required a "Carbon Bundle", since there wasn't one. I did my research and found out that I could download the bundle, which would only work on Xcode 3.2. However, when any of the sample files which are Carbon-based are loaded, Xcode 3.2 crashes while Xcode 4.1 notifies me with "Base SDK Missing".
    I would just love to have the sample code running, and I'm pretty sure I can handle it from thereon.
    Thanks in advance!

    I can get it to build on Lion with Xcode 4.1. The steps I went through were to first set all the "Build Settings" > Base SDK to Mac OS X 10.6 like below:
    Then when I built I found it would get stuck on TwirlFilter think there is a problem with Xcode as after force quiting and restarting the computer it was able to compile successfully.
    If you get any LLVM errors like error: extra qualification ... to do with AIPlatformFileDlgOpts then you just have to go to the line with the error and delete AIPlatformFileDlgOpts:: though I think that only happens if you have not done a clean before you built and there are still projects with Base SDKs set as 10.5
    Let me know how you get on,
    Robert

  • CS4 SDK on Mac 10.6

    Hello,
    I know Adobe's requierements for CS4 SDK are XCode 3.1 for MacOS 10.5.x (or XCode 2.4.1 for MacOS 10.4) but my new MBP only option being XCode 3.2 for MacOS 10.6.x I had to dive into the usual Test && Run procedures to find out I could compile Basic Dialog SDK sample code with XCode 3.2 by modifying the following project settings:
    Architectures: 32 bit Universal
    Base SDK: MacOS X 10.4
    C/C++ Compiler Version: GCC 4.0
    Next step being to load the built plugin with debug ID CS4 on MacOS X 10.6 - which remains to be done at this stage...
    My question to this forum being: is anybody else already gone that way and in such a case how did it turn out?
    Any comment and advice would be very much appreciated indeed.
    Best regards
    Patrick Perroud

    You can install other mac os sdk versions when installing xcode - I have the
    10.4 sdk installed (even though on 10.6) and build CS4 against that.  You need
    to do the same.
    Ian

  • I have submitted build by xcode 6.1 but in itunes account shows us Apps and app updates submitted to the App Store must be built with Xcode 5.1.1 or later, and iOS 7 or later SDK after clicking the submit for review.

    I have submitted build by xcode 6.1 but in itunes account shows us Apps and app updates submitted to the App Store must be built with Xcode 5.1.1 or later, and iOS 7 or later SDK after clicking the submit for review.
    Please tell me the solution as soon as possible and i am able to remove the build.

    You have used Xcode 6.1 and it is a valid version, so you should not have any problem. Anyway, if there is any problem, Apple will contact with you to fix it before your app is published.

  • Build Plug-Ins with CS4 SDK under OS X 10.5 SDK with Xcode 3.1.2?

    I have existing Photoshop Universal Binary Plug-ins built under OS X 10.4 and the OS X 10.4 SDK, with Xcode 2.1.x & Photoshop CS3 SDK.  They are mature and stable.
    I am attempting to build these Plug-Ins with the new CS4 SDK under OS X 10.5.6 & 10.5 SDK with Xcode 3.1.2.
    They do not build as there is a conflict in PITypes.h with the attempted redefinition of uint32, already defined in the Apple header cssmconfig.h, amongst other problems.
    Has anyone built with a similar configuration?
    Thank you!

    I've had good luck with Snow Leopard 10.6.1, XCode 3.2 and the Photoshop CS4 SDK by changing the build settings like this:
    1. Open the Target Info window: Project->Edit Active Target
    2. Change Architectures from native to 32-bit Universal (because my native is 64 bit)
    3. Make sure Base SDK is 10.4 (you must have that installed of course). If you select 10.5 for some of the Photoshop examples, you get complaints of depreciated APIs.
    4. Change C/C++ compiler version to GCC 4.0
    In the case of using these steps, there is no need to edit any headers, comment anything out, etc.
    Hope that helps!

  • IOS Sdk does not seem to download with Xcode.  I am using Mac OS X Lion 10.7.3.  Why not?

    The IOS SDK does not seem to download with XCode.  There is no IOS template in XCode.  I am using
    Mac OS X Lion 10.7.3 on a Mac mini.  Do you have to pay $99 to get this?

    Another similar one here. I've updated ios7 and usb tethering doesn't work. I use it at my office connecting to a XP machine. It connects, iphone asks me to 'trust' the computer (which I do) and the driver is installed. However the connection shows a status of 'LAN Cable disconnected'.
    However the version of itunes on the machine is a versions back (I don't use itunes on that machine).
    Because the usb tethering is a universal network driver connection then it should still work on any machine even if there is no itunes installed (i.e. as long as hotspot is enabled).
    looking at other forums it appears this is very much ios7 related. Was working perfectly on ios6.

  • Can a CS3 plugin be built with Xcode 3.1 and the CS4 SDK?

    My goal is to build a plugin that loads in CS3 and CS4 on both the Mac and Windows platforms. For the Mac development I have a machine with Xcode 3.1. When I try to build the automationfilter/hidden plugin sample I get a compiler error in PIDefines.h because some typedefs conflict with Apple headers. The CS4 SDK seems to have corrected these issues so I am now trying to build the samples from CS4SDK. The build is successful, but when I try to load the plugin into CS3 I get an error that causes Photoshop to abort (after a friendly dialog box telling me it is going to abort).
    I am wondering if the mix of tools and SDK versions that I am using would be expected to work, or if what I have done is known to fail.
    Thanks
    -- Bennett

    I found a solution to the question. The CS4 sample I was building (Automation/Hidden) was causing PS CS3 to fail when I tried to launch the plug-in. It turns out that the failure is due to one of the suites having a different version in CS3 than CS4. The sample was from CS4, so it was requesting a version of the suite that did not exist in PS CS3.
    To fix the problem I made a copy of the samplecode/common/sources/PIUSuites.cpp file. I placed my copy in the samplecode/automation/automation/common directory and modified my Xcode project to use it instead of the one from common/sources. In the file I changed this line:
    AutoSuite<PSActionDescriptorProcs> sPSActionDescriptor(kPSActionDescriptorSuite, kPSActionDescriptorSuiteVersion);
    to be like this instead:
    AutoSuite<PSActionDescriptorProcs> sPSActionDescriptor(kPSActionDescriptorSuite, kPSActionDescriptorSuitePrevVersion);
    Doing this causes the plug-in to load and execute just fine in CS3.
    Cheers
    -- Bennett

  • DNG SDK not working on Mac (Leopard)

    Hi, I am writing a program to create dng files via the latest adobe dng sdk. I follow the same basic recipe as outlined in the example dng_validate code. On a Windows PC, the created thumbnails and previews appear just fine. However, the same code on the Mac creates dng files that do not show the thumbnails or the previews. In addition, apple programs like Aperture do not recognize these dng files either, even though they validate correctly by the provided dng_validate program on the Mac. Is this a bug in the Mac version of the SDK? OR, are there additional steps that are needed for these dng files to work???

    Hi Eric,
    An example image is given below. The first one (test.dng) is the image we created with the Adobe DNG SDK on a Mac. The second image (test_dngv.dng) is the result of running it through the dng_validate program (which uses a compressed image by default with the -dng option), and therefore much smaller in size.
    Neither of these images produce visible thumbs or previews on the Mac (not in any of the Apple programs such as Finder, Preview, Aperture, iPhoto etc.). However, when placed onto a Windows machine, they appear just fine everywhere.
    As the previous poster has indicated, this may not be the fault of the Adobe DNG SDK, but for all practical purposes it is a hindrance to us. Whoever is at fault, the bottom line is that the DNG format is proving to be less portable than other image formats such as TIFF or JPG. We have no problem moving these other formats from any computer to any other computer, whether it be Mac or Windows. We are trying to support Adobe and its efforts with new standards, but this is costing us valuable engineering time in dealing with these matters, that just do not exist with other formats.
    And, I apologize if this is presented in the wrong forum. However, we would appreciate if you can help us in this matter. Obviously, it can be done, since the Adobe DNG Converter program is capable of generating dng files with proper thumbs and previews on a Mac. It is just not documented anywhere for developers trying to work with the DNG SDK.
    http://www.davidklepacki.com/test.dng
    http://www.davidklepacki.com/test_dngv.dng
    Thank you,
    David

  • DNG SDK build project cannot find the xml sdk

    On win7/x64.  Installed dng sdk and all dependencies per the readme files.  xml sdk built OK with vc10 express, as 64 bit static and dll.
    But the vc solution for dng_validate has incorrect names for the xml sdk build projects, so it cannot find those components.  Specifically it looks for "..\..\..\xmp_sdk\build\vc\XMPCore.vcxproj".  the actual paths in the xmp sdk are different and longer, like "..\..\..\xmp_sdk\build\vc10\dynamic\windows_x64".  Moreover there is no XMPCore.vcxproj there.
    I suppose the real problem may be that the dng sdk project is trying to build it as .net managed code, while the xml sdk was built as open code.  So I guess what I am looking for is a way to build the dng sdk open.

    I would confirm your post, but I have not found a solution. I wish someone at Adobe would look into this.

  • Can I upload apps made with xcode Interface Builder to the App Store

    Like my title says Can I upload apps made with xcode Interface Builder to the App Store? I'm currently making an app with the interface builder from xcode and I was wondering if I could upload it like that to the App Store.
    Please help me with this.

    Hi seba,
    In order to be able to submit apps to the App Store, you need these things:
    1. An Apple ID
    2. Join the Mac developer program ($99) https://developer.apple.com/programs/mac/
    Once you've got these, you're free to submit your created applications to the App Store. It should walk you through the process

  • How can I make an app with xcode that works like a news app? So that I can post articles on the app. Do I have to use a database or can I connect the app directly with my mac?

    How can I make an iphone app with xcode that worrks like a newspaper? So that I can post articles on the app while it is on appstore. Can I directly connect the app with my mac or do I have to connect it to a database?  Thanks

    Funny, I was thinking you'd want to use the prescribed deployment that Apple went to all the trouble to provide so you wouldn't trot down the garden path with some other implementation, only to find your app rejected with the admonition to use Newsstand after all...
    If you're all hot to ignore all that & DIY, why are you even asking...why not just go for it...

  • Apps and app updates submitted to the App Store must be built with Xcode 5.1.1 or later, and iOS 7 or later SDK.

    Hi Guys,
    i am receiving this error since last 3 days please help me resolve this.
    i am already using XCode 5.1.1 and iOS 7 SDK i have regenerated my app store provisioning profile twice after this issue.
    my app gets validated by Xcode and also gets uploaded successfully through Application Loader (i.e. latest one 2.9.1 i believe)
    but in itunes connect when i try to submit my app for review i receive this error.
    "Apps and app updates submitted to the App Store must be built with Xcode 5.1.1 or later, and iOS 7 or later SDK."

    I'm getting the same error as well, using Xcode 6.1 (6A1042b) on OSX 10.9.5.  My project settings in Xcode have “Deployment Target” as “7.0” and “Base SDK” as “Latest iOS (iOS 8.1)”.  I uploaded the app via Xcode, not with the application loader and I've tried re-generating my distribution provisioning profile.
    This is an update to an existing app which was previously built against iOS 6.0 sdk but all attempts to submit the update now produce the error message "Apps and app updates submitted to the App Store must be built with Xcode 5.1.1 or later, and iOS 7 or later SDK."

  • How to compile DNG SDK with GCC?

    I tried to compile DNG SDK with GCC, but I got stuck to the following error message:
    ... dng_flags.h:33:28: error: RawEnvironment.h: No such file or directory ...
    In other words, it seems that file 'RawEnvironment.h' is missing. I cannot find this file from DNG SDK or XMP SDK. Do you know where I could find this file or do you know how to compile DNG SDK with GCC?
    Regards Sami

    Please define either qMacOS or qWinOS (i.e., in your list of preprocessor defines). As you can see in line 32 of dng_flags.h this is required.

  • I developed app in mac 10.6.8 with xcode 3.2.6.how can i run this app in ipad device

    i developed app in mac 10.6.8 with xcode 3.2.6.how can i run this app in ipad device

    actually i planned to get  provisioning profiles from apple by paying 99$ in following website
    https://developer.apple.com/programs/start/ios/ and followed by
    https://developer.apple.com/programs/start/standard/.
    but in last link,following thing were mentioned at bottom -
    Technical Requirements
    You must have an Intel-based Mac running OS X 10.8 Mountain Lion or later to develop and distribute iOS apps and Mac apps.
    but i\m using mac running OS X 10.6.8 snow leopard.
    Doubt:can't i run my app in ipad device?\
    Thank's in advance..

  • Hello friends , I have started with writing  c code on mac using xcode .....but one of my friend told me to use gcc for coding. He started with terminal And used a text editor to compil the c program on his mac.. So please tell me how to do the same

    Hello friends , I have started with writing  c code on mac using xcode .....but one of my friend told me to use gcc for coding. He started with terminal And used a text editor to compil the c program on his mac.. So please tell me how to do the same and is there any pre stalled text editor on mac if yes then where and if no then which text editor to install and how to install gcc...please help me out thanks in advance !!!

    I have started with writing  c code on mac using xcode .....but one of my friend told me to use gcc for coding.
    Why? If you are developing and writing code on a Mac why would you not use the tools Apple has given you? And Xcode, once you get use to it, is a very nice development environment that will make you life a whole lot easier.
    If you insist on using an editor and the terminal I would recommend  Emacs   but it has a long learning curve so  something like TextWrangler  will work too.
    As for the compiler if you have Xcode installed install the command line tools and you will be able to compile from the terminal.
    good luck

Maybe you are looking for

  • My 3G is not coming out of sleep mode

    I've had my iPhone for 2 days. Saturday morning when I woke up, the phone would not come out of sleep mode. The phone was on, and would ring when a call came in, but the screen is blank. It wouldn't accept a hard restart for about 30 minutes. My husb

  • How to display 2 internal tablea in one report

    hi experts can u help me for this

  • How to use long texts in explanation tool tip?

    Hi ,      Can anyone tell me how to add long text in Explanation tool tip? I am able to use short OTR texts in explanation tool tip but not able to use long OTR texts. Thanks and regards, Vivek Shetty.

  • Pages page numbering starting from not first page

    Hi. I want Pages to page number starting from not first page but actually page number 12 in my doc should be numbered as page 1 while prior pages numbered i to xi Can this be done? How? Thanks. Michael

  • Extra Channel Catch Up Missing

    Catch up for extra channels on BT vision missing from today. Have turned off and on the Youview Box still not there. In the absence of not being able to record these channels now no catchup is very disappointing.