CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Dec 2008
    Posts
    26

    Question build a static/dynamic library from a source code

    Hello.

    I have a source code ( http://ccxvii.net/mupdf/download/ ) and i want to compile it in a dynamic or static library.

    For the moment i think a static library would be easier, because i am not sure yet what functions i want to export.

    My approach is to create an empty visual studio 2008 project for a static library, import the source code and compile it in order to get the library.

    Unfortunately, the things didn't went so smooth ...
    I started to have a link of interminable errors so, at the end, i just wanted to ask you if my approach is good, or how should i build the library, having just the source code.
    Is it enough to import the code in a static library project and compile it ?

    Thanks in advance,
    D.M.

  2. #2
    Join Date
    Dec 2008
    Posts
    26

    Talking Re: build a static/dynamic library from a source code

    Meanwhile, I have decided to you use a build tool, JAM (and equivalent of make utility) ... so, wish me good luck !

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured