Menu

No .a file in library folders

JaeDyWolf
2011-03-16
2012-09-26
  • JaeDyWolf

    JaeDyWolf - 2011-03-16

    Heya, I'm fairly new to the technical side of C++ (Struggling in the tide of
    code is enough for me at the moment) but I'm particularly interested in a
    library I've found called "BigInteger." The link for it is here:

    https://mattmccutchen.net/bigint/

    I downloaded the uppermost file in the Resources section and used 7-Zip twice
    to obtain the files. Me being as inexperienced as I am regarding the
    filetypes, I've little idea where to put the files or how to use them in
    Dev-C++ (If it's possible at all!)

    After some browsing of this forum, I'd attempted to add the library via
    Project Options -> Parameters -> Add Library or Object, but I couldn't find
    any .a or .lib files amongst the download, and can't find any info regarding
    needing to do anything to the files.

    As far as the Big Three is concerned, I'm using Dev-C++ 4.9.9.2 with Windows
    Vista, and the example programs or compile logs aren't relevant.

    Much appreciated!

    ~JaeDyWolf

     
  • Steve A

    Steve A - 2011-03-16

    As far as the Big Three is concerned, I'm using Dev-C++ 4.9.9.2 with Windows
    Vista, and the example programs or compile logs aren't relevant.

    Unless you have Dev-C++ already working flawlessly on your Win-Vista system,
    are you aware that version 4.9.9.2 is nearly 6 years old and generally has
    many problems running on Vista and Win-7 ?
    I use Dev-C++ on XP, the last know OS that Dev-C++ is known to run correctly
    under.
    (with caveats)

    If you do have Dev-C++ running correctly on your Vista system, please
    enlighten us as to how you did it.

     
  • JaeDyWolf

    JaeDyWolf - 2011-03-16

    Well, I've double-checked and 4.9.9.2 is certainly what it says it is! I've
    also written a couple of programs that work (seemingly) fine, although I've
    yet to start trying out creating classes.

    If there are to be problems, are there any alternatives or any more recent
    releases of Dev-C++?

    Also, I don't think my problem appears to be with Dev-C++ itself... yet!

    ~JaeDyWolf

     
  • Steve A

    Steve A - 2011-03-16

    No, there are no newer releases of Dev-C++.
    Colin LaPlace, the developer has abandoned thie project.

    Most people looking for a free C++ compiler these days use either:
    1) Visual Studio Express or
    2) Code::Blocks with MingW.

     
  • JaeDyWolf

    JaeDyWolf - 2011-03-16

    I made an attempt with Code::Blocks but that was when I had TOTALLY started
    attempting C++... so yeah it'll be a while before I get sick of Dev-C++ and
    then start wandering the deserted plains of the non-confusing compiler world.

    ...But I digress. Please help with my library woes...!

    ~JaeDyWolf

     
  • Steve A

    Steve A - 2011-03-16

    Hey JaeDyWolf,
    Okay, assuming you have Dev-C++ working and that you have thoroughly tested it
    with some sample C/C++ programs and it is working to your satisfaction, I will
    proceed.

    Go back to the link that you provided and download the ".zip" file.
    That's the file for windows users.
    The other is for Linux/Unix users.

    Then using windows Wordpad, open and read the README file.
    There are no .LIB files.
    The documentation states that there are only C++ source file (.CC) and header
    files (.HH).
    You create your project folder and copy all those files into it.
    You then add the C++ files into your project and

    include the header files in your main program file.

    Read the docs for further instructions.

     
  • JaeDyWolf

    JaeDyWolf - 2011-03-17

    Oh, that is excellent! I understand a lot better now..! Here I was trying to
    drag an drop files and generally making a massiv mess out of everything...
    thank you for your help!

    Now all i have to do is try to sort out the "multiple main function" error i'm
    getting, but that's something I'm going to sort out tomorrow because I've been
    awake for far too long already today.

    Thank you again; very much appreciated!

    ~JaeDyWolf

     
  • Steve A

    Steve A - 2011-03-17

    I looked at the C++ (.CC) files, there are two (sample.cc and testsuite.cc)
    that contain their own main() functions.
    Those appear to be self contained programs and a project should be created
    around each of them.
    Check out the docs and comments.

    Any further questions you may have I would direct to the author or,
    at the C/C++ programming forum:
    http://cboard.cprogramming.com/

     
  • JaeDyWolf

    JaeDyWolf - 2011-03-17

    Wow, I must thank you a hell of a lot...! That's completely solved the
    problems and works great!

    Much, much, MUCH appreciated! <3

    ~JaeDyWolf

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.