1

I usually use Ubuntu instead of appliance for programming, cause I feel much more comfortable that way and Ubuntu is the OS I use everyday. For that reason, I have downloaded the C compiler and the cs50 library to ubuntu, and, so far, I have had no problems. But for the pset4 it's different. I have downloaded the src5m directory in appliance, then copied it to ubuntu, but when I run make (in Ubuntu) and then try to run one of the programs this is what I get

:~/Desktop/src5m$ make

make: Nothing to be done for 'all'.

:~/Desktop/src5m$ ./window

bash: ./window: Permission denied

It may have something to do with the -lcs linking command, as it seems that it can't find the linked file.

3
  • I guess the same, it may have problem linking cs50 library and the graphics library. Either pass them separately through command line or try writing your own Makefile that does that whole stuff for you.
    – sinister
    Nov 30, 2014 at 16:55
  • Unfortunately, compiling breakout outside of the appliance was an issue because of incompatibility issues related to the SPL. However, I had no troubles compiling it on appliance 19 and running it on Ubuntu. Make sure though that the executable file and the Ubuntu user have the correct permissions!
    – kzidane
    Nov 30, 2014 at 19:47
  • I followed the cs50 library download instructions here and was able to run pset4 in Ubuntu. Also, check that Java is installed.
    – Paul
    Dec 1, 2014 at 21:12

0

You must log in to answer this question.

Browse other questions tagged .