[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Microsoft visual C++ compilation problems


Aris,

This may be a stupid question if I install MinFW to build the libs will I be able to link resultant dll with msvc projects ? Sure I could but don’t wantto run off on a fools errand

On 23/11/2016, 17:10, "Aris Adamantiadis" <aris@xxxxxxxxxxxx> wrote:

    Hi Mark,

    The first error is caused because VS2008 does not fully support c99. I
    think simply removing the broken include should work, we have
    alternatives to stdint.h at least in other include files.
    Which libssh version are you using? I couldn't map the line numbers to
    v0-7 or master. I think that the problem is caused by c99-style
    structure initializations. There are other places in libssh that use
    them and I'm not sure this can be easily fixed without losing the
    advantage of this 15 years-old C feature.

    Aris


    On 23/11/16 17:59, Mark Ramsden wrote:
    >
    > Hi.
    >
    >
    >
    > I am really stuck trying to build libssh on MSVC Visual Studio 9. I
    > have installed and built open ssl 1.0.1 and run cmake on lib ssh and
    > get a make file but now I have 2 problems.
    >
    >
    >
    > I get this error
    >
    >
    >
    > \src\external\blowfish.c(52) : fatal error C1083: Cannot open include
    > file: 'stdint.h': No such file or directory
    >
    >
    >
    >
    >
    > and also libcrypto will not compile
    >
    >
    >
    > 2>..\..\src\libcrypto.c(705) : error C2059: syntax error : '.'
    >
    > 2>..\..\src\libcrypto.c(731) : error C2059: syntax error : ','
    >
    > 2>..\..\src\libcrypto.c(742) : error C2059: syntax error : ','
    >
    > 2>..\..\src\libcrypto.c(753) : error C2059: syntax error : ','
    >
    > 2>..\..\src\libcrypto.c(800) : error C2059: syntax error : ','
    >
    > 2>..\..\src\libcrypto.c(811) : error C2059: syntax error : ','
    >
    > 2>..\..\src\libcrypto.c(822) : error C2059: syntax error : ','
    >
    > 2>..\..\src\libcrypto.c(835) : error C2059: syntax error : ','
    >
    > 2>..\..\src\libcrypto.c(846) : error C2059: syntax error : ','
    >
    > 2>..\..\src\libcrypto.c(857) : error C2059: syntax error : ','
    >
    > 2>..\..\src\libcrypto.c(862) : error C2059: syntax error : '}'
    >
    >
    >
    > I’, guessing this is because the Microsoft compiler is not allowing
    > the C like code.
    >
    >
    >
    > Has anybody come up against this or any ideas how I could fix this ?
    >
    >
    >
    > Any help would be gratefully received
    >
    >
    >
    > ESP Leisure
    > website <http://www.e-s-p.com/> facebook
    > <http://www.facebook.com/ESPLeisure> twitter
    > <http://twitter.com/ESPLeisure> LinkedIN
    > <http://www.linkedin.com/company/2284332>
    > Mark Ramsden
    > Systems Analyst
    > ESP Leisure Ltd
    >
    > Europa House, Kimpton Link Business Park, Kimpton Road, Sutton, Surrey
    > SM3 9QP
    > +44 (0)20 8251 5100
    > /
    > Winner of the Center Parcs Service and Product Innovation Award 2014/
    > This message may contain information that is not intended for you. If
    > you are not the addressee or if this message was sent to you in error,
    > you are requested to inform the sender and delete the message. ESP
    > Leisure, Registered in England (reg no 2550976) Registered office:
    > Europa House, Kimpton Link Business Park, Kimpton Road, Sutton, Surrey
    > SM3 9QP
    >





[ESP Leisure]
[website]<http://www.e-s-p.com/> [facebook] <http://www.facebook.com/ESPLeisure>  [twitter] <http://twitter.com/ESPLeisure>  [LinkedIN] <http://www.linkedin.com/company/2284332>
Mark Ramsden
Systems Analyst

ESP Leisure Ltd

Europa House, Kimpton Link Business Park, Kimpton Road, Sutton, Surrey SM3 9QP
+44 (0)20 8251 5100

[http://www.e-s-p.com/email_images/centerparcs_tiny.png]
Winner of the Center Parcs Service and Product Innovation Award 2014
This message may contain information that is not intended for you. If you are not the addressee or if this message was sent to you in error, you are requested to inform the sender and delete the message. ESP Leisure, Registered in England (reg no 2550976) Registered office: Europa House, Kimpton Link Business Park, Kimpton Road, Sutton, Surrey SM3 9QP


References:
Microsoft visual C++ compilation problemsMark Ramsden <Mark.Ramsden@xxxxxxxxx>
Re: Microsoft visual C++ compilation problemsAris Adamantiadis <aris@xxxxxxxxxxxx>
Archive administrator: postmaster@lists.cynapses.org