Thread: Library problem

    #1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2012
    Posts
    4
    Rep Power
    0

    Library problem


    hello there everyone, to be honest i'm not sure if this topic are supposed to be here, if its not then move it to somewhere appropriate

    regardless, here's the problem

    i am using windows 7 and recently downloaded jpeglib and libexif from sourceforge.net

    the problem is how do i install/set path to these two libraries
  2. #2
  3. Contributed User
    Devshed Specialist (4000 - 4499 posts)

    Join Date
    Jun 2005
    Posts
    4,417
    Rep Power
    1871
    Well it might be useful if you told us which programming language you're using, so it could be moved to a better forum.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2012
    Posts
    4
    Rep Power
    0
    oh its C/C++

    sorry bout that but if you happen to know how to solve the problem then i'll be very thankful
  6. #4
  7. Contributed User
    Devshed Specialist (4000 - 4499 posts)

    Join Date
    Jun 2005
    Posts
    4,417
    Rep Power
    1871
    Originally Posted by exif README-Win32.txt
    If this is a combined source/binary distribution tree, then you can find

    * the binary DLL in the subdirectory binary/bin/
    * the include files in the subdirectory binary/include/

    As for building libexif yourself on or for Win32, you can

    a) hack yourself a build system somehow
    This seems to be the Windows way of doing things.
    b) Use MinGW32

    If you use MinGW32 (including MSYS) on Windows, building libexif should
    follow the usual pattern of

    ./configure
    make
    make install

    as for any Unix like system and you can just follow the general
    instructions.

    Something neat to do is to use a MinGW32 cross compiler on a Unix
    system (Debian ships one for example). Then you can run

    ./configure --host=i586-mingw32msvc --disable-nls
    make
    make install

    If you want to build a combined source/binary distribution tarball/zipfile,
    then add the --enable-ship-binaries option to the ./configure command line.
    Not much help I'm afraid.
    You could search the maillist archive and maybe ask a question or two when you're done searching.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper
  8. #5
  9. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2012
    Posts
    4
    Rep Power
    0
    it works, i'm quite happy i manage to get the library however the library is in .A while i need it to be in either .dll or .lib

    i already did my search on google on how to convert from .A to .dll and i found this:

    "Place your rename your file from .A to .lib, place it along with the source files of the project.

    Now go to project's properties and in the vc++ include directories add the path of the header/include files for that lib."


    stackoverflow.com/questions/4396294/how-to-use-a-lib-files-with-visual-studio-2008

    and it doesn't work

    i'm using visual studion 2010 by the way

IMN logo majestic logo threadwatch logo seochat tools logo