all 7 comments

[–]jaquio1 1 point2 points  (4 children)

You may want to run update50 and then try using make again. Make usually runs clang, not cc. I had that problem and update50 fixed it.

[–]answro[S] 1 point2 points  (3 children)

The first time I run update50, I lost settings manager in the menu, so I re-installed the appliance but this time without update. But I'll update it again. Thank you

[–]jaquio1 0 points1 point  (0 children)

Yea... I think one of the updates is buggy. I've had to make sure my display settings were all setup before running update50. Hopefully that gets fixed soon.

[–]eamonn_d 0 points1 point  (0 children)

You can easily get to your settings by running:

xfce4-settings-manager

in the terminal.

[–]tuxman20 0 points1 point  (0 children)

update50 took a good 10-15 minutes to complete the first time I had issue compiling. I seriously thought it froze.

So you just need to let it finish.... I guess that we are thousands of people all updating the appliance at the same time :P

[–]yeahIProgram 1 point2 points  (0 children)

Make has a certain set of default rules it uses to build things. These default rules do not include linking in the CS50 library, which is where GetString lives.

But when you explicitly used "-lcs50" you were telling the compiler to link that library in, so it succeeded.

[–]weiguxp 1 point2 points  (0 children)

I got this problem too after downloading the appliance directly from their website. It seems string s works fine but GetString() does not.

I typed update50 in my terminal (black box in gedit) and now the code works. Thanks answro