Menu

#4 Library usage

v1.0_(example)
open
nobody
5
2015-10-10
2015-07-09
sumit
No

Hi,
I just downloaded the library but struggling to build the source and use the dll/lib. Please guide me in building the source code of this library and use it in a stand alone c++ project.

Thanks
Sumit

Discussion

  • David Hoerl

    David Hoerl - 2015-07-09

    I'm a Mac guy, and the Windows dev is no longer active on the project. Given that we have over 100 downloads a week, mostly by Windows developers, it can't be that hard. I wish I could give you more assistance but I'm clueless how to do anything on Windows.

     
    • Roger Nelson

      Roger Nelson - 2015-07-09

      Sumit,
      Which compiler/development environment are you using?
      xlslib can be compiled in standalone app (I.e. not dependent on Excel).
      For Embarcadero BC++ I don't use the automake, rather I simply created a library project (solution) specifically for XLSLIB and add the xlslib source files 'by hand' then add the library to your app's project.

      For the BC++ compiler I did add some conditional compilation macros to get things to work (which is include in the SVN repository).
      I don't use Microsoft Studio, but I don't think there would be much need to massage the code.
      The few changes I had to make were to provide functions/macros/constants from Microsoft libraries that were
      not available in BC++.

      I have also compiled with xlslib with Qt (under Linux), I don't think I need to make any changes to the code.

       
  • sumit

    sumit - 2015-07-13

    Thanks for your help, after trying few things I was able to build that. Basically it was MSVC's settings that I had to adjust. It took some time but it worked.

    Thanks
    Sumit

     
  • David Hoerl

    David Hoerl - 2015-10-10

    Glad it worked out for you - closing this now.

     

Log in to post a comment.