error for compile cryptopp whit microsoft visual 2003

Results 1 to 7 of 7
  1. #1
    Apprentice Tysor is offline
    MemberRank
    Sep 2012 Join Date
    13Posts

    error for compile cryptopp whit microsoft visual 2003

    Hello,

    I have a problem when I compile cryptopp he says:

    ps: I use microsoft visual 2003 and I followed the tutorial from emisand (http://forum.ragezone.com/f497/guide...e-code-796269/)

    ps²: i am french, sorry my english are bad

    Code:
    c:\Users\Kevin\Desktop\Cryptopp\Source\eccrypto.cpp(3): fatal error C1853: '.\Debug/cryptlib.pch' precompiled header file is from a previous version of the compiler, or the precompiled header is C++ and you are using it from C (or vice versa)
    c:\Users\Kevin\Desktop\Cryptopp\Source\zlib.cpp(8): fatal error C1853: '.\Debug/cryptlib.pch' precompiled header file is from a previous version of the compiler, or the precompiled header is C++ and you are using it from C (or vice versa)
    c:\Users\Kevin\Desktop\Cryptopp\Source\zinflate.cpp(8): fatal error C1853: '.\Debug/cryptlib.pch' precompiled header file is from a previous version of the compiler, or the precompiled header is C++ and you are using it from C (or vice versa)
    c:\Users\Kevin\Desktop\Cryptopp\Source\elgamal.cpp(3): fatal error C1853: '.\Debug/cryptlib.pch' precompiled header file is from a previous version of the compiler, or the precompiled header is C++ and you are using it from C (or vice versa)
    c:\Users\Kevin\Desktop\Cryptopp\Source\esign.cpp(3): fatal error C1853: '.\Debug/cryptlib.pch' precompiled header file is from a previous version of the compiler, or the precompiled header is C++ and you are using it from C (or vice versa)
    c:\Users\Kevin\Desktop\Cryptopp\Source\fipstest.cpp(3): fatal error C1853: '.\Debug/cryptlib.pch' precompiled header file is from a previous version of the compiler, or the precompiled header is C++ and you are using it from C (or vice versa)
    c:\Users\Kevin\Desktop\Cryptopp\Source\dh.cpp(3): fatal error C1853: '.\Debug/cryptlib.pch' precompiled header file is from a previous version of the compiler, or the precompiled header is C++ and you are using it from C (or vice versa)
    c:\Users\Kevin\Desktop\Cryptopp\Source\luc.cpp(3): fatal error C1853: '.\Debug/cryptlib.pch' precompiled header file is from a previous version of the compiler, or the precompiled header is C++ and you are using it from C (or vice versa)
    c:\Users\Kevin\Desktop\Cryptopp\Source\gzip.cpp(3): fatal error C1853: '.\Debug/cryptlib.pch' precompiled header file is from a previous version of the compiler, or the precompiled header is C++ and you are using it from C (or vice versa)
    c:\Users\Kevin\Desktop\Cryptopp\Source\rsa.cpp(3): fatal error C1853: '.\Debug/cryptlib.pch' precompiled header file is from a previous version of the compiler, or the precompiled header is C++ and you are using it from C (or vice versa)
    c:\Users\Kevin\Desktop\Cryptopp\Source\mqv.cpp(3): fatal error C1853: '.\Debug/cryptlib.pch' precompiled header file is from a previous version of the compiler, or the precompiled header is C++ and you are using it from C (or vice versa)
    c:\Users\Kevin\Desktop\Cryptopp\Source\dsa.cpp(3): fatal error C1853: '.\Debug/cryptlib.pch' precompiled header file is from a previous version of the compiler, or the precompiled header is C++ and you are using it from C (or vice versa)
    c:\Users\Kevin\Desktop\Cryptopp\Source\gfpcrypt.cpp(3): fatal error C1853: '.\Debug/cryptlib.pch' precompiled header file is from a previous version of the compiler, or the precompiled header is C++ and you are using it from C (or vice versa)
    And when I open cryptlib.vcproj he displays this:



    Thank you for trying to help me ...


  2. #2
    Member qqq1 is offline
    MemberRank
    Apr 2011 Join Date
    koreaLocation
    73Posts

    Re: error for compile cryptopp whit microsoft visual 2003

    clean + rebuild
    you don't know
    add me skype : jodangue

  3. #3
    Valued Member lil_Homie is offline
    MemberRank
    May 2010 Join Date
    134Posts

    Re: error for compile cryptopp whit microsoft visual 2003

    tht wont help. You need to rebuild cryptopp and follow the cryptopp steps according to emisands guide. Then you can compiled successfully.

  4. #4
    Apprentice Tysor is offline
    MemberRank
    Sep 2012 Join Date
    13Posts

    Re: error for compile cryptopp whit microsoft visual 2003

    I have successfully build / release

    Now I have a problem with Gunz.sln, he said:

    The selected file is a Visual Studio solution file, order was created by a newer version of Visual Studio and can not be opened.

    Thank you!

  5. #5
    Valued Member lil_Homie is offline
    MemberRank
    May 2010 Join Date
    134Posts

    Re: error for compile cryptopp whit microsoft visual 2003

    are u sure u have microsoft visual studio C++ 2003? cuz 1 time i took me awhile before i noticed i was using the wrong program lol. Was using vb instead of C++ XD, check and make sure dude.

  6. #6
    Gunz General Develop Gun[Lengend] is offline
    MemberRank
    Jan 2010 Join Date
    Gunz Viet NamLocation
    312Posts

    Re: error for compile cryptopp whit microsoft visual 2003

    Using Visual Studio 2003.NET :D
    Are you sure that you are using VS 2003 ?

  7. #7
    Apprentice Tysor is offline
    MemberRank
    Sep 2012 Join Date
    13Posts

    Re: error for compile cryptopp whit microsoft visual 2003

    Yes i use microsoft visual 2003 .NET




Advertisement