Problem 2 while compiling exiv2 with SolarisStudio

source: svn checkout svn://dev.exiv2.org/svn/trunk (Latest rev: 3020)
My platform: Fedora 17 64-bit
This following command works:
cmake -DCMAKE_CXX_FLAGS=-library=stlport4 -DCMAKE_CXX_COMPILER=/opt/oracle/solarisstudio12.3/bin/CC -DCMAKE_C_COMPILER=/opt/oracle/solarisstudio12.3/bin/cc .
But after that when I do make, I get the error:
Scanning dependencies of target exiv2lib
[ 17%] Building CXX object src/CMakeFiles/exiv2lib.dir/asfvideo.cpp.o
"/home/Wani/GSoC/exiv2-trunk/trunk/src/error.cpp", line 29: Error: Multiple declaration for rcsId.
1 Error(s) detected.
make[2]: *** [src/CMakeFiles/exiv2lib.dir/asfvideo.cpp.o] Error 2
make[1]: *** [src/CMakeFiles/exiv2lib.dir/all] Error 2
make: *** [all] Error 2
Content of error.cpp:
28 #include "rcsid_int.hpp"
29 EXIV2_RCSID("@(#) $Id: error.cpp 2681 2012-03-22 15:19:35Z ahuggel $")
Content of rcsid_int.hpp:
#ifndef RCSID_INT_HPP_
#define RCSID_INT_HPP_
#if !defined (EXIV2_RCSID)
#if defined(__clang__)
#define EXIV2_RCSID(id)
#elif defined(OS_SOLARIS)
#define EXIV2_RCSID(id) \
inline const char* getRcsId(const char*) { return id ; } \
const char* rcsId = getRcsId(rcsId); \
#else
#define EXIV2_RCSID(id) \
namespace { \
inline const char* getRcsId(const char*) { return id ; } \
const char* rcsId = getRcsId(rcsId); \
#endif
#endif
#endif

I'm the person who got exiv2 v0.23 building from SVN using Studio 12.3 C++. I posted about this to the Exiv2 forum, in this thread
http://dev.exiv2.org/boards/3/topics/1177 here.
Don't bother trying to use the supplied configure script; it's a pain to hack on so it works with Studio, and the cmake option works much more nicely.
The one thing I would add is that the rcsId macro should be commented out entirely, or blocked out via the CLANG macro.

Similar Messages

  • Problem while Creating MVLOG with synonym in Oracle 9i:Is it an Oracle Bug?

    Hi All,
    I am facing a problem while Creating MVLOG with synonym in Oracle 9i but for 10G it is working fine. Is it an Oracle Bug? or i am missing something.
    SQL> select * from v$version;
    BANNER
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Product
    PL/SQL Release 10.2.0.1.0 - Production
    CORE    10.2.0.1.0      Production
    TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production
    SQL>
    SQL> create table t ( name varchar2(20), id varchar2(1) primary key);
    Table created.
    SQL> create materialized view log on t;
    Materialized view log created.
    SQL> create public synonym syn_t for t;
    Synonym created.
    SQL> CREATE MATERIALIZED VIEW MV_t
      2  REFRESH ON DEMAND
      3  WITH PRIMARY KEY
      4  AS
      5  SELECT name,id
      6  FROM syn_t;
    Materialized view created.
    SQL> CREATE MATERIALIZED VIEW LOG ON  MV_t
      2  WITH PRIMARY KEY
      3   (name)
      4    INCLUDING NEW VALUES;
    Materialized view log created.
    SQL> select * from v$version;
    BANNER
    Oracle9i Enterprise Edition Release 9.2.0.6.0 - Production
    PL/SQL Release 9.2.0.6.0 - Production
    CORE    9.2.0.6.0       Production
    TNS for Solaris: Version 9.2.0.6.0 - Production
    NLSRTL Version 9.2.0.6.0 - Production
    SQL>
    SQL> create table t ( name varchar2(20), id varchar2(1) primary key);
    Table created.
    SQL> create materialized view log on t;
    Materialized view log created.
    SQL> create public synonym syn_t for t;
    Synonym created.
    SQL> CREATE MATERIALIZED VIEW MV_t
    REFRESH ON DEMAND
    WITH PRIMARY KEY
    AS
      2    3    4    5  SELECT name,id
    FROM syn_t;   6
    Materialized view created.
    SQL> CREATE MATERIALIZED VIEW LOG ON  MV_t
    WITH PRIMARY KEY
    (name)
      INCLUDING NEW VALUES;  2    3    4
    CREATE MATERIALIZED VIEW LOG ON  MV_t
    ERROR at line 1:
    ORA-12014: table 'MV_T' does not contain a primary key constraintRegards
    Message was edited by:
    Avinash Tripathi
    null

    Hi Nicloei,
    Thanks for the reply. Actually i don't want any work around (Creating MVLOG on table rather than synonym is fine with me) . I just wanted to know it is actually an oracle bug or something else.
    Regards
    Avinash

  • Problem while uploading data with GUI UPLOAD Function

    Hi,
      I am facing problem while uploading data with FM GUI UPLOAD    in out text file there are 7 row  but after the FM GUI UPLOAD  there are 14 entries are coming in Internal table   and each alternate row is coming as blank  with  0000 in some column   in internal table first row is proper and second line is blank so on.
    what can be the problem .
    The program in which we are using this we are using it from last 2 year but we are facing problem today only.
    regards,
      zafar

    Hi,
      The file formate is same as it is from last two years it is automatically generated by one another bar code server and there is no change  in the file formate.
      So waht can be the problem  to check any inconsistancy in system  i have develop a samll program fro  uploading a text file with same function module ,  but it is working fine.
    regards,
      zafar

  • Problem while creating xml with cdata section

    Hi,
    I am facing problem while creating xml with cdata section in it. I am using Oracle 10.1.0.4.0 I am writing a stored procedure which accepts a set of input parameters and creates a xml document from them. The code snippet is as follows:
    select xmlelement("DOCUMENTS",
    xmlagg
    (xmlelement
    ("DOCUMENT",
    xmlforest
    (m.document_name_txt as "DOCUMENT_NAME_TXT",
    m.document_type_cd as "DOCUMENT_TYPE_CD",
    '<![cdata[' || m.document_clob_data || ']]>' as "DOCUMENT_CLOB_DATA"
    ) from table(cast(msg_clob_data_arr as DOCUMENT_CLOB_TBL))m;
    msg_clob_data_arr is an input parameter to procedure and DOCUMENT_CLOB_TBL is a pl/sql table of an object containing 3 attributes: first 2 being varchar2 and the 3rd one as CLOB. The xml document this query is generating is as follows:
    <DOCUMENTS>
    <DOCUMENT>
    <DOCUMENT_NAME_TXT>TestName</DOCUMENT_NAME_TXT>
    <DOCUMENT_TYPE_CD>BLOB</DOCUMENT_TYPE_CD>
    <DOCUMENT_CLOB_DATA>
    &lt;![cdata[123456789012345678901234567890123456789012]]&gt;
    </DOCUMENT_CLOB_DATA>
    </DOCUMENT>
    </DOCUMENTS>
    The problem is instead of <![cdata[....]]> xmlforest query is encoding everything to give &lt; for cdata tag. How can I overcome this? Please help.

    SQL> create or replace function XMLCDATA_10103 (elementName varchar2,
      2                                             cdataValue varchar2)
      3  return xmltype deterministic
      4  as
      5  begin
      6     return xmltype('<' || elementName || '><![CDATA[' || cdataValue || ']]>
      7  end;
      8  /
    Function created.
    SQL>  select xmlelement
      2         (
      3            "Row",
      4            xmlcdata_10103('Junk','&<>!%$#&%*&$'),
      5            xmlcdata_10103('Name',ENAME),
      6            xmlelement("EMPID", EMPNO)
      7         ).extract('/*')
      8* from emp
    SQL> /
    <Row>
      <Junk><![CDATA[&<>!%$#&%*&$]]></Junk>
      <Name><![CDATA[SMITH]]></Name>
      <EMPID>7369</EMPID>
    </Row>
    <Row>
      <Junk><![CDATA[&<>!%$#&%*&$]]></Junk>
      <Name><![CDATA[ALLEN]]></Name>
      <EMPID>7499</EMPID>
    </Row>
    <Row>
      <Junk><![CDATA[&<>!%$#&%*&$]]></Junk>
      <Name><![CDATA[WARD]]></Name>
      <EMPID>7521</EMPID>
    </Row>
    <Row>
      <Junk><![CDATA[&<>!%$#&%*&$]]></Junk>
      <Name><![CDATA[JONES]]></Name>
      <EMPID>7566</EMPID>
    </Row>
    <Row>
      <Junk><![CDATA[&<>!%$#&%*&$]]></Junk>
      <Name><![CDATA[MARTIN]]></Name>
      <EMPID>7654</EMPID>
    </Row>
    <Row>
      <Junk><![CDATA[&<>!%$#&%*&$]]></Junk>
      <Name><![CDATA[BLAKE]]></Name>
      <EMPID>7698</EMPID>
    </Row>
    <Row>
      <Junk><![CDATA[&<>!%$#&%*&$]]></Junk>
      <Name><![CDATA[CLARK]]></Name>
      <EMPID>7782</EMPID>
    </Row>
    <Row>
      <Junk><![CDATA[&<>!%$#&%*&$]]></Junk>
      <Name><![CDATA[SCOTT]]></Name>
      <EMPID>7788</EMPID>
    </Row>
    <Row>
      <Junk><![CDATA[&<>!%$#&%*&$]]></Junk>
      <Name><![CDATA[KING]]></Name>
      <EMPID>7839</EMPID>
    </Row>
    <Row>
      <Junk><![CDATA[&<>!%$#&%*&$]]></Junk>
      <Name><![CDATA[TURNER]]></Name>
      <EMPID>7844</EMPID>
    </Row>
    <Row>
      <Junk><![CDATA[&<>!%$#&%*&$]]></Junk>
      <Name><![CDATA[ADAMS]]></Name>
      <EMPID>7876</EMPID>
    </Row>
    <Row>
      <Junk><![CDATA[&<>!%$#&%*&$]]></Junk>
      <Name><![CDATA[JAMES]]></Name>
      <EMPID>7900</EMPID>
    </Row>
    <Row>
      <Junk><![CDATA[&<>!%$#&%*&$]]></Junk>
      <Name><![CDATA[FORD]]></Name>
      <EMPID>7902</EMPID>
    </Row>
    <Row>
      <Junk><![CDATA[&<>!%$#&%*&$]]></Junk>
      <Name><![CDATA[MILLER]]></Name>
      <EMPID>7934</EMPID>
    </Row>
    14 rows selected.
    SQL>

  • Problem while compiling the Device Driver source code onSolaris 8 intel pla

    Hello!
    We are writing Device Driver for PCI (PMC) based HS serial
    communication card on Solaris 8(intel edition).The Processor
    used is Celeron/Pentium III.
    We are facing following problems.
    1) Kindly let us know the cc compiler options for xarch=isa.
    2) Presently we have included following header files.
         #include <sys/ddi.h>
         #include <sys/sunddi.h>
    3)We tried to compile our driver soure file (pmc.c) using
    FORTE DEVELOPER 6 UPDATE 1 with the following command.
         # cc -Xa -D_KERNEL -c pmc.c
    4) The compiler is not able to reach to our source code. It prematurely fails
    while compiling the system header files
    5) The errors were reported during Preprocessor
    compilation in /SYS/*.h header files.
    cc: Warning: using -Xa, ignoring all other -X options
    "/usr/include/iso/limits_iso.h", line 54: warning: macro redefined: SHRT_MIN
    "/usr/include/iso/limits_iso.h", line 56: warning: macro redefined: USHRT_MAX
    "/usr/include/iso/limits_iso.h", line 59: warning: macro redefined: UINT_MAX
    "/usr/include/sys/vnode.h", line 486: syntax error before or at: rlim64_t
    "/usr/include/sys/vnode.h", line 486: warning: undefined or missing type for: rlim64_t
    "/usr/include/sys/vnode.h", line 487: warning: undefined or missing type for: cred_t
    "/usr/include/sys/vnode.h", line 487: warning: undefined or missing type for: ssize_t
    "/usr/include/vm/page.h", line 468: undefined or not a type: pgcnt_t
    6)Kindly let us know :-
    a) if any Environment variables to be set.
    b) What all the system include headre files are required & in what sequence if any.
    Expecting a early reply .
    Can anybody help us.
    Thanking you for your kind co-operation.
    A.P.SINGH
    INDIA               

    Try to use cc comiler from /opt/SUNWspro/bin/ like
    /opt/SUNWspro/bin/cc -Xa -D_KERNEL -c pmc.c

  • K9copy - kdelibs problem while compiling

    hello!
    got the PKGBUILD from the aur.
    http://aur.archlinux.org/packages/k9cop … y/PKGBUILD
    while compiling i had this problem:
    checking if UIC has KDE plugins available... no
    configure: error: you need to install kdelibs first.
    make: *** No targets specified and no makefile found. Stop.
    i have installed all depencies of k9copy (newest versions)!
    anyone has an idea?
    thx for any help!

    user5606182 wrote:
    How to identify which is causing?
    Login as DMTAPPS and issue
    SELECT  *
      FROM  USER_ERRORS
      WHERE NAME = 'DMT_UTILITY_PKG';Or select from all_errors/dba_errors:
    SELECT  *
      FROM  USER_ERRORS
      WHERE OWNER = 'DMTAPPS'
        AND NAME = 'DMT_UTILITY_PKG';SY.

  • Problem while reversing allocations with KEU5

    Dear Experts,
    we encounter some problems when reversing allocations with KEU5 (using KSU5 in the background). When doing so all 4 update processes will be occupied by the system on our 2 servers. Which means that the systems is blocked. 
    Thanks in advance for help and best regards
    Melanie

    SAP OSS Says the following
    This is not a program
    error and completely correct
    behaviour. Nevertheless, I would like provide the following
    recommendations which could possibly reduce workload/improve the
    runtime in the transaction KEU5:
    1. Please make sure that
    the flag for 'detail list' is not activated.
    If the option 'detailed list' is selected, a detailed output list is
    created for every segment. This takes up the largest amount of time
    during the process.
    2. Ensure that the Summarization that you use are updated on a regular
    basis, daily if possible.
    3. Also consider the
    cycles dimensions recommended by SAP (a maximum
    of 50 segments per cycle, a maximum total of 10,000 sender-receiver
    relationships, see documentation). If possible, enter only those
    objects in the cycle that are valid senders or receivers. Consider
    that if, for example, you entered 100 cost centers in a group of which
    only 20 are valid receivers, the complete master data validation and
    database selection is carried out for all 100. See note 79224 and
    130350 for further information.
    4. For the definition of segments and their summary in cycles, you
    should take into account the technical aspects included in note 420081.
    Please take into account that the selection of data is carried out
    from CE3xxxx, CE4xxxx (no effect at this point if you have archived
    CE1xxxx), as explained in note 420081.
    The selection of the reference data can both be carried out from a
    summarization level or from object level (tables CE3xxxx, CE4xxxx).
    In additional , you are
    recommended to perform
    this transaction during the evening/night. This will affect the system
    processes/workload during peak period.

  • Net_PRICE problem while creating PO with BAPI_PO_CREATE1 ***ASAP

    Dear All,
    While creating PO with bapi BAPI_PO_CREATE1, The net price is not populating, though the logic is correct, as when i change the net price to some otrher value of in the bapi, while debugging, it is taking the Net price, but in general run, the price is over written by Gross price in PO, Please Help, Its Urgent.
    Any Sample codes are welcomed, where Net_price is used.
    Thanks in Advance..
    Rewards Guaranteed.

    Dear All,
    While creating PO with bapi BAPI_PO_CREATE1, The net price is not populating, though the logic is correct, as when i change the net price to some otrher value of in the bapi, while debugging, it is taking the Net price, but in general run, the price is over written by Gross price in PO, Please Help, Its Urgent.
    Any Sample codes are welcomed, where Net_price is used.
    Thanks in Advance..
    Rewards Guaranteed.

  • Problem while sync iPhone with itunes (with cable)

    hello guys
    i am using iPhone 3GS version 5.1.1,
    whilie i am syncing my iPhone with itunes 11 using cable (or perivious version), a message appears as
    "itune is stop working, please close itune"
    this message appears when itunes is "BACKING UP" the data.
    please help me. i have change three cables also but still issue
    i cannt understand this problem
    thanks!
    i am using windows 7 (64-bit)

    Hey wavymitch,
    I changed my iTunes account email address and Apple ID Sign-in.  My iPhone and iPad 3 keeps bring up my old email address when I go to download any updates to any of the apps on the phone/pad and from there I am unable to log into my Apple ID. When I enter the settings on the devices to view "iTunes & Apps Stores" and then select "View Apple ID" I am once again unable to access with existing password which did not change in iTunes. 
    I appreciate your response and look forward to a solution(s).  Thanks much for your help and patience!

  • Failure FRM-32029 while compiling Form with Forms Builder

    Hi.
    I have problem. I compile a form with Forms Builder from DevSuiteHome and get the failure:
    "FRM-32029 Window WINDOW not found; canvas-section CG$LOVCAN" (I translate it, it´s not the original terms).
    I google and search the forum and oracle page, but found nothing about this failure. In Forms-Builder itself is also nothing recorded about this problem.
    Do someone know more about this error?
    Thanks.

    Thanks inolau for answering.
    The problem is, that I don´t have a documentation about the sourcecode and these forms worked under from 6i to 9i upgraded Oracle AS and DB servers. So the problem is not only "where is the WINDOW", than more "why doesn´t works it under a new 10g version and how get it working?".
    That´s why I was searching for this not recorded error.
    And I´m worry about that searching for the part of the sourcecode where I found the "WINDOW" is like looking for a needle in a haystack. ;)

  • Occi problems while compiling in linux

    hi guys
    i've been trying to compile the occi programming examples but i always get the following error.
    /tmp/ccNNJ2Rg.o(.occipool::gnu.linkonce.t.(void)+0x18): In function `occipool::occipool(void)':
    : undefined reference to `oracle::occi::Environment::createEnvironment(oracle::occi::Environment::Mode, void *, void *(*)(void *, unsigned int), void *(*)(void *, void *, unsigned int), void (*)(void *, void *))'
    /tmp/ccNNJ2Rg.o(.gnu.linkonce.t._._8occipool+0x15): In function `occipool::~occipool(void)':
    : undefined reference to `oracle::occi::Environment::terminateEnvironment(oracle::occi::Environment *)'
    /tmp/ccNNJ2Rg.o(.occipool::gnu.linkonce.t.select(void)+0x497): In function `occipool::select(void)':
    : undefined reference to `oracle::occi::SQLException type_info function'
    /tmp/ccNNJ2Rg.o(.occipool::gnu.linkonce.t.select(void)+0x4c8): In function `occipool::select(void)':
    : undefined reference to `oracle::occi::SQLException::SQLException(oracle::occi::SQLException const &)'
    /tmp/ccNNJ2Rg.o(.occipool::gnu.linkonce.t.select(void)+0x513): In function `occipool::select(void)':
    : undefined reference to `oracle::occi::SQLException::getErrorCode(void) const'
    /tmp/ccNNJ2Rg.o(.occipool::gnu.linkonce.t.select(void)+0x55c): In function `occipool::select(void)':
    : undefined reference to `oracle::occi::SQLException::getMessage(void) const'
    /tmp/ccNNJ2Rg.o(.occipool::gnu.linkonce.t.select(void)+0x5b2): In function `occipool::select(void)':
    : undefined reference to `oracle::occi::SQLException::~SQLException(void)'
    /tmp/ccNNJ2Rg.o(.occipool::gnu.linkonce.t.select(void)+0x60d): In function `occipool::select(void)':
    : undefined reference to `oracle::occi::SQLException::~SQLException(void)'
    collect2: ld returned 1 exit status
    i tried following the instructions in this forum about installing gcc 2.95.3. since i was using 3.2.2. I installed gcc ok but i still get the same problem. i think its something to do with the shared libraries or include paths but i cannt figure how. any help will be appreciated. am running redhat 9.0 and oracle 9 rs 2.
    regards solomon

    Hi all.
    I've same problems. I try to download and install 2.95.3 from http://gcc.gnu.org/releases.html (since there isn't any refercence to 2.96!) but the problems persist again.
    So I tryed to analyze the library with 'nm -CD $ORACLE_HOME/lib/libocci' and I saw there isn't no exported symbols, then I rebuild it with the object files found in $ORACLE_HOME/lib/libocci9.a' and now the library exports all function oracle::... but when I try to recompile the example demo/occidml I get the error
    /opt/gcc2.95/bin/g++ -o occidml -I. I/opt/oracle/oracle92/rdbms/public -L/opt/oracle/oracle92/lib -L/opta/oracle/oracle92/rdbms/lib -locci -lclntsh 'cat $ORACLE_HOMElib/sysliblist' occidml.cpp
    /opt/oracle/oracle92/lib/libocci.so: undefined reference to '__ctype-toupper'
    collect2: ld returned 1 exit status
    WHERE I CAN DOWNLOAD THE gcc2.96????

  • Case-Sensitive problem while compiling in Linux

    Hi All,
    We have around 100 forms developed in windows platform. The forms use program units from plls. Compiling against windows do not have any problem. But when they are compiled in linux environment, we get error like frm-18108: unable to load form objects.
    Also the program units of the pll's are not referred correctly, since the declaration is in upper case and the calling in the other forms is in other cases.
    Is there any way to by-pass this case-sensitive problem, other than making them even in case, in the forms and libraries.
    Thanks
    Gopal

    Hi Francois,
    I had already tried with having all combinations of file name but still I am getting
    error
    "Compilation error on procedure CG$KEY_STARTUP:
    PL/SQL ERROR 201 at line 9, column 1
    identifier 'SET_MDI_TITLE' must be declared
    PL/SQL ERROR 0 at line 9, column 1
    Statement ignored".
    The set_mdi_title PU is defined in PLL and the library is attached to the form. When I compile the form using f90gen, I am getting the above error.
    Please suggest.
    Thanks Gopal

  • Problem while using XML with Oracle

    I have a problem using XML with oracle applications
    The process I am following
    1. Making a XML string.
    2. Parsing it to get a document
    3. Free the parser using xmlparser.freeparser
    4. Traversing through nodes .
    5. Freeing the document.
    The whole Process is executed in batch mode.
    The problem occurs after executing the procedure for 5000 records and I get the error
    ORA-04031: unable to allocate 4176 bytes of shared memory ("shared pool","unknown object","sga
    heap","library cache")
    Can you please help me out to overcome this problem
    It's urgent
    I have
    Oracle version 8.1.7.0.0
    XML version 1.2
    OS Windows NT
    To resolve the problem I have increase shared memory size and java initialization parameters ,which seems OK
    Looking forward for your answer.

    Hello, Reena
    Your process flow seems to be correct in term of getting/freeing memory.
    Following error
    The problem occurs after executing the procedure for 5000 records and I get the error
    ORA-04031: unable to allocate 4176 bytes of shared memory ("shared pool","unknown object","sga
    heap","library cache")may be caused by memory leaks in xdk or memory fragmentation(due to get/free memory cycle)
    To find out if this is an memory leak issue you could try to monitor V$SGASTAT from one session while running your batch process in another session.
    To prevent (or lower its impact) fragmentation issues try to PIN objects, and adjust java_pool_size and shared_pool_reserved_size.
    Anyway, counsult your Oracle DBA.
    Oracle version 8.1.7.0.0I think, you should apply database patch first of all. The latest one (8.1.7.4.x) could be accured from Metalink.

  • Warning I don´t understand while compiling-Prob with .jar... help plz?

    Hello, While I compile my java file I get the :
    I:\............. >javac ObjCreatorV1.java
    Note: Some input files use or override a deprecated API.
    Note: Recompile with -Xlint:deprecation for details.After that : i get the:
    I:\........................>javac -Xlint ObjCreatorV1.java
    ObjCreatorV1.java:40: warning: [serial] serializable class ObjCreatorV1 has no definition of serialVersionUID
    public class ObjCreatorV1 extends JFrame {
           ^
    1 warningWhat does it mean?? It´s ok, I can still run it, and it´s just fine, but I´m wondering if that warning is the reason why I can´t make a .jar out of it.
    Actually I create the .jar file but it doesn´t run, it just makes a ding noise, and nothing more.
    Some help plz... =)

    I just put
    public static final long serialVersionUID = 1L; in all my classes and now I get the following....:
    I:\Documents and Settings\Universidad\Mis documentos\ObjCreator v1.0>javac -Xlint ObjCreatorV1.java
    .\Point.java:58: warning: [deprecation] readLine() in java.io.DataInputStream has been deprecated inLine=dis.readLine();
              ^
    .\Cube.java:38: warning: [deprecation] readLine() in java.io.DataInputStream has been deprecated inLine=dis.readLine();
              ^
    .\SimpleLine.java:33: warning: [deprecation] readLine() in java.io.DataInputStream has been deprecated inLine=dis.readLine();
              ^
    .\Line.java:35: warning: [deprecation] readLine() in java.io.DataInputStream has been deprecated inLine=dis.readLine();
              ^
    .\Pyramid.java:35: warning: [deprecation] readLine() in java.io.DataInputStream has been deprecated inLine=dis.readLine();
              ^
    .\Cone2.java:80: warning: [deprecation] readLine() in java.io.DataInputStream has been deprecated inLine=dis.readLine();
              ^
    .\Cylinder1.java:88: warning: [deprecation] readLine() in java.io.DataInputStream has been deprecated inLine=dis.readLine();
              ^
    .\Plane.java:35: warning: [deprecation] readLine() in java.io.DataInputStream has been deprecated inLine=dis.readLine();
              ^
    .\PlaneV.java:33: warning: [deprecation] readLine() in java.io.DataInputStream has been deprecated inLine=dis.readLine();
              ^
    .\PlaneH.java:33: warning: [deprecation] readLine() in java.io.DataInputStream has been deprecated inLine=dis.readLine();
              ^
    .\PlaneP.java:31: warning: [deprecation] readLine() in java.io.DataInputStream has been deprecated inLine=dis.readLine();
              ^
    .\Parallelepiped.java:32: warning: [deprecation] readLine() in java.io.DataInputStream has been deprecated inLine=dis.readLine();
              ^
    .\Prisma6.java:31: warning: [deprecation] readLine() in java.io.DataInputStream has been deprecated inLine=dis.readLine();
              ^
    13 warningspfffff
    I also tried to use
    BufferedReader dis = new BufferedReader(new InputStreamReader(in));But that gives me errors that i can´t solve either...
    help...... :S
    Edited by: epp1227 on Mar 18, 2009 4:46 AM

  • Problem while compile ffdshow

    Hi dears:
       While I compile the project ffdshow which downloaded from the www.SourceForge.net, I receive the message like that:
    Assembling .\src\xvid\image\x86_asm\yv12_to_yuyv_mmx.asm
    Invalid keyboard code specified
    nasm: fatal: unable to open input file `.\src\xvid\image\x86_asm\yv12_to_yuyv_mmx.asm'
    Error executing c:\windows\system32\cmd.exe.
    ffdshow.ax - 1 error(s), 0 warning(s)
    I don't know how to solve it , could anyone tell me why? and the address of this project is http://heanet.dl.sourceforge.net/sourceforge/ffdshow/ffdshow-20020617-src.zip, I use vc 6.0 in winxp.
    Thanks.
                                                                                                                                   yicship
    Message Edited by yicship on 07-22-2005 12:38 AM
    Message Edited by yicship on 07-22-2005 12:40 AM

    Yicship,
    Are you attempting to use this project in Measurement Studio?  This discussion forum is for National Instrument's Measurement Studio applications.  If you are having trouble with this project, I suggest you search for information on SourceForge.Net.  You may get better results posting on a general purpose Visual Studio forum.
    Regards,
    Tyler T.

Maybe you are looking for