XMP and Python (also DLL compilation help needed)

Has anyone tried using the XMP SDK through Python?  I know python fairly well, but not C++.  I would like to code in python if possible.
From what I have gathered I have a few options:
1. Use Python's built-in 'ctypes' methods (not sure if this will only work with C as opposed to  C++)
2. Use Boost
3. Use Sip
Does anyone have any experience with any of these (or any other solutions)?
The current route that I am experimenting with is using ctypes.  For this to work I will need to compile the XMPCore and the XMPFiles projects into .dll's (as opposed to the default .libs).  I have seen quite a few posts on this forum asking how to go about doing this, but have found no answers.  I have been able to succesfully compile a .dll for XMPCore but not for XMPFiles.  I am using Visual Studio 2008 and cannot figure out how to compile XMPFiles without producing errors such as:
2>WXMPFiles.obj : error LNK2019: unresolved external symbol "void __cdecl XMP_EnterCriticalRegion(struct _RTL_CRITICAL_SECTION &)" (?XMP_EnterCriticalRegion@@YAXAAU_RTL_CRITICAL_SECTION@@@Z) referenced in function "public: __thiscall XMPFiles_AutoMutex::XMPFiles_AutoMutex(void)" (??0XMPFiles_AutoMutex@@QAE@XZ)
2>TIFF_Handler.obj : error LNK2001: unresolved external symbol "public: virtual __thiscall TXMPMeta<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > >::~TXMPMeta<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > >(void)" (??1?$TXMPMeta@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@@UAE@XZ)
These are the steps that I have taked:
1. Download and add the Quicktime SDK, Expat XML Parser, and Zlib libraries to the proper folder paths
2. Open the provided XMPToolkit.sln in VS8
2. Build > Build Solution.  Produces  two static libraries, XMPCoreStaticDebug.lib and XMPFilesStaticDebug.lib.  (This works! ... but I want dll's)
3. Change the properties of the XMPCore and XMPFiles projects:
Configuration Properties -> General-> Configuration Type: Dynamic Library (dll)
4. Clean Solution;  Build Solution
This results in many errors.  Most of which are like the two listed above.
Anybody have any advice /input in regards to using python with the XMP SDK and/or compiling these two libraries into .dll's ?
Thanks for any help!!! 

I you have installed the java runtime engine then put the j3D libraries in that drectory tree in the jre\lib\ext directory, and .dll`s in the bin directory. I you have not installed the jre then do so. That will create the java.library.path you need. to run java programs. Each compiler has its own procedures for running an app from the IDE, check your docs if that`s what you are doing.
regards

Similar Messages

  • I've just installed my new OSX  and safari's not working propely and iphoto also, can someone help me how to fix it?

    Please, I've just installed my OS X Mountain Lion and after that my pages on safari stops all the time, the OS X starts to syncronize with my icloud account and still tying to finish it since them.
    I've tried to use my iphoto and stops also..
    Please, someone can help me to fix my imac?
    Thank's.
    Regards.

    You are most welcome

  • How do I get a more modern look and feel for a compiled help file

    I gather from reading various posts that there is no easy way
    to generate a .chm file with a more modern look and feel (am I
    right about this?). Are there no plug-ins available from Adobe that
    will enable us to generate a help file that looks more modern?
    I hesitate to move to flash help or something like that
    because, of course, then the developers would have to hookup the
    hundreds of dialog boxes we have in our product to the new files. I
    also think that having one file is way easier to manage in terms of
    getting updated help to the customers. What are online Help
    developers generally delivering for apps where users are not
    connected to the Internet except perhaps periodically while using
    the software? I'm a writer (not a developer) so need soemthing that
    is easy to implement :-)
    Thanks for your help. It is much appreciated.

    To add to the advice already offered, you can apply a skin to
    a CHM file which allows you to customise it. However as with most
    things there are issues with this approach. You can read about this
    by downloading Rick Stone's excellent
    tips
    'n tricks file. Just look in the index under "skins". Something
    else you may want to look at is the beta of Adobe's
    AIR.

  • IWeb 09 and Go Daddy...Help Needed Please!

    I have read many of the posts on this question and still don't know the answer:
    Is it possible to use iWeb 09 and use the built-in FTP to upload directly to my Go Daddy site?
    I've tried and keep getting a "Testing failed. The directory/path couldn't be found."
    So, my question is, can someone who has successfully uploaded from iWeb 09 to Go Daddy please tell me what to enter in the FTP Server Settings of iWeb? I would like to know the following:
    SERVER ADDRESS (do you just use your site name, such as www.mysitehere.net or ??)
    DIRECTORY PATH (some folks say "http://" but this doesn't work for me)
    Also, do we just use PROTOCOL "FTP" or another?
    I am very appreciative of any help here! I basically bought iLife 09 so I could update my site directly from iWeb. In the past I used Fetch, which worked but is a bit of a rigamarole. So, if we can do it directly with iWeb 09 it would be great.
    Thanks for any help here! I'm very grateful!

    I just did this last night for the first time. Watch the FTP loading tutorial for iweb, it helped.
    Publish to FTP
    Put your site name in (what ever you want to put down)
    Server address is your domainname.com (no www)
    User name
    password
    no directory/path
    FTP
    Put your full website URL www.yourdomainname.com
    This will get it onto your go daddy site. It will put all of the files in a folder called whatever you called your site name above. Your website will look funny but that is iWeb FTP for you. It will look like www.yourdomainname.com/www.yourdomainname.com/home.html
    To fix that (I was told last night by go daddy) that I needed to log into godaddy and go to hosting on the left menue. then to manage account highlighted next to your domain name you want to manage. Then go into the folder with the site name you put in iweb and move everything in that folder to the root directory. Copy over anything in the root directory. When I did that the duplication of domain names went away and you are left with www.yourdomainname.com/home.html
    If you have problems call godaddy. They can walk you through it. Only do that after you tested successfully.
    Roger

  • Python Image processing. (Help needed)

    Hi all.
    I'm currently trying to learn python and have made some(small) progress into the matter.
    However, I have an urgent need to extract some information from a bactch of photos for statistical purposes, namely:
    - color saturation (red, green, and blue)
    - mean luminance
    - variance of luminance
    - root mean square (RMS) contrast
    - kurtosis
    - skewness
    - energy
    Now I've searched for some program that could aid me in this when suddenly I remembered Python.
    I thought I could write a little script to extract said information and save it in a file.
    This is where I need the help of all you python gurus.
    Need a pointer in the right direction. I'm looking into PIL. IS this the best choice? Could this give me all the info need.
    To be honest, I don't even know what some of that info is (my wife needs it for here PhD thesis...)
    Any help would be appreciated.
    Cheers,
    P.

    palobo wrote:@buttons: Thanks. I am currently looking through that reading. Statisctical info for RGB etc is great, just what I needed. However I can't seem to get info on contast and luminance. I will keep at it.
    All I can tell you for sure from a very dim recollection of an undergraduate graphics course is that contrast and luminance can be derived mathematically from RGB somehow.
    PIL gives you the option to do pixel by pixel comparisons, so you can certainly get the info you need... the first step would be to define it though. ;-)
    Dusty

  • Query not compiling -- help needed

    Hi,
    I have a query which is not compiling, I am getting the following error when running the query in my PL/SQL developer.
    "ORA-01790 expression must have same datatype as coressponding expression"
    my query is below:
    ~select "CODE","NAME","LEVELX","PARENT","TYPEX","BEGIN_DATE","END_DATE" from cdms.cd_organizations~
    ~where typex='R'~
    ~union~
    ~select "CODE","NAME","LEVELX","PARENT","TYPEX","BEGIN_DATE","END_DATE" from cdms.cd_organizations_hist~
    ~where typex='R'~
    ~ and code in (~
    ~ select code from cdms.cdorganizations_hist~
    ~ minus~
    ~ select code from cdms.cd_organizations~
    ~ );~
    I am getting a red line where code is underlined in the query,
    Thanks in advanced,
    AJ
    ~ ~

    Hi,
    That's the error you would get in a MINUS operation if corresponding columns had different data types (for example, if cd_organizations_hist.code was a NUMBER, but cd_organizations.code was a VARCHAR2).
    Use columns of the same type. Explicity convert data from one type to another (using TO_CHAR, for example) if necessary.
    If you need more help, post a script that creates the tables and gets the same error.

  • Portal crashes and intermittant problems..urgent help needed.

    Portal Runtime Error
    An exception occurred while processing a request for :
    iView : pcd:portal_content/administrator/super_admin/super_admin_role/com.sap.portal.system_administration/com.sap.portal.system_admin_ws/com.sap.portal.themes/com.sap.portal.theme_editor/com.sap.portal.styleeditor
    Component Name : null
    Page could not create the iView.
    I briefly describe the system setup.
    sptltrex = central instance
    sptl1 = app1
    sptl2 = app2
    sptldb = database instance.
    sptltrex built with virtual name ourworld-0
    sptldb built with virtual name ourworld-db
    System setup with Oracle dataguard feature, so ourworld-0 and ourworld-db can fail over to disaster recovery systems sptldr and sptldevdb at another site. Although we installed using the SAPINST_USE_HOSTNAME for SCS/central instance the visual administrator and message server still pick
    up sptltrex. We though setting the SAPLOCALHOSTFULL to ourworld-0.sap.serco.com had fixed this issue, but this generated many iview errors that
    could not be found. When the SAPLOCALHOSTFULL was backed out everything
    began to display again. Although there is still intermittant errors of screens not acting as required.
    message server output
    http://sptltrex:8100/msgserver/text/logon
    version 1.0
    J2EE1666800
    J2EE sptl2.sap.serco.com 50000 LB=2
    J2EES sptl2.sap.serco.com 50001 LB=2
    P4 sptl2.sap.serco.com 50004 LB=2
    P4S sptl2.sap.serco.com 50006 LB=2
    J2EE13975600
    J2EE sptltrex.sap.serco.com 50100 LB=2
    J2EES sptltrex.sap.serco.com 50101 LB=2
    P4 sptltrex.sap.serco.com 50104 LB=2
    P4S sptltrex.sap.serco.com 50106 LB=2
    P4HTTP sptltrex.sap.serco.com 50105 LB=2
    JC_ourworld-0_PP1_01
    SDM ourworld-0 50118
    We have had numerous OSS messages for various continuing problems on the system. Today we have an complete up-to-date as possible patched system. SPS 9 with all the latest sub patches also. We have installed AIX TL 05 with service pack 2 so oslevel -s shows 5300-05-02 + a related db APAR, the IBM java JDK is SRS06. Full earlywatch go-live check parameters and options have been completed.
    But still we have problems.
    can anybody help......it's urgent....
    thanks
    saurabh

    hi!!
    We have a 3-server portal installation with one j2ee dispatcher and two
    j2ee servers on each server.
    We are experiencing major issues with the consistency or
    synchronisation between the servers and availability of portal applications.
    For example the themes editor is only available on sptl1 server0, so if
    you are lucky and log onto that server you can use this application.
    THIS IS ONE OF MANY examples of this type of issue. How can we ensure
    that the landscape is consistent? Screen shots from sptl1 showing the
    themes application being available and not available.
    A simple look at the filesystem reveals the following, and only the
    themes editor directory and contents are on sptl1.
    JSPM deployment finished successfully.
    sptl1:root:/ > find / -name "com.sap.portal.themes.editor" -print
    /usr/sap/PP1/J00/j2ee/cluster/server0/apps/sap.com/irj/servlet_jsp/irj/root/web-inf/portal/portalapps/com.sap.portal.themes.editor
    /usr/sap/PP1/J00/j2ee/cluster/server0/apps/sap.com/irj/servlet_jsp/irj/root/portalapps/com.sap.portal.themes.editor
    sptl1:root:/ > ssh sptl2 find / -name "com.sap.portal.themes.editor" -
    print
    sptl1:root:/ > ssh sptltrex find / -
    name "com.sap.portal.themes.editor" -pri>
    thanks
    saurabh

  • WRT54G v1.1 and buffalo Linkstation problems.. help needed

    Hi there,
    I have a wrt45G with dhcp running and working. Connecting the linkstation out of the box has no effect. Connecting the linkstation directy to the laptop works fine. I changed the config to a fixed IP outside of the DHCP range, but withing the router's range.
    Connected it to the router again, No effect, the network line shows no sign of life.
    Checked the cables, changed the cables, no effect.
    I have abolutely NO idea what's wrong.
    Please help, I hope someone has had similar stuff and solved it.
    I have software version 1.42.2 and a wrt54G v1.1
    Jan

    Hi.. Try to change the wireless channel to 6, 9 or 11. Also change beacon interval to 50 and fragmentation and RTS thresholds to 2304. Well you seems to have very old fimrware on your router. I believe linksys has come out with version 4.30.5. You can also try to upgrade the firmware on your router.

  • I need to sort and organize all my email addresses in apple mail? - where are they and how can I organize and copy them ? urgent help needed please

    really need urgent help - where do I find the entire list of all my email addresses? and how do I sort and organize them into folders ?

    really need urgent help - where do I find the entire list of all my email addresses? and how do I sort and organize them into folders ?

  • Macbook 2008 and connecting to Sony Bravia-help needed!

    I have a macbook 2008 (early) and wanted to hook it up to watch on my sony bravia tv.  I have been told to get a mini DVI to hdmi and then an hdmi cable.  Is this correct and is there anyway to get sound other than purchasing another audio cable?

    Ok, based on your photo, it's a bit blurry, it looks like your TV comes with a VGA + Audio input AND HDMI + Audio input, so you get to choose which one you want to use.
    How to connect:
    VGA + Audio (Red)
    Video - A Mini-DVI - VGA adaptor, with VGA cable to TV.
    Audio - Computer headphone outlet to the Audio input, using a 3.5mm male to male stereo cable. (it looks like a 3.5mm socket on the TV, confirm on site)
    HDMI + Audio (Yellow)
    Video - A Mini-DVI - HDMI adaptor, with HDMI cable to TV
    Audio - Computer headphone outlet to the Audio IN, using a 3.5mm male to RCA male (red/white connectors) stereo cable.
    No surround sound option here, as I cannot se a TOS Link input
    Which is better?
    Your computer puts out a digital signal via the DVI, so HDMI is probably the better option. you will get a higher resolution to the TV, better for movies. Some say the VGA option is better, if you are going to use it for text.
    I mentioned earlier that you may get some audio sync issues using HDMI. That was probably more likely when I was thinking that you were going to need to use an adaptor to add the audio to the HDMI cable. As yours can be kept separate to the TV, it probably won't be as much of an issue.

  • Evaluating PDF Assembler and getting the following errors - Help needed

    I am having following three issues when merging document using PDF Assembler Service:-
    Error # 1 (JobID: 20369)
    System.ServiceModel.FaultException: Caused by: com.adobe.livecycle.assembler.client.ProcessingException: ALC-ASM-S00-002: Failed to execute the DDX - error messages provided. Caused by: com.adobe.internal.pdfm.assembly.AssemblyException: PDFM_S02013: The "insertDocument" operation failed on "137.pdf".; nested exception is:
    com.adobe.livecycle.assembler.client.ProcessingException: ALC-ASM-S00-002: Failed to execute the DDX - error messages provided.
    Error # 2 (JobID: 19966)
    System.ServiceModel.FaultException: Caused by: com.adobe.livecycle.assembler.client.ProcessingException: ALC-ASM-S00-002: Failed to execute the DDX - error messages provided. Caused by: com.adobe.internal.pdfm.assembly.AssemblyException: PDFM_S02013: The "insertDocument" operation failed on "1033.pdf".; nested exception is:
    com.adobe.livecycle.assembler.client.ProcessingException: ALC-ASM-S00-002: Failed to execute the DDX - error messages provided.
    Error # 3 (JobID: 19419)
    The request channel timed out while waiting for a reply after 00:09:59.9920000. Increase the timeout value passed to the call to Request or increase the SendTimeout value on the Binding. The time allotted to this operation may have been a portion of a longer timeout.

    "Illegal start of expression" and "} expected" usually mean that your brackets don't match. Indeed, your declaration of the main method is missing a '}':public static void main (String[] args)
    { // where's the '}' that goes with this one?this list of common compiler error messages and possible causes is a good resource: http://www.mindprod.com/jgloss/compileerrormessages.html

  • Itunes update and automatic update of ipod help needed

    i just upgraded to the newest version of itunes (6.4?), and i deleted some songs out of my library and it gave me a message to the effect that next those files would be removed from my ipod next time i connected it.
    i know in the previous version of itunes that i had, i had shut off the option that automatically updates your ipod when you plug it in, so i tried to find that option on here and was unable to, i think it might show up after i plug in my ipod, but obviously i dont want to plug in my ipod until i know it isnt going to get erased, anyone know if i can connect my ipod safely of if i need to change something, and if i need to change something where i would find that control. thanks in advance for any help

    You can use a keyboard command to prevent your iPod auto-syncing with iTunes. While connecting the iPod to the computer hold down the Shift + Ctrl keys (on a Mac hold down the Option and Command (⌥ and ⌘) keys). This will stop the iPod from auto-syncing with iTunes and the iPod will appear in the source list. Wait until you are sure the iPod has mounted, and that it will not auto sync and then you can let the keys go. This may take between 3 and 30 seconds depending on your computer. Then go to Preferences>iPod and check the "Manually manage songs and playlists" box.
    If at any stage iTunes brings up a dialogue window asking whether you want to replace the songs on your iPod with the songs in iTunes, press *No*.

  • Bom And Routing Import interface errors Help needed

    Hi All,
    I am using bom and Routing Interface to load the Bom and Routing Header.papulating the BOM_INVENTORY_COMPS_INTERFACE,BOM_OP_SEQUENCES_INTERFACE,and BOM_OP_RESOURCES_INTERFACE tables BOM header and Components are created sucessfully but routing is failed with process flag 3.the errorr i am getting is You cannot update or delete operation sequences when there is no routing for the assembly item &ASSEBLY_ITEM_NAME. (ASSEMBLY_ITEM_NAME=TESTITEMBOM) (ORGANIZATION_CODE) and
    This record received an error status since a severe error occurred in the operation sequence 10 while performing user unique index conversions."
    please let me know any api is avilable to load ROUTING Components
    Thanks in advance

    Hi,
    Try following
    step 1. Insert routing header (bom_op_routings_interface) : Run Interface
    step 2. Insert routing lines (bom_op_sequences_interface) with correct reference to routing_sequence_id: Run Interface
    step 3. Insert all resource lines (bom_op_resources_interface) with correct reference to operation_sequence_id, routing_sequence_id , Run Interface.
    Thanks,
    Hrishi

  • Help needed on Servlets and JSTL

    Hi
    I am using tomcat 5.5 and JDK 1.5. What are the softwares I have to download for compiling servlets and creating JSTL ?. Help needed.
    Thanks
    IndyaRaja

    I tried compling servlet, but it is raising error
    that coul not find package javax.servletWhat I did not mention... you need to add those JARs in the Classpath explicitly. You will find them in %TOMCAT_HOME%\common\lib. You atleast need to add servlet-api.jar to your Classpath. :)

  • Need to change Tax code in po but GR and IR also completed

    Hi Gurus,
                I have one issue in the po, the line item "xxxxxxx" in the PO It shall be 36 instead of 39.but it is GR and IR also completed,now we need to change the Tax code,for this we need to cancel IR and GR or without cancel GR, IR also we can change Tax code,please guide me.,but  i am thinking this below mentioned steps to maintain for change the Tax code.
    (1) cancel IR
    (2) Cancel GR for line item  "xxxxxxx"
    (3) Change tax code for line item "xxxxxx" from 39 into 36
    (4) Re-post GR for line item "xxxxxx".
    (5)Re-Post invoice for line item  "xxxxxx"
    These steps are required to change the Tax code in the po or not
    please guide me,
    Thanks for your reply.
    Regards
    SAP MM

    Hi,
    If the Tax amount is merged to the expense/revenue account as per the Tax configuration.
    Then if the tax code is V1 --Tax amount is 100 Rs
    The system will post that amount to material account and same will be GR/IR.
    When you do the MIRO the GR/IR will match & vendor account will update.
    If the Tax amount is posted to seperate a/c then tax amount will not merge to material account so at GR tax amount has no reflection but in MIRO system will post the tax to seperate G/L account and vendor is updated with Material Price + Tax amount, GR/IR will be same as MIGO .
    hope you understand.
    rgds
    Chidanand

Maybe you are looking for

  • How can i  reset all setting to factory on my macbook pro, how can i  reset all setting to factory on my macbook pro

    now i  have problem about the wifi adapter cause i buy one wifi antenna  for my mac but after i install it and plug the anntenna it show message that need to restart the computer , then i try to install with my friend macbook and it work no any probl

  • Export and import, same problem in 08 as in 07!

    I am so fed up and frustrated with this problems in iPhoto, I had exactly the same thing in iPhoto´07, and on an other installation: When I import pictures from a folder on my HD, it imports the pictures, but it NEVER finishes the import-process! It

  • When i open itunes it just instantly closes, what should i do?

    I click the itunes icon and itunes opens up then, instanly closes and says i tunes quit unexpectedly. what should i do?

  • VI Logger and NI USB-6008

    I haven't got much experíence in LabView and neither has anybody here in our team. We've got an NI USB6008 which is working perfectly with the basic VI logger application (version 2.0.0 lite) under windowsXP. All channels - except ai0 diff and single

  • Failure of release command

    Hi All Please your assistance is needed to interpret what is going on with below and what should be done RMAN-03009: failure of backup command on ch_tape2 channel at 11/26/2011 08:30:14 ORA-19502: write error on file "hist10g_rman_full_upmsjhke_1_1",