Thread: how to add libaries in c

  1. #1
    Registered User
    Join Date
    Apr 2009
    Posts
    16

    how to add libaries in c

    I don't know if you guys have had experience with the c matrix library meschach. I wanted to use it for matrix inverse/ multiplication etc. And I tried to follow their advice on: Meschach page on wwwmaths

    I downloaded the file and tried to run their configure file on a cygwin system and had some strange errors. (./configure: line 2: $'\r': command not found) I also tried with ubuntu and there was a configure: command not found error this time. Does anyone have experience with this library? Also in general how would you install a library?

  2. #2
    Registered User Cooloorful's Avatar
    Join Date
    Feb 2009
    Posts
    59
    Howz 'bout u tell me wut ur compliler iz n I cun tell u how 2 dewit?

  3. #3
    Registered User
    Join Date
    Apr 2009
    Posts
    16
    i'm using gnu gcc for both

  4. #4
    Registered User Cooloorful's Avatar
    Join Date
    Feb 2009
    Posts
    59
    -L/[path] -lmesch12b

  5. #5
    Registered User
    Join Date
    Apr 2009
    Posts
    16
    what's the path i need to put for
    -L/[path]
    ? my current directory?

  6. #6
    Registered User
    Join Date
    Sep 2004
    Location
    California
    Posts
    3,268
    Did you download their source code, or a compiled library? If you downloaded the library, there is no need to run their configure script.

  7. #7
    Registered User slingerland3g's Avatar
    Join Date
    Jan 2008
    Location
    Seattle
    Posts
    603
    Did you happen to read the FAQs on that site particularly section A5?

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Add a dialog box to a tab
    By axr0284 in forum Windows Programming
    Replies: 0
    Last Post: 01-10-2005, 08:38 AM
  2. can not add member error
    By WaterNut in forum Windows Programming
    Replies: 4
    Last Post: 12-02-2004, 01:18 PM
  3. VC++ Resources - Add Existing Item
    By EliMcGowan in forum Windows Programming
    Replies: 1
    Last Post: 08-30-2004, 02:51 PM
  4. Add user without interacting.
    By zahid in forum Linux Programming
    Replies: 3
    Last Post: 12-21-2002, 11:36 PM