Can't compile the examples

I followed the instructions here: http://labs.adobe.com/wiki/index.php/Proscenium
Trying to run it throws the following error:
http://grab.by/b06b
Compiler settings are also good, fp version is 11, swf version 13.

I believe setup FP 11 correctly following this link: http://priyeshsheth.wordpress.com/2011/10/05/how-to-use-flash-player-11-air-3-with-flash-p rofessional-cs5-5/
Is there anything missing? Is there a more official how to setup proscenium and FP11/Air 3.0 guide from Adobe?

Similar Messages

  • I can't compile the examples from the precomiler

    Hi
    I'm trying to work with the precomp on the Linux platform. But it will not work.
    When I try to use the example and I type
    proc demo_proc.mk I get a lot of errors starting at line 3 which is an comment. What can I do to make this work???????

    this is aporblem with path .. just go add one more include path ... in my installation it is /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include/
    hth
    Nirav

  • I can' t compile Stratus example from Adobe sample...

    Hey guys !
    First, please sorry for my bad english, I'm french and it's a pain to explain this kind of problem in foreign language...
    I 'm trying to compile the example code found in Stratus sample (the audio/video chat), but I think some package are missed because Flex found a lot of error. Flex tell me that I'm trying to use some class or properties that doesn't exist...
    Here the list of the missing elements :
    - NetStreamInfo
    - Microphone.codec
    - NetStream.DIRECT_CONNECTIONS
    - Microphone.encodeQuality
    - NetStream.farId
    - Microphone.framesPerPacket
    - NetStream.info
    - NetConnection.nearId
    - NetStream.peerStream
    - SoundCodec
    I 'm using Flex Builder 3.02 (downloaded from the link at the bottom of the stratus' presentation page).I have my Stratus Key, but the problem is not here because I'm unable to launch the compilation...
    Where can I find the class / package I need ?
    In other terms, how can I compile the stratus example with no error.
    Thanks a lot !

    you probably forgot to set the minimum Flash Player version to 10.0.0 in the Flex build settings.  open the Properties for your Flex project, go to the "Flex Compiler" property, and in the "HTML wrapper" section's "Require Flash Player version" enter 10.0.0 in the boxes.  that will enable the compiler to recognize Flash Player 10 APIs.
    -mike

  • Where can I get the example application FuzzyEx Car Backward Parking.vi from LabView?

    Where can I get the example application FuzzyEx Car Backward Parking.vi from LabView? I've got the LabView 2009 and I don't find it.

    First verify if you have the PID and Fuzzy Logic Toolkit installed. To do that, you can just look at the "Control Design and Simulation" palette and you should see PID Palette and Fuzzy Logic Palette available. If you do not see, you need to install this toolkit.
    Second, in 2009 you have two options to access the example: you can directly open the example by using this address:
    C:\Program Files\National Instruments\LabVIEW 2009\examples\control\fuzzy\Car Parking\FuzzyEx Car Backward Parking.vi
    Or you can use the example finder and browse examples by going to: "Menu Help>>Find Examples" and "Toolkits and Modules>>PID and Fuzzy Logic Control>>Fuzzy Logic". yoiu should see "FuzzyEx Car Backward Parking".
    Hope this helps.
    Message Edited by Barp on 05-29-2010 12:59 PM
    Barp - Control and Simulation Group - LabVIEW R&D - National Instruments

  • Delphi doesn't compile the examples for DIO32HS

    Delphi doesn't compile the examples for DIO32HS
    Some libraries appear to be required,
    but there are none supplied
    According to the manual, one ActiveX should be sufficient.
    What version is the source provided ?

    The NI CD is Version 6.9.2
    There are examples : \National Instruments\NI-DAQ\Examples\Delphi
    There is no mention which Version of Delphi,
    I have 3,5 and 6. However there should be components
    to be installed into Delphi as DigitalWaveformContinous
    requires TCWNumEdit, TCWDI and so on.
    It also requires the units CWUIControlsLib_TLB,
    CWAnalysisControlsLib_TLB, CWDAQControlsLib_TLB which are not part of Delphi istself but have to be provided
    by NI.
    Today I'm going to try Borland C++Builder, of which
    I have version 4 and 5. This will also require some
    components to be installed in BCB, I couldn't find them
    yet.
    \National Instruments\NI-DAQ\Examples\BorlandC
    BTW: this ActiveX that was talked about couldn't be
    found on the drive either. no *.ocx
    It cannot be that hard. I just want a procedure
    to setup the PCI-DIO-32HS, in terms of what is input
    and output, how the handshaking is done and then
    read/write to the port.
    Rene

  • How can i compile the program?

    hi,everybody:
    I have a program which include the next statments:
    public void println(boolean flag)
    throws IOException
    Object obj = lock;
    obj;
    JVM INSTR monitorenter ;
    print(flag);
    newLine();
    obj;
    JVM INSTR monitorexit ;
    break MISSING_BLOCK_LABEL_26;
    Exception exception;
    exception;
    obj;
    JVM INSTR monitorexit ;
    throw exception;
    how can i compile the program?
    thanks

    Hi,
    I'm trying to figure out how to use this decompiler, I have downloaded it to windows 2000 platform and it unzips to 1 file with extension "1-bin" - OS doesn.'t know what to do with and neither do I ;) - I'm starting out on something here and this tool would be useful.
    Thanks for any install instructions you might have.
    mufc1999
    Hi,
    I've had a similiar problem with decompiling certain
    classes. Try the following decompiler,
    http://jrevpro.sourceforge.net, after using this one,
    the code decompiled fine, this tool is also a
    disassembler and quite a nifty one i might add. :)
    Hope this helps!
    Have Fun!

  • I can't compile the converter tutorial example in J2EE

    Hi,
    I was wondering if someone could help me out with this.
    I followed the instructions from the tutorial, but still can't use ant to compile the convert.
    The following is the error output.
    Many thanks.
    C:\temp\j2ee_examples\j2eetutorial\examples\src>ant converter
    Searching for build.xml ...
    Buildfile: C:\temp\j2ee_examples\j2eetutorial\examples\src\build.xml
    init:
    BUILD FAILED
    C:\temp\j2ee_examples\j2eetutorial\examples\src\build.xml:18: Class org.apache.t
    ools.ant.taskdefs.Property doesn't support the "environment" attribute
    Total time: 0 seconds

    When you compile through J2EE it should give no apache type errors. You must of included apache xml cocoon jar files in the CLASSPATH as well later put the j2ee.jar. However j2ee.jar has XML libraries, no need to include other thrid party xml libaries.
    Other words its picking your thrid party xml jar files first and using that instead of your j2ee.jar xml libaries.
    Cheers
    Abraham Khalil

  • Errors compiling the example.rmi_iiop.ejb.generic_idl example

    Hello,
    I have WebLogic Server 6.0, jdk1.3, Inprise's Visibroker for C++ 4.0 all on Windows
    NT.
    I am following the steps on the examples\rmi_iiop\ejb\generic_idl\package-summary.html
    page in my weblogic directory. The errors occur at step 3g of the section "Compile
    the c++ stubs and client source file ".
    The errors are output by the java compiler. They are:
    C:\bea\wlserver6.0 samples\examples\rmi_iiop\ejb\generic_idl>CL /MD /DTHREAD /no
    logo -DWIN32 /GX /DSTRICT /DALIGNED /DVISIBROKER /DMSVCUSING_BUG /DMSVCNESTEDUS
    ING_BUG -Icpp -Ic:\Inprise\vbroker\include -Ic:\Inprise\vbroker\include\stubs -I
    C:\bea\wlserver6.0\samples -c Trader_c.cpp TraderHome_c.cpp cpp\Client.cpp cpp\j
    avax\ejb\EJBObject_c.cpp cpp\javax\ejb\EJBHome_c.cpp cpp\javax\ejb\RemoveEx_c.cp
    p cpp\javax\ejb\RemoveException_c.cpp cpp\java\lang\_Object_c.cpp cpp\java\lang\
    Exc.cpp cpp\java\lang\_Exception_c.cpp cpp\java\lang\Throwable_c.cpp cpp\java\
    rmi\Remote_c.cpp cpp\java\io\PrintWriter_c.cpp cpp\java\io\PrintStream_c.cpp cpp
    \java\io\Writer_c.cpp cpp\java\io\Serializable_c.cpp cpp\java\io\IOException_c.c
    pp cpp\java\io\IOEx_c.cpp cpp\org\omg\boxedRMI\seq1_wchar_c.cpp
    Trader_c.cpp
    Trader_c.hh(15) : warning C4067: unexpected tokens following pragma directive -
    expected a newline
    cpp\javax/ejb/EJBObject_c.hh(15) : warning C4067: unexpected tokens following pr
    agma directive - expected a newline
    cpp\javax/ejb/EJBObject_c.hh(18) : warning C4067: unexpected tokens following pr
    agma directive - expected a newline
    cpp\javax/ejb/RemoveEx_c.hh(15) : warning C4067: unexpected tokens following pra
    gma directive - expected a newline
    cpp\javax/ejb/RemoveException_c.hh(15) : warning C4067: unexpected tokens follow
    ing pragma directive - expected a newline
    cpp\java/lang/_Exception_c.hh(15) : warning C4067: unexpected tokens following p
    ragma directive - expected a newline
    cpp\java/lang/Throwable_c.hh(15) : warning C4067: unexpected tokens following pr
    agma directive - expected a newline
    cpp\java/lang/Throwable_c.hh(18) : warning C4067: unexpected tokens following pr
    agma directive - expected a newline
    cpp\java/io/PrintWriter_c.hh(15) : warning C4067: unexpected tokens following pr
    agma directive - expected a newline
    cpp\java/io/PrintWriter_c.hh(18) : warning C4067: unexpected tokens following pr
    agma directive - expected a newline
    cpp\java/io/PrintWriter_c.hh(21) : warning C4067: unexpected tokens following pr
    agma directive - expected a newline
    cpp\java/io/Writer_c.hh(15) : warning C4067: unexpected tokens following pragma
    directive - expected a newline
    cpp\java/io/Writer_c.hh(18) : warning C4067: unexpected tokens following pragma
    directive - expected a newline
    cpp\java/io/IOEx_c.hh(15) : warning C4067: unexpected tokens following pragma di
    rective - expected a newline
    cpp\java/io/IOException_c.hh(15) : warning C4067: unexpected tokens following pr
    agma directive - expected a newline
    cpp\java/io/IOException_c.hh(90) : error C2039: 'Exception' : is not a member of
    'lang'
    cpp\java/io/IOException_c.hh(90) : error C2504: 'Exception' : base class undefin
    ed
    cpp\java/io/IOException_c.hh(127) : error C2039: 'OBV_Exception' : is not a memb
    er of 'lang'
    cpp\java/io/IOException_c.hh(127) : error C2504: 'OBV_Exception' : base class un
    defined
    cpp\java/lang/Throwable_c.hh(21) : warning C4067: unexpected tokens following pr
    agma directive - expected a newline
    cpp\java/io/PrintStream_c.hh(15) : warning C4067: unexpected tokens following pr
    agma directive - expected a newline
    cpp\java/io/PrintStream_c.hh(18) : warning C4067: unexpected tokens following pr
    agma directive - expected a newline
    cpp\java/io/PrintStream_c.hh(21) : warning C4067: unexpected tokens following pr
    agma directive - expected a newline
    cpp\java/io/PrintStream_c.hh(22) : fatal error C1083: Cannot open include file:
    'org/omg/boxedRMI/seq1_octet_c.hh': No such file or directory
    TraderHome_c.cpp
    TraderHome_c.hh(15) : warning C4067: unexpected tokens following pragma directiv
    e - expected a newline
    C:\bea\wlserver6.0\samples\examples/rmi_iiop/ejb/generic_idl/Trader_c.hh(15) : w
    arning C4067: unexpected tokens following pragma directive - expected a newline
    cpp\javax/ejb/EJBObject_c.hh(15) : warning C4067: unexpected tokens following pr
    agma directive - expected a newline
    cpp\javax/ejb/EJBObject_c.hh(18) : warning C4067: unexpected tokens following pr
    agma directive - expected a newline
    cpp\javax/ejb/RemoveEx_c.hh(15) : warning C4067: unexpected tokens following pra
    gma directive - expected a newline
    cpp\javax/ejb/RemoveException_c.hh(15) : warning C4067: unexpected tokens follow
    ing pragma directive - expected a newline
    cpp\java/lang/_Exception_c.hh(15) : warning C4067: unexpected tokens following p
    ragma directive - expected a newline
    cpp\java/lang/Throwable_c.hh(15) : warning C4067: unexpected tokens following pr
    agma directive - expected a newline
    cpp\java/lang/Throwable_c.hh(18) : warning C4067: unexpected tokens following pr
    agma directive - expected a newline
    cpp\java/io/PrintWriter_c.hh(15) : warning C4067: unexpected tokens following pr
    agma directive - expected a newline
    cpp\java/io/PrintWriter_c.hh(18) : warning C4067: unexpected tokens following pr
    agma directive - expected a newline
    cpp\java/io/PrintWriter_c.hh(21) : warning C4067: unexpected tokens following pr
    agma directive - expected a newline
    cpp\java/io/Writer_c.hh(15) : warning C4067: unexpected tokens following pragma
    directive - expected a newline
    cpp\java/io/Writer_c.hh(18) : warning C4067: unexpected tokens following pragma
    directive - expected a newline
    cpp\java/io/IOEx_c.hh(15) : warning C4067: unexpected tokens following pragma di
    rective - expected a newline
    cpp\java/io/IOException_c.hh(15) : warning C4067: unexpected tokens following pr
    agma directive - expected a newline
    cpp\java/io/IOException_c.hh(90) : error C2039: 'Exception' : is not a member of
    'lang'
    cpp\java/io/IOException_c.hh(90) : error C2504: 'Exception' : base class undefin
    ed
    cpp\java/io/IOException_c.hh(127) : error C2039: 'OBV_Exception' : is not a memb
    er of 'lang'
    cpp\java/io/IOException_c.hh(127) : error C2504: 'OBV_Exception' : base class un
    defined
    cpp\java/lang/Throwable_c.hh(21) : warning C4067: unexpected tokens following pr
    agma directive - expected a newline
    cpp\java/io/PrintStream_c.hh(15) : warning C4067: unexpected tokens following pr
    agma directive - expected a newline
    cpp\java/io/PrintStream_c.hh(18) : warning C4067: unexpected tokens following pr
    agma directive - expected a newline
    cpp\java/io/PrintStream_c.hh(21) : warning C4067: unexpected tokens following pr
    agma directive - expected a newline
    cpp\java/io/PrintStream_c.hh(22) : fatal error C1083: Cannot open include file:
    'org/omg/boxedRMI/seq1_octet_c.hh': No such file or directory
    Client.cpp
    Have I misapplied some steps? Or, my env has not been set correctly?
    Any help would be greatly appreciated.
    Kevin Wu

    Thanks for your respond, Eduardo.
    Could you explain me in more detail why the C++ code doesn't compile, and how the
    new target in the make file can help us?
    Thanks!
    Eduardo Ceballos <[email protected]> wrote:
    There's nothing wrong with what you've done. The C code just doesn't compile.
    Grab WLS 6.0 SP1 when it is available (shortly). There is a new target in
    the make file that narrows the IDL production by method signature.
    Kevin Wu wrote:
    Hello,
    I have WebLogic Server 6.0, jdk1.3, Inprise's Visibroker for C++ 4.0 allon Windows
    NT.
    I am following the steps on the examples\rmi_iiop\ejb\generic_idl\package-summary.html
    page in my weblogic directory. The errors occur at step 3g of the section"Compile
    the c++ stubs and client source file ".
    The errors are output by the java compiler. They are:
    C:\bea\wlserver6.0 samples\examples\rmi_iiop\ejb\generic_idl>CL /MD /DTHREAD/no
    logo -DWIN32 /GX /DSTRICT /DALIGNED /DVISIBROKER /DMSVCUSING_BUG /DMSVCNESTEDUS
    ING_BUG -Icpp -Ic:\Inprise\vbroker\include -Ic:\Inprise\vbroker\include\stubs-I
    C:\bea\wlserver6.0\samples -c Trader_c.cpp TraderHome_c.cpp cpp\Client.cppcpp\j
    avax\ejb\EJBObject_c.cpp cpp\javax\ejb\EJBHome_c.cpp cpp\javax\ejb\RemoveEx_c.cp
    p cpp\javax\ejb\RemoveException_c.cpp cpp\java\lang\_Object_c.cpp cpp\java\lang\
    Exc.cpp cpp\java\lang\_Exception_c.cpp cpp\java\lang\Throwable_c.cppcpp\java\
    rmi\Remote_c.cpp cpp\java\io\PrintWriter_c.cpp cpp\java\io\PrintStream_c.cppcpp
    \java\io\Writer_c.cpp cpp\java\io\Serializable_c.cpp cpp\java\io\IOException_c.c
    pp cpp\java\io\IOEx_c.cpp cpp\org\omg\boxedRMI\seq1_wchar_c.cpp
    Trader_c.cpp
    Trader_c.hh(15) : warning C4067: unexpected tokens following pragma directive-
    expected a newline
    cpp\javax/ejb/EJBObject_c.hh(15) : warning C4067: unexpected tokens followingpr
    agma directive - expected a newline
    cpp\javax/ejb/EJBObject_c.hh(18) : warning C4067: unexpected tokens followingpr
    agma directive - expected a newline
    cpp\javax/ejb/RemoveEx_c.hh(15) : warning C4067: unexpected tokens followingpra
    gma directive - expected a newline
    cpp\javax/ejb/RemoveException_c.hh(15) : warning C4067: unexpected tokensfollow
    ing pragma directive - expected a newline
    cpp\java/lang/_Exception_c.hh(15) : warning C4067: unexpected tokens followingp
    ragma directive - expected a newline
    cpp\java/lang/Throwable_c.hh(15) : warning C4067: unexpected tokens followingpr
    agma directive - expected a newline
    cpp\java/lang/Throwable_c.hh(18) : warning C4067: unexpected tokens followingpr
    agma directive - expected a newline
    cpp\java/io/PrintWriter_c.hh(15) : warning C4067: unexpected tokens followingpr
    agma directive - expected a newline
    cpp\java/io/PrintWriter_c.hh(18) : warning C4067: unexpected tokens followingpr
    agma directive - expected a newline
    cpp\java/io/PrintWriter_c.hh(21) : warning C4067: unexpected tokens followingpr
    agma directive - expected a newline
    cpp\java/io/Writer_c.hh(15) : warning C4067: unexpected tokens followingpragma
    directive - expected a newline
    cpp\java/io/Writer_c.hh(18) : warning C4067: unexpected tokens followingpragma
    directive - expected a newline
    cpp\java/io/IOEx_c.hh(15) : warning C4067: unexpected tokens followingpragma di
    rective - expected a newline
    cpp\java/io/IOException_c.hh(15) : warning C4067: unexpected tokens followingpr
    agma directive - expected a newline
    cpp\java/io/IOException_c.hh(90) : error C2039: 'Exception' : is not amember of
    'lang'
    cpp\java/io/IOException_c.hh(90) : error C2504: 'Exception' : base classundefin
    ed
    cpp\java/io/IOException_c.hh(127) : error C2039: 'OBV_Exception' : isnot a memb
    er of 'lang'
    cpp\java/io/IOException_c.hh(127) : error C2504: 'OBV_Exception' : baseclass un
    defined
    cpp\java/lang/Throwable_c.hh(21) : warning C4067: unexpected tokens followingpr
    agma directive - expected a newline
    cpp\java/io/PrintStream_c.hh(15) : warning C4067: unexpected tokens followingpr
    agma directive - expected a newline
    cpp\java/io/PrintStream_c.hh(18) : warning C4067: unexpected tokens followingpr
    agma directive - expected a newline
    cpp\java/io/PrintStream_c.hh(21) : warning C4067: unexpected tokens followingpr
    agma directive - expected a newline
    cpp\java/io/PrintStream_c.hh(22) : fatal error C1083: Cannot open includefile:
    'org/omg/boxedRMI/seq1_octet_c.hh': No such file or directory
    TraderHome_c.cpp
    TraderHome_c.hh(15) : warning C4067: unexpected tokens following pragmadirectiv
    e - expected a newline
    C:\bea\wlserver6.0\samples\examples/rmi_iiop/ejb/generic_idl/Trader_c.hh(15): w
    arning C4067: unexpected tokens following pragma directive - expecteda newline
    cpp\javax/ejb/EJBObject_c.hh(15) : warning C4067: unexpected tokens followingpr
    agma directive - expected a newline
    cpp\javax/ejb/EJBObject_c.hh(18) : warning C4067: unexpected tokens followingpr
    agma directive - expected a newline
    cpp\javax/ejb/RemoveEx_c.hh(15) : warning C4067: unexpected tokens followingpra
    gma directive - expected a newline
    cpp\javax/ejb/RemoveException_c.hh(15) : warning C4067: unexpected tokensfollow
    ing pragma directive - expected a newline
    cpp\java/lang/_Exception_c.hh(15) : warning C4067: unexpected tokens followingp
    ragma directive - expected a newline
    cpp\java/lang/Throwable_c.hh(15) : warning C4067: unexpected tokens followingpr
    agma directive - expected a newline
    cpp\java/lang/Throwable_c.hh(18) : warning C4067: unexpected tokens followingpr
    agma directive - expected a newline
    cpp\java/io/PrintWriter_c.hh(15) : warning C4067: unexpected tokens followingpr
    agma directive - expected a newline
    cpp\java/io/PrintWriter_c.hh(18) : warning C4067: unexpected tokens followingpr
    agma directive - expected a newline
    cpp\java/io/PrintWriter_c.hh(21) : warning C4067: unexpected tokens followingpr
    agma directive - expected a newline
    cpp\java/io/Writer_c.hh(15) : warning C4067: unexpected tokens followingpragma
    directive - expected a newline
    cpp\java/io/Writer_c.hh(18) : warning C4067: unexpected tokens followingpragma
    directive - expected a newline
    cpp\java/io/IOEx_c.hh(15) : warning C4067: unexpected tokens followingpragma di
    rective - expected a newline
    cpp\java/io/IOException_c.hh(15) : warning C4067: unexpected tokens followingpr
    agma directive - expected a newline
    cpp\java/io/IOException_c.hh(90) : error C2039: 'Exception' : is not amember of
    'lang'
    cpp\java/io/IOException_c.hh(90) : error C2504: 'Exception' : base classundefin
    ed
    cpp\java/io/IOException_c.hh(127) : error C2039: 'OBV_Exception' : isnot a memb
    er of 'lang'
    cpp\java/io/IOException_c.hh(127) : error C2504: 'OBV_Exception' : baseclass un
    defined
    cpp\java/lang/Throwable_c.hh(21) : warning C4067: unexpected tokens followingpr
    agma directive - expected a newline
    cpp\java/io/PrintStream_c.hh(15) : warning C4067: unexpected tokens followingpr
    agma directive - expected a newline
    cpp\java/io/PrintStream_c.hh(18) : warning C4067: unexpected tokens followingpr
    agma directive - expected a newline
    cpp\java/io/PrintStream_c.hh(21) : warning C4067: unexpected tokens followingpr
    agma directive - expected a newline
    cpp\java/io/PrintStream_c.hh(22) : fatal error C1083: Cannot open includefile:
    'org/omg/boxedRMI/seq1_octet_c.hh': No such file or directory
    Client.cpp
    Have I misapplied some steps? Or, my env has not been set correctly?
    Any help would be greatly appreciated.
    Kevin Wu

  • Can's compile the gdbm program ?(SOLVED)

    Here is an example comes from Beginning Linux Programming 3rd ,and I can't compile it on my machine. I don't know why?? And the gdbm package is always in the base. Please help me.
    try compile 1:
    $gcc dbm1.c -o gdbm1 -lgdbm
    错误信息:
    /tmp/cc2vMknU.o: In function `main':
    dbm1.c: (.text+0x2d): undefined reference to `dbm_open'
    dbm1.c: (.text+0x244): undefined reference to `dbm_store'
    dbm1.c: (.text+0x2ee): undefined reference to `dbm_fetch'
    dbm1.c: (.text+0x379): undefined reference to `dbm_close'
    collect2: ld returned 1 exit status
    try compile 2:
    $ gcc dbm1.c -o gdbm1 -lndbm -L/usr/lib
    错误信息:
    /usr/bin/ld: cannot find -lndbm
    collect2: ld returned 1 exit status
    #include <unistd.h>
    #include <stdlib.h>
    #include <stdio.h>
    #include <fcntl.h>
    #include <ndbm.h>
    #include <string.h>
    #define TEST_DB_FILE "/tmp/dbm1_test"
    #define ITEMS_USED 3
    /* A struct to use to test dbm */
    struct test_data {
    char misc_chars[15];
    int any_integer;
    char more_chars[21];
    int main() {
    struct test_data items_to_store[ITEMS_USED];
    struct test_data item_retrieved;
    char key_to_use[20];
    int i, result;
    datum key_datum;
    datum data_datum;
    DBM *dbm_ptr;
    dbm_ptr = dbm_open(TEST_DB_FILE, O_RDWR | O_CREAT, 0666);
    if (!dbm_ptr) {
    fprintf(stderr, "Failed to open database\n");
    exit(EXIT_FAILURE);
    /* put some data in the structures */
    memset(items_to_store, '\0', sizeof(items_to_store));
    strcpy(items_to_store[0].misc_chars, "First!");
    items_to_store[0].any_integer = 47;
    strcpy(items_to_store[0].more_chars, "foo");
    strcpy(items_to_store[1].misc_chars, "bar");
    items_to_store[1].any_integer = 13;
    strcpy(items_to_store[1].more_chars, "unlucky?");
    strcpy(items_to_store[2].misc_chars, "Third");
    items_to_store[2].any_integer = 3;
    strcpy(items_to_store[2].more_chars, "baz");
    for (i = 0; i < ITEMS_USED; i++) {
    /* build a key to use */
    sprintf(key_to_use, "%c%c%d",
    items_to_store[i].misc_chars[0],
    items_to_store[i].more_chars[0],
    items_to_store[i].any_integer);
    /* build the key datum strcture */
    key_datum.dptr = (void *)key_to_use;
    key_datum.dsize = strlen(key_to_use);
    data_datum.dptr = (void *)&items_to_store[i];
    data_datum.dsize = sizeof(struct test_data);
    result = dbm_store(dbm_ptr, key_datum, data_datum, DBM_REPLACE);
    if (result != 0) {
    fprintf(stderr, "dbm_store failed on key %s\n", key_to_use);
    exit(2);
    } /* for */
    /* now try and retrieve some data */
    sprintf(key_to_use, "bu%d", 13); /* this is the key for the second item */
    key_datum.dptr = key_to_use;
    key_datum.dsize = strlen(key_to_use);
    data_datum = dbm_fetch(dbm_ptr, key_datum);
    if (data_datum.dptr) {
    printf("Data retrieved\n");
    memcpy(&item_retrieved, data_datum.dptr, data_datum.dsize);
    printf("Retrieved item - %s %d %s\n",
    item_retrieved.misc_chars,
    item_retrieved.any_integer,
    item_retrieved.more_chars);
    else {
    printf("No data found for key %s\n", key_to_use);
    dbm_close(dbm_ptr);
    exit(EXIT_SUCCESS);
    Last edited by 009lin (2007-08-19 02:29:54)

    GDBM includes dbm and ndbm compatability.
    I found the solution from the man page, it said:
    If you wish to use the dbm or ndbm  compatibility  routines,  you  must
           link in the gdbm_compat library as well.  For example:
                gcc -o prog proc.c -lgdbm -lgdbm_compat
    Last edited by 009lin (2007-08-19 02:29:27)

  • Can't compile the HTML-Java Wizard generated file.

    I have created a java file using HTML-Java Wizard.
    when compiling the java file it gives an error
    method getDeclaredMethod(java.lang.String,null) not found in
    class in java.lang.class
    can anyone tell me how can I remove the error ?
    waiting for your early reply in this regard.
    Thanks
    null

    Thanks, My problem has been solved.Now it is working.
    Initially I was using wrong classes.zip file in myclasspath.The
    Correct one is in %JDEVELOPER_HOME%\java\lib. The size of that
    file is 9.48 MB.
    Regards
    -- Sujit
    JDeveloper Team (guest) wrote:
    : Sujit,
    : I assume that you have access to the OAS jars needed to compile
    : this file (refer to the "Building Java Applications for OAS"
    : guide in the helpsystem for details).
    : Also, try deleting the dependecy files in your
    : myclasses/your_package directory .
    : Regards,
    : Sujit Hazra (guest) wrote:
    : : Hi,
    : : The error is still there.
    : : I have tried as you suggested.That brought me the code of
    : : java.lang.Class and also found that method as you
    : mentioned.This
    : : means my libraries are properly installed.
    : : The following code is taken from the HTML-Java Wizard
    generated
    : : file:
    : : private HtmlPage makePage() {
    : : HtmlPage hp = new HtmlPage(new java.io.File(filepath +
    : : java.io.File.separator +
    filename));
    : : for(int i=0;i<WRB_tags.length;i++) {
    : : try {
    : : hp.setItemAt(WRB_tags[0], new SimpleItem(
    : : this.getClass().getDeclaredMethod(
    : : "get"+WRB_tags[i][2],null).invoke(this,null)));
    : : catch (java.lang.Exception ex) {
    : : hp.setItemAt(WRB_tags[i][0],
    : new(SimpleItem(WRB_tags[i][1]));
    : : return hp;
    : : I didn't change anything on that.What else should I do?
    : : waiting for your early reply in this regard.
    : : Thanks
    : : - Sujit
    : : JDeveloper Team (guest) wrote:
    : : : Sujit,
    : : : Test this:
    : : : Bring up JDeveloper
    : : : Press Ctrl / - Control key and the Slash key
    : : : Type in java.lang.Class
    : : : This brings up the code for java.lang.Class
    : : : If it does not, then somehow your libraries
    : : : are not properly installed for JDeveloper to find
    : : : (see IDEClassPath ).
    : : : Otherwise, there you should see many methods including:
    : : : public Method getDeclaredMethod(String p0, Class[] p1)
    : : : throws NoSuchMethodException, SecurityException {
    : : : // implementation not available
    : : : Also note: Your spelling for Class should be
    : : : java.lang.Class
    : : : - JDeveloper Team
    : : : You can browse the class
    : : : Sujit Hazra (guest) wrote:
    : : : : I have created a java file using HTML-Java Wizard.
    : : : : when compiling the java file it gives an error
    : : : : method getDeclaredMethod(java.lang.String,null) not found
    : in
    : : : : class in java.lang.class
    : : : : can anyone tell me how can I remove the error ?
    : : : : waiting for your early reply in this regard.
    : : : : Thanks
    null

  • Can't compile the Forms,please help me.

    when I compile the form in Linux, I got the following error:
    ======================================================
    error while loading shared libraries: libig.so.0: cannot open shared object file: No such file or directory
    ==========================
    and I can find this file under
    /ora11510/oracle/visora/8.0.6/lib/
    Can you help me to resolve it? Thanks.

    Hi...
    How are you compiling the form in linux? are you using frmcmp (or f90genm for Forms 9i) executable? If so, try using frmcmp.sh script (its also available in $ORACLE_HOME/bin).
    If it does not work either, try setting LD_LIBRARY_PATH to $ORACLE_HOME/lib:$ORACLE_HOME/lib32
    HTH.
    Regards,
    Arun

  • Can't compile the medrec tutorial

    I can't build the medrec tutorial. Following the Tutorial 10: Exposing a Stateless
    Session EJB as a Web Service, I execute the command "ant prepare build.split.dir".
    But the medrecEar
    can't be compiled correctly.
    There are primarily two kinds of errors/warnings:
    1)some classes, such as AdminSession can't be resolved;
    2)EJB Local Reference doesn't have a JNDI name.
    Who could help me. Thank you.

    When you compile through J2EE it should give no apache type errors. You must of included apache xml cocoon jar files in the CLASSPATH as well later put the j2ee.jar. However j2ee.jar has XML libraries, no need to include other thrid party xml libaries.
    Other words its picking your thrid party xml jar files first and using that instead of your j2ee.jar xml libaries.
    Cheers
    Abraham Khalil

  • In Example Finder, I can't open the example, error: server not running

    It say's the web server is not running when I try to click into any examples. It's installed under academic license 12.0.1.f3

    Hello,
    Does this issue only occur when you are logged on to the Domain? In other words, if you donot log on to the network does the example finder work correctly then? If so then you probably have to ask your System Administrator to allow access for the NI System Web server in your Firewall.
    A good resource for finding out what ports should be opened in the Firewaal to have NI SW work correctly is:
    http://digital.ni.com/public.nsf/allkb/CEF5A3568A5DA71D8625732800520EA1?OpenDocument
    Regards, 
    Rik Prins, CLD
    Applications Engineering Specialist Northern Europe, National Instruments
    Please tip your answer providers with kudos.
    Any attached Code is provided As Is. It has not been tested or validated as a product, for use in a deployed application or system,
    or for use in hazardous environments. You assume all risks for use of the Code and use of the Code is subject
    to the Sample Code License Terms which can be found at: http://ni.com/samplecodelicense

  • Help: OJSPC can not compile the JSP with struts tag

    Hi,
    I am trying to precompile the JSP page with EAR package but OJSPC can not parse the Struts tags.
    I always get oracle.jsp.parse.JspParseException:
    Error: org.apache.struts.taglib.html.MessgesTei while reading TLD /WEB-INF/tld/struts-html.tld
    My OC4J version is 10.1.3.2 and I did tried putting the struts-taglib.jar to /opt/oracle/product/app10g/j2ee/home/jsp/lib or /lib/taglib
    but still do not work.
    Can anyone tell me how to configure the OJSPC and let it support customerized taglibs?
    Thanks a lot!

    This is a new problem with jdk1.4 when compiling with tomcat.
    The solution is to ensure that any classes in WEB-INF/classes are in a package structure and the relevant jsp calls the same using the package name.
    best
    kev

  • How can i run the example programme without hardware

    Hi,
         We are using NI-9233 for our Project. We would like to run the example programme, the NI-9233 getting started(host).vi ... I would like to ask that how can i run the Programme without Hardware.& How shall i get the input signal (simulating signal)?because we would like to test it while we are waiting for the hardware to be delivered . 
    thanks
    Best regards

    As Mike indicated , " you can use MAX to simulate some (not all) DAQmx devices. There's a NI-USB-9233 device that you can probably use. Open MAX, then expand "My System", the expand "Devices and Interfaces", then right-click on "NI-DAQmx Devices" and select "Create New NI-DAQmx Device -> NI-DAQmx Simulated Device". Select the device from the list. See the online help for MAX for further help.
    If you don't see "NI-DAQmx Devices" in MAX you need to install NI-DAQmx. You can download it from NI here. "
    hi,
         the link you gave me to download is "NI-DAQmx Devices" ... There is no software to download for Labview 8.2.1. So should i use 8.1 or 8.3 instead of 8.2.1 ? If not, can you tell me the CD no. that includes the "NI-DAQmx Devices" folder of Labview 8.2.1 version? Because we can get the cd from our school's component store. Thank you so much.
    Best Regards,
    Su

Maybe you are looking for

  • Need Help-Unable to find an available port

    Hi, I am Working one BPEL Process where in need to invoke a WebService. I was able to deploy my BPEL Process with the Web Service Call but i am getting an error while invoking the Webservice from the Process. BPEL PM Version 10.1.2.0.2 <bindingFault>

  • Why wont my mac pro play apple videos on line

    i have QT 10 MAC OS 10.6.7 i cannot play the online  videos what am i missing here?

  • Icloud photostream - when I remove a device from my own shared stream..

    What happens if I remove my Ipad from a photostream I created and shared with other people? I'm trying to understand how the icloud & shared streams work. I created a photostream and I have several devices which are connected to the stream. But what

  • Original and Transcoded (ProRes 422) Media

    Hi all Can anyone explain to me what exactly is the point of having both original (say H264, for example) and transcoded media in a library? I fail to grasp the point since I am only interested in dealing with prores files. Thanks

  • CS3: Find Font window on open, no missing fonts.

    Is there a way to tell Illustrator not to show the Find Font window when tere are no missing fonts? It's only a whole lot frustrating and annoying. I'm sure the fonts are activated in Suitcase Fusion (only just slightly less crappy a an option than n