0

I am new to cs50 I have the virtual appliance on my pc, when I try to enter the command make hello-2 in geedit I get an error undefined reference to 'GetString'. My code seems to be correct I think the problem is I don't think I have the cs50 Library? I have been able to download the two files needed cs50.c and cs50.h . I have no clue where to put them can some one please tell me in simple terms how do I get the library to work??? I don't know if this makes a difference but in my terminal it comes up as jharvard@ubuntu: where as any videos I have seen it is normally jharvard@appliance? Can some one please help??? I would be forever grateful

thanks.

1
  • jharvard@ubuntu is for the newer 2014 appliance and jharvard@appliance is for 19 and older, so you're good.
    – pythonhax
    Commented Jan 13, 2015 at 23:09

1 Answer 1

5

Did you follow the instructions in pset1 that said to run update50 first? pset1

There's an update that will fix your gedit built-in terminal to use the correct compiler commands.

Also, jharvard@ubuntu is perfectly fine.

3
  • Thanks for getting back so quick trying it out now. One more question how long do I leave the update its been running for about an hour now and is still saying updating sources? Commented Jan 12, 2015 at 20:28
  • I know the first update can take a while. I'm not sure how long it should take though. Usually it's only a few minutes but I've heard others say it's taken a few hours (??!)
    – curiouskiwi
    Commented Jan 12, 2015 at 20:52
  • excellent it worked you are a life saver thanks ever so much. Commented Jan 12, 2015 at 21:50

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .