ibraries in C++

This is a discussion on ibraries in C++ within the C++ Programming forums, part of the General Programming Boards category; Hi all, I have a library in C++ which is targeted for linux platform. Although, it's author say that with ...

  1. #1
    Registered User
    Join Date
    Oct 2009
    Posts
    7

    ibraries in C++

    Hi all,

    I have a library in C++ which is targeted for linux platform. Although, it's author say that with some modifications, it can be built in windows.
    Now, this library needs another C++ library which does support windows, and i hav also successfully built it using VC++.

    Now, how do I use the linux based library in windows?

    Including the source code files directly into VC++ is not working. It's not recognizing the header files present and throwing syntax errors as if it's not C++ at all..


    Regards,

    Abhijit

  2. #2
    Registered User
    Join Date
    Sep 2004
    Location
    California
    Posts
    3,246
    Quote Originally Posted by abhipro View Post
    Hi all,

    I have a library in C++ which is targeted for linux platform. Although, it's author say that with some modifications, it can be built in windows.
    Now, this library needs another C++ library which does support windows, and i hav also successfully built it using VC++.

    Now, how do I use the linux based library in windows?

    Including the source code files directly into VC++ is not working. It's not recognizing the header files present and throwing syntax errors as if it's not C++ at all..


    Regards,

    Abhijit
    The library is probably including headers which only exist on Linux -- not Windows. It's hard to give more info without seeing the code or the errors though.
    bit∙hub [bit-huhb] n. A source and destination for information.

Popular pages Recent additions subscribe to a feed

Tags for this Thread


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21