Problem with pthread compilation

hi all...
im trying to compile ccid-1.0.0 on solaris10 x86 and im getting problems that
configure error : pthread
my compiler version is::
bash-3.00# which cc
/opt/SUNWspro/prod/bin/cc
bash-3.00# cc -V
cc: Sun C 5.7 2005/01/07
usage: cc [ options] files. Use 'cc -flags' for details
i installed sunstudio11 prior to this and also pcsclite-1.3.0 and
libmusclecard-1.3.1. They gave me no probs.
./configure --prefix=${MSCPFX}
--enable-usbdropdir=${MSCPFX}/pcsc/drivers --enable-libusb
and the o/p is :
checking for memcpy... yes
checking for dlopen in -ldl... no
checking whether pthreads work with -pthread... no
checking whether pthreads work with -pthreads... no
checking for the pthreads library -lpthread... no
checking whether pthreads work with -mt... no
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... no
checking whether pthreads work with -pthreads... no
checking whether pthreads work with -mthreads... no
checking for the pthreads library -lpthread... no
checking whether pthreads work with --thread-safe... no
checking whether pthreads work with -mt... no
configure: error: POSIX thread support required
pls suggest me some way to get out of it.

checking for the pthreads library -lpthread... no
checking whether pthreads work with -mt... noOne of those should work.
pls suggest me some way to get out of it.With such configure scripts, there's usually a resulting 'config.log'. In this, you should be able to see exactly what configure is trying to achieve, and why it is failing.
Paul

Similar Messages

  • Problem with a compiled program

    Hello,
    I have a problem with a compiled program on labview 6i.
    This program used a serial port (COM1 or COM2).
    During the launching of the ".exe ", a fatal error occurs.
    Here this error:
    => APPLICATION caused an invalid page fault in
    => module LVRT.DLL at 0167:30164426.
    Can somebody help me?
    Regards
    Cedric

    Cedric,
    This problem was fixed in the LabVIEW 6.0.2 update. You can download this update (along with the updated runtime engine) from our website.
    Good luck with your application, and have a pleasant day.
    Sincerely,
    Darren N.
    NI Applications Engineer
    Darren Nattinger, CLA
    LabVIEW Artisan and Nugget Penman

  • Problem with SRF compilation

    Hi,
    I encountered a problem during compilation in tools:
    >
    Could not open repository file 'C:\Siebel\8.1\SiebelTools8113\OBJECTS\ENU\siebel_sia.srf'.
    File does not exist or may be in use by another process.(SBL-DAT-00142)
    >
    Siebel Tools version: 8.1.1.3
    Siebel Server version: 8.1.1.3
    installed on Windows 2003 server with service pack.
    I did the following but the error still appeared during compilation:
    1. In siebel tools > Help Menu > About SRF > Filename pointing to --> C:\Siebel\8.1\SiebelTools8113\objects\enu\siebel_sia.srf
    2. I went to this directory "C:\Siebel\8.1\SiebelTools8113\objects\enu\" right clicked the siebel_sia.srf then click properties to check if the file's property is set to read-only and it was unchecked.
    3. In windows control panel > Administrative Tools > Services: I shutdown the siebel server and the siebel gateway server
    4. I also checked the task manager to see if all siebel processes were ended. I stopped all siebel processes aside from siebel Tools.
    5. I check if any program is accessing the srf file using a process monitor. No other process was accessing the file.
    6. Open tools, login in local DB
    7. Compiled a selected object (Siebel repository file: C:\Siebel\8.1\SiebelTools8113\objects\enu\siebel_sia.srf)
    8. When I press compile the error above appeared.
    After the error appeared I check again using the process monitor to check whether other process has a handle to the SRF file, but there was none.
    Could anyone help me? Have I missed something that might have caused this error?
    Thanks in advance.

    Hi,
    You cannot compile on the Tools SRF when you are logged into Siebel Tools.
    Try to do a full compile on the SRF located in the client folder.
    In you case it might be at location C:\Siebel\8.1\SiebelClient\objects\enu\
    Once done the full compile on the client SRF use the SRF to connect the client.
    Warm Regards
    Pramod

  • Problems with PiPL compilation

    Hello All,
    I am in the middle of porting over a suite of existent CS5 plugins from Windows to Mac and am running into some compilation problems during the phase of building the .r file of a filter project. As such, and to be explicit, I am running into the following problems on the Mac, and was wondering if anyone knew how to fix the issues.
    I have attempted to set up the Xcode project exactly as specified in the Premiere Pro CS5 SDK Guide on page 20-21 and also have a very similar overall source structure as seen in the 'Simple_Video_Filter' example that comes bundled with the SDK. However, upon reaching the build phase of my project where the .r file is getting compiled, I am getting hit with three errors which I can't seem to get rid of. The errors are as follows:
    1) At the line in my .r file that reads:
    resource 'PiPL' (16000) {
    I am getting an error that states:
    Can't find the declaration for the resource type 'PiPL' (0x5069504C)
    2) At line 98 of 'PrSDKTypes.h' that reads:
    typedef csSDK_uint64 csSDK_size_t
    I am getting an error that states:
    Expected 'DATA', ENUM', 'INCLUDE', 'READ', 'RESOURCE', or 'TYPE', but got identifier (typedef)
    3) At line 331 of 'PrSDKTypes.h' that reads:
    struct PrParam
    I am getting an error that states:
    Expected 'DATA', ENUM', 'INCLUDE', 'READ', 'RESOURCE', or 'TYPE', but got identifier (struct)
    Note that I have also made a direct copy of the entire 'Simple_Video_Filter' project that exists in the SDK (and builds properly on my machine) and reworked this copy using my .cpp, .h and .r files (changing pertinent project names where necessary) and am getting these exact same three errors. As I am getting the last two errors in header files that come with the SDK, it seems there has got to be something off in my own files somewhere, but I just can't figure out where.
    Anyone seen something like this before and know a fix?
    Thanks in advance,
    Josh

    As usual, shortly after I posted I seem to have found the fix.
    It seems that on the Mac there are portions of 'PrSDKPiPLVer.h' that are dependent upon 'MAC_ENV' being defined. In my own .r file I had moved around the #define MAC_ENV so that it came after calling #include "PrSDKPiPLVer.h" and so MAC_ENV was not yet defined when including the code of that .h file - hence the compile errors.

  • Problems with masks compiled on win2000.

    Hi all,
    if I compile masks on win2000, these are not displayed correctly in winnt. The patchset is the same on both systems (6.0.8.16.1 for forms builder and runtime). on win2000 the form is displayed correctly. But on winnt the bars (toolbar, navbar) are not visible. The second problem is the mask not open in full screen in forms runtime but as a window in a windows.
    best regards, steven

    I found the other DevZone discussion you reffered to with gesa.
    http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RNAME=ViewQuestion&HOID=50650000000800000056160000&ECategory=LabVIEW.LabVIEW+General
    You might try the suggestion that was made there. Since the error message is complaining about the 9th argument of the property node, we can try removing it; that is, delete the constant connected to the last input and shrink the property node so that there is no DTR input. Alternatively, you can change the flow control mode to . I think what is going on here is that in the original VI, the VI set the flow control to DTR/DSR (hardware flow control) and then asserted the DTR line so that it would be in the proper state for
    the communication to begin. This may have been allowed in an older version of VISA, but I think in the new VISA, if you use hardware control, it won't let you manually change the state of that line. The line state should be controlled automatically by the low level drivers. The result is the error you are seeing which is basically telling you that you do not currently have access to that line. If you use a flow control mode that does not use that line, you are allowed to assert it manually.

  • Problem with NOCOPY compiler hint in form library

    When compiling the following code in a package as part of a PL/SQL library attached to my version 6 form, I get the error below.
    The error does not occur if I remove the "NOCOPY" compiler hint. Anyone know what the problem is?
    TYPE duplicate_id_tab IS TABLE OF duplicate_id_rec;
    PROCEDURE find_duplicate_ids (pidm_dupes IN OUT NOCOPY duplicate_id_tab, LName_in IN VARCHAR2,FName_in IN VARCHAR2);
    Error 103 at line 13, column 59
    Encountered the symbol "DUPLICATE_ID_TAB" when expecting one of the following:
    :=,),@ % default character
    The symbol ":=" was substituted for "DUPLICATE_ID_TAB" to continue.

    I posted an answer to this but it seems to have failed, so I'll send it again.
    The NOCOPY reserved word appeared in PL/SQL 8.1.x. Forms 6i uses PL/SQL 8.0.6. Therefore, you can't use NOCOPY in Forms 6i.
    Oracle9i Forms uses a later version of PL/SQL, so it works. I already tested in Oracle9i Forms for you.
    We do not change the RSFs except in a major release. Therefore, no version of Forms 6i will support NOCOPY.
    Regards,
    Robin Zimmermann
    Forms Product Management.

  • Problem with model compilation

    Is it possible to create and compile model based on concat dimension?
    I try to do so model creates but when I try to compile such model, server closes connection.
    I use 10.2 Oracle

    Hi
    Take the help from following threads suitable for 7.0
    1.[NoClassDefFoundError|Re: java.lang.NoClassDefFoundError]
    2.[NoClassDefFoundError in WebDynpro Project|java.lang.NoClassDefFoundError in WebDynpro Project]
    3.[Adding External Jar in a Webdynpro Dc|Re: Adding External Jar in a Webdynpro Dc]
    4.[Problem using External Library DC|Problem using External Library DC]
    Best Regards
    Satish Kumar

  • Problem with pre-compiling jsp's

              hi,
              we have an .ear running on wls 6.0 sp2.
              Our app has a web component(part of the .ear) as well which has tld's & jsp.We
              are following the struts framework.
              We configured the <jsp-descriptor> element in the weblogic.xml file to pre-compile
              the jsp's..but the server complains of the following
              any suggestions would be appreciated
              ==================================================================================================================================
              <Jan 9, 2002 4:00:06 PM EST> <Error> <HTTP> <[WebAppServletContext(3001228,ppp)]
              failure pre-compiling JSP's
              java.lang.NullPointerException
              at weblogic.servlet.jsp.Jsp2Java.makeReader(Jsp2Java.java:232)
              at weblogic.servlet.jsp.Jsp2Java.outputs(Jsp2Java.java:112)
              at weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.java:253)
              at weblogic.servlet.jsp.Precompiler.compileOne(Precompiler.java:124)
              at weblogic.servlet.jsp.Precompiler.compile(Precompiler.java:44)
              at weblogic.servlet.internal.WebAppServletContext.precompileJSPs(WebAppServletContext.java:2003)
              at weblogic.servlet.internal.dd.DescriptorLoader.initFromWebApp(DescriptorLoader.java:742)
              at weblogic.servlet.internal.dd.DescriptorLoader.createServletContext(DescriptorLoader.java:359)
              at weblogic.servlet.internal.HttpServer.loadWARContext(HttpServer.java:467)
              at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:404)
              at weblogic.j2ee.WebAppComponent.deploy(WebAppComponent.java:74)
              at weblogic.j2ee.Application.addComponent(Application.java:133)
              at weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:115)
              at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:327)
              at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:143)
              at weblogic.management.mbeans.custom.WebServer.addWebDeployment(WebServer.java:76)
              at java.lang.reflect.Method.invoke(Native Method)
              at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:562)
              at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:548)
              at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:285)
              at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
              at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
              at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:439)
              at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:180)
              at $Proxy44.addWebDeployment(Unknown Source)
              at weblogic.management.configuration.WebServerMBean_CachingStub.addWebDeployment(WebServerMBean_CachingStub.java:1012)
              at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:313)
              at weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(DeploymentTarget.java:277)
              at weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeployments(DeploymentTarget.java:232)
              at weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(DeploymentTarget.java:192)
              at java.lang.reflect.Method.invoke(Native Method)
              at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:562)
              at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:548)
              at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:285)
              at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
              at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
              at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:439)
              at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:180)
              at $Proxy41.updateDeployments(Unknown Source)
              at weblogic.management.configuration.ServerMBean_CachingStub.updateDeployments(ServerMBean_CachingStub.java:2299)
              at weblogic.management.mbeans.custom.ApplicationManager.startConfigManager(ApplicationManager.java:240)
              at weblogic.management.mbeans.custom.ApplicationManager.start(ApplicationManager.java:122)
              at java.lang.reflect.Method.invoke(Native Method)
              at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:562)
              at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:548)
              at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:285)
              at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
              at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
              at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:439)
              at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:180)
              at $Proxy33.start(Unknown Source)
              at weblogic.management.configuration.ApplicationManagerMBean_CachingStub.start(ApplicationManagerMBean_CachingStub.java:435)
              at weblogic.management.Admin.startApplicationManager(Admin.java:1033)
              at weblogic.management.Admin.finish(Admin.java:493)
              at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:429)
              at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:170)
              at weblogic.Server.main(Server.java:35)
              >
              <Jan 9, 2002 4:00:06 PM EST> <Debug> <HTTP> <Exception thrown while loading ppp:
              weblogic.utils.NestedException: failure pre-compiling JSP's - with nested exception:
              [java.lang.NullPointerException]>
              <Jan 9, 2002 4:00:06 PM EST> <Error> <J2EE> <Error deploying application ppp:
              Could not load ppp>
              <Jan 9, 2002 4:00:06 PM EST> <Info> <HTTP> <[HTTP myserver] Loading web app: wl_management_internal2>
              <Jan 9, 2002 4:00:06 PM EST> <Info> <HTTP> <[HTTP myserver] Loading wl_management_internal2
              from WAR file: C:\engr\project\ppp\.\config\Synchronoss\applications\.wl_temp_do_not_delete\wl_local_comp45831.war>
              <Jan 9, 2002 4:00:06 PM EST> <Info> <HTTP> <[Default WebApp] extracting classfiles
              to C:\engr\project\ppp\.\config\Synchronoss\applications\.wl_temp_do_not_delete\WEB-INF\_tmp_war_myserver_myserver_wl_management_internal2:>
              <Jan 9, 2002 4:00:06 PM EST> <Info> <HTTP> <[Default WebApp] extracted classfiles
              successfully...>
              <Jan 9, 2002 4:00:06 PM EST> <Info> <HTTP> <[WebAppServletContext(6559849,wl_management_internal2)]
              registering JSPServlet with initArgs '[JspConfig: verbose=true,packagePrefix=jsp_servlet,-compiler=javac,compileFlags=,workingDir=C:\engr\project\ppp\.\config\Synchronoss\applications\.wl_temp_do_not_delete\WEB-INF\_tmp_war_myserver_myserver_wl_management_internal2,pageCheckSeconds=1,superclass=null,keepgenerated=false,encoding=null,defaultfilename=index.jsp,noTryBlocks=false]'>
              <Jan 9, 2002 4:00:06 PM EST> <Info> <HTTP> <[WebAppServletContext(6559849,wl_management_internal2)]
              registering classpath servlet with initArgs 'null'>
              <Jan 9, 2002 4:00:06 PM EST> <Info> <HTTP> <[WebAppServletContext(6559849,wl_management_internal2)]
              registering getior servlet with initArgs 'null'>
              <Jan 9, 2002 4:00:06 PM EST> <Info> <J2EE> <Deployed : wl_management_internal2>
              <Jan 9, 2002 4:00:06 PM EST> <Info> <J2EE> <Deployed MailSession named com.bea.wlpi.MailSession>
              <Jan 9, 2002 4:00:06 PM EST> <Info> <HTTP> <Initializing WEB server myserver>
              <Jan 9, 2002 4:00:06 PM EST> <Info> <HTTP> <[HTTP myserver] Loading web app: DefaultWebApp_myserver>
              <Jan 9, 2002 4:00:06 PM EST> <Info> <HTTP> <[HTTP myserver] Loading DefaultWebApp_myserver
              from directory: .\config\Synchronoss\applications\DefaultWebApp_myserver>
              <Jan 9, 2002 4:00:06 PM EST> <Info> <HTTP> <[WebAppServletContext(4157813,DefaultWebApp_myserver)]
              registering JSPServlet with initArgs '[JspConfig: verbose=true,packagePrefix=jsp_servlet,-compiler=javac,compileFlags=,workingDir=C:\engr\project\ppp\.\config\Synchronoss\applications\DefaultWebApp_myserver\WEB-INF\_tmp_war_myserver_myserver_DefaultWebApp_myserver,pageCheckSeconds=1,superclass=null,keepgenerated=false,encoding=null,defaultfilename=index.jsp,noTryBlocks=false]'>
              <Jan 9, 2002 4:00:06 PM EST> <Info> <HTTP> <[WebAppServletContext(4157813,DefaultWebApp_myserver)]
              registering classpath servlet with initArgs 'null'>
              <Jan 9, 2002 4:00:06 PM EST> <Info> <HTTP> <[WebAppServletContext(4157813,DefaultWebApp_myserver)]
              registering getior servlet with initArgs 'null'>
              

    [att1.html]
              

  • Problem with Preprocessor Compilation.

    Hi,
    I am working with Forte C++ Personal Ed 6/SPARC on Solaris8 on SPARC platform. I am intrested in generating foo.i file from foo.idl using below command.
    CC -P -I/export/narendra/project/idl foo.idl
    This should produce foo.i file in /export/narendra/project/idl directory.
    Instead I get a message " Could not open input file foo.idl.
    Can anyone help me out in this regard.
    Narendra Kumar.
    [email protected]

    Hi,
    Can you check and make sure whether you are compiling in the directory where you have "foo.idl" ?
    You can try specifying the full path as:
    CC -P -I/export/narendra/project/idl /export/narendra/project/foo.idl
    I tried compiling a sample program with Forte 6 Update 1 and it
    works fine.
    Thanks,
    Gopinath.

  • Problems with mass compiling for LabVIEW 6.0.2

    When mass compiling the LabVIEW folder after installing 6.0.2, I get a Log file telling me "Bad VI" for 8866 vi:s. Have looked specifically at two of them, and the broken arrows are fixed by pressing and clicking the broken arrow. Somehow I don't feel like doing this for 8866 vi:s.
    What is wrong, and how do I fix it?
    Attaching the Log.
    //Martin
    Attachments:
    MassCompileLog ‏1263 KB

    Yes, it definitely appears as though you need to reinstall NI-DAQ. You can receive this error when the VIs which are being mass compiled depend upon other VIs which are either not present or have been incorrectly updated. Make sure that you have installed NI-DAQ support for your new version of LabVIEW. This is separate from installed NI-DAQ by itself. You must install the LabVIEW support files also. You can get these off of NI's website.
    Also, if you did a complete install of LabVIEW, you may have installed a newer version of NI-DAQ without realizing it. This could cause a problem if there are two versions of NI-DAQ on your computer. Make sure you only have one version.
    J.R. Allen

  • Problem with software compilation with Solaris 10 x86

    Hi!
    I installed Solaris 10 (entire distribution) and realized that my gcc compiler can't compile even a very simple application.
    #include<stdio.h>
    int main()
    printf("abc");
    return 0;
    }This is output from terminal screen:
    # gcc test.cpp
    Undefined first referenced
    symbol in file
    __gxx_personality_v0 /var/tmp//ccYJ4DSu.o
    ld: fatal: Symbol referencing errors. No output written to a.out
    collect2: ld returned 1 exit status
    Please help!
    Thank you.

    GCC does different things depending on how the file is named. cpp should refer to a file that needs to go through the c preprocessor, not C code.
    Try renaming test.cpp to test.c.
    bash-3.00# gcc foo.cpp
    Undefined first referenced
    symbol in file
    __gxx_personality_v0 /var/tmp//ccvnZHGr.o
    ld: fatal: Symbol referencing errors. No output written to a.out
    collect2: ld returned 1 exit status
    bash-3.00# mv foo.cpp foo.c
    bash-3.00# gcc foo.c
    bash-3.00# ./a.out
    abcbash-3.00#
    Darren

  • Problems with the compiler?

    Hi all-,
    Can someone look into this?:
    In the below test, if I uncomment the first line,
    JSR014's javac fails, but CodeGuide (www.omnicore.com, features its own compiler) is OK. If I uncomment the second comment, both compilers complain:
    import java.util.*;
    public class Test<K >
    public static void main(String[] args)
    Test.asMap(new HashMap< String, Test< String > >(),
    new ArrayList< Test< String > >( ) );
    //Test.asMap( new ArrayList< Test >() );
    //Test.asMap( new ArrayList< Test<String> >() );
    public static < K, T extends Test<K> >
    void asMap( Collection< T > identifiers ){}
    public static < K , T extends Test< K > >
    void asMap(Map< K, T > hostMap, Collection< T > identifiers){}
    Thanks,
    Hristo

    Filed as bug 4773349. We'll look into it.

  • Problem with reading PNG metadata due to unicode strings

    Being new to the XMP SDK I have problems trying to dump the XMP data from a .png file because the data contains UTF-8 data.
    I have searched the forum for answers, but the answers I found do not help.
    The answer I found was to replace std::string with std::wstring. but that causes problems with the compile - btw, I am using MSVC 2010 C++ Express
    and XMP SDK-CC201306
    Changing the std:: line to:
    #define TXMP_STRING_TYPE std::wstring
    and all string definitions in my code to wstring, gives me a bunch of compile errors, such as:
    f:\pkg\c++\xmp-toolkit-sdk-cc201306\public\include\client-glue/TXMPMeta.incl_cpp(74): error C2664: 'std::basic_string<_Elem,_Traits,_Ax> &std::basic_string<_Elem,_Traits,_Ax>::assign(const _Elem *,unsigned int)' : cannot convert parameter 1 from 'XMP_StringPtr' to 'const wchar_t *'
    1>          with
    1>          [
    1>              _Elem=wchar_t,
    1>              _Traits=std::char_traits<wchar_t>,
    1>              _Ax=std::allocator<wchar_t>
    1>          ]
    1>          Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
    1>          f:\pkg\c++\xmp-toolkit-sdk-cc201306\public\include\client-glue/TXMPMeta.incl_cpp(72) : while compiling class template member function 'void TXMPMeta<tStringObj>::SetClientString(void *,XMP_StringPtr,XMP_StringLen)'
    1>          with
    1>          [
    1>              tStringObj=std::wstring
    1>          ]
    1>          f:\pkg\c++\XMP-Toolkit-SDK-cc201306\public\include\XMP.incl_cpp(55) : see reference to class template instantiation 'TXMPMeta<tStringObj>' being compiled
    1>          with
    1>          [
    1>              tStringObj=std::wstring
    1>          ]
    Any help or pointers will be most welcome.
    TIA,
    DayWalker

    OK, I now understand the point you were driving at.
    To check out this idea, I have modified the code in the routine which dumps the output from the callback to a file as follows:
    (Though if you were to dump the file using the std:: stream - .i.e. using the utility as supplied, you should see the same problem - it is not at all dependent on my using the wxWidgets toolkit)
    XMP_Status DumpXMPToFile(void * WXUNUSED(refCon), XMP_StringPtr buffer, XMP_StringLen bufferSize )
        XMP_Status status = 0;
        wxString wsT;
        try
        wxString wsText( buffer, wxConvUTF8 );
        if( g_wfDumpFile.IsOpened() )
          wsT.Printf( _T("<%s> size(%d)"), wsText, bufferSize );
          g_wfDumpFile.SeekEnd();
          g_wfDumpFile.Write( wsT, wsT.Length() );
        else
          return -1;
        catch(XMP_Error & e)
    The output for the one line in question:
    <Iptc4xmpCore:CiAdrExtadr> size(24)< = "> size(4)<Leo-Saurer-Straße> size(15)<> size(1)<C3> size(2)<> size(1)<9F> size(2)<>> size(1)<e> size(1)<"> size(1)<
    > size(1)<   > size(3)<   > size(3)<   > size(3)
    The hex contents of the buffer I get in the callback is
    0x003908D0  4c 65 6f 2d 53 61 75 72 65 72 2d 53 74 72 61 c3 9f 65 00 cd cd cd cd  Leo-Saurer-Straße.ÍÍÍÍ
    0x003908E7  cd cd cd cd cd cd cd cd cd fd fd fd fd ab ab ab ab ab ab ab ab ee fe  ÍÍÍÍÍÍÍÍÍýýýý««««««««îþ
    As you can see, my conversion routines takes all the buffer contains and converts it to the appropriate UTF-8 string, even though the count passed to me is short and represents only the count up to the first non-ASCII character and all of the subsequent strings  - interpreted as hex values by the caller of the call back would not give me the correct characters, athough they are passed to me for display.
    The two fragments of one byte length are the ones I could not find in the actual output.
    The call stack at that point:
    >
    wxMeta.exe!DumpXMPToFile(void * __formal, const char * buffer, unsigned long bufferSize)  Line 110
    C++
    wxMeta.exe!TextOutputProcWrapper(void * refCon, const char * buffer, unsigned long bufferSize)  Line 60 + 0x18 bytes
    C++
    wxMeta.exe!DumpClearString(const std::basic_string<char,std::char_traits<char>,std::allocator<char> > & value, long (void *, const char *, unsigned long)* outProc, void * refCon)  Line 409 + 0x1c bytes
    C++
    wxMeta.exe!DumpPropertyTree(const XMP_Node * currNode, int indent, unsigned int itemIndex, long (void *, const char *, unsigned long)* outProc, void * refCon)  Line 161 + 0x14 bytes
    C++
    wxMeta.exe!DumpPropertyTree(const XMP_Node * currNode, int indent, unsigned int itemIndex, long (void *, const char *, unsigned long)* outProc, void * refCon)  Line 222 + 0x1f bytes
    C++
    wxMeta.exe!XMPMeta::DumpObject(long (void *, const char *, unsigned long)* outProc, void * refCon)  Line 1100 + 0x23 bytes
    C++
    wxMeta.exe!WXMPMeta_DumpObject_1(__XMPMeta__ * xmpObjRef, long (void *, const char *, unsigned long)* outProc, void * refCon, WXMP_Result * wResult)  Line 968
    C++
    wxMeta.exe!TXMPMeta<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >::DumpObject(long (void *, const char *, unsigned long)* outProc, void * refCon)  Line 833 + 0x21 bytes
    C++
    wxMeta.exe!MyFrame::DisplayMetaData(wxString & wsrFilePathAndName)  Line 484
    C++
    Hoping this will help resolve the issue :-)

  • Problem with running applets

    When I try to run an applet on HTML page i only get a gray screen which shows nothing.
    When i try to use appletviewer it always says:
    I/O exception while reading: D:\ClickMe (The system can
    not find the file specified)
    (ClickMe is an applet)
    When I run an applet on some website it works, but when I upload one and open it through an HTML page it stiil shows a gray screen with nothing on it(maybe I have a problem with my compiler).
    I use "SUN ONE STUDIO 4 update 1" (j2sdk1.4.1 came along with it)
    I'm under WINXP HOME EDITION and I've downloaded the letest "service pack 1" from windows update center.
    Thanks in advance to all the helpers!

    I had the same problem once. Try if it works with Netscape. If it does, then you are having the same problem as I had.
    The solution:
    compile the applet with "javac -target 1.1 *.java"
    I dont know why it work, but it does.

  • Problem with compilation of HelloWorld.java

    hi,
    getting problem with compilation of HelloWorld.java
    CLASSPATH--- C:\java
    PATH--- C:\j2sdk1.4.2_04\bin
    HelloWorld.java source code in: C:\java
    On cmd prompt:
    C:\java>javac HelloWorld.java
    error: cannot read: HelloWorld.java
    1 error
    pls help me with this
    rgds,
    sanlearns

    What does this command yield?
    dir HelloWorld.java

Maybe you are looking for

  • Adapter for iMac 27" as display for virgin media V+ HD box?

    Hi, I'd like to connect a virgin media V+ HD box  box to my 27" iMac [3.06 GHz Intel Core 2 Duo, late 2009] The virgin media V+ HD box provides both dvi and hdmi outputs. iMac 27" manual states: supports input from external DisplayPort sources (requi

  • Real life SD Project - Gurus requested to give brief feedback

    Hi, Please read the real life SD - FICO scenario given below and if you think you have the solution, kindly state your suggestion. Would be much appreciated. =================================================== Engineering Services Orders  (Inter-comp

  • I get a bug about iOS 7.0.3

    Use the gesture to exit the app ,a black square  stay in down right corner of screen.

  • Foreign Language Fonts/Keyboards For Word For Mac

    If I purchase Word for Mac will I be able to import phonetic language keyboards which I created through Word on a PC?  If I can import them will I be able to use them, or will I ultimately be limited to the current language/keyboard options in OS?

  • I downloaded some mp3s, but there is no sound.

    When I import them into ITunes 10.5.2 there is no sound. I tried importing them into ITunes on Windows (10.5.2.11) and they play fine. Has anyone experienced something like this? Help!