I'm struggling at the starting point of breakout in pset3. I've downloaded the breakout set using wget http://cdn.c50.net/2014/fall/lectures/4/m/scr4m.zip according to the CS50 2015 instruction. It was downloaded allright to my PC and I could upzip it. Then I did 'cd src4m', and found all of the programs listed in the breaking out from bounce.c to window.c. Then tried to compile window by keying in 'make window' without any modification to the original window.c.

The following shows all the steps from unzipping. Please note blue fatal errors message is in red in actual screen. enter image description here

It will be greatly appreciated if anyone could tell me how to solve this problem. As far as I searched the solution in this StackExchange, I did not see any clue to my problem.

Yoshi Watt

  • Are you using Appliance 2014 or v19? Commented Jul 22, 2015 at 14:41
  • Thanks, Virzen for your prompt inquiry. I'm using Applience50-19-0-vmware on my Windows 7 PC. Does this address your question correctly? Yoshi
    – Yoshi Watt
    Commented Jul 22, 2015 at 14:55
  • Indeed it does. Version 19 has no SPL library installed by default, since it is intended for 2013 version of the edX course. Commented Jul 22, 2015 at 15:11
  • Thanks, I thought V19 is the latest. What version, or any alternative should I use? Any other suggestions to get around would be appreciated. It is half past midnight here in Japan. Would like to go to bed. See you tomorrow! Yoshi
    – Yoshi Watt
    Commented Jul 22, 2015 at 15:35
  • I have written the proper answer. Commented Jul 22, 2015 at 15:51

1 Answer 1


You're using Appliance in version 19, which doesn't have SPL library installed by default. Since you're enrolled in the 2015 version of the course, you're meant to use the newest Appliance, which, among the other improvements, has SPL library installed by default.

You've got 2 options as to how to solve this issue:

  1. Install the newest Appliance - it will solve this and all the other ones potentially coming up because of the incompatibility with the course.

    You can find detailed instruction regarding the installation process here: https://manual.cs50.net/appliance/2014/#how_to_install_appliance.

    You have to install it from scratch, because the newest Appliance is based on another Linux distribution (Xubuntu, vs. old one being based on Fedora) and simple update from one to another is impossible.

  2. Compile and include SPL library manually - I wouldn't recommend it because of other issues potentially coming up later in the course. However, if you are under some constraints that do not let you dump you current installation of the Appliance, then it might be the better suited solution.

    Since the library installation process has been already described in another answer (Fatal error "spl/gwindow.h"), I'll just cite it here:

    [...] if you want to compile this files anyway, you need to find the last year source files for the spl library, you can download it from the terminal by running this command:

    wget http://cdn.cs50.net/2013/fall/lectures/5/m/src5m.zip

    Then you can compile the files in this package or if you want to compile the ones you have you need to copy in the scr4m/ folder, not only the spl folder you need to copy also the spl.jar file, and overwrite the Makefile with the one in src5m/. and change your include statment to:

    #include "gwindow.h"
  • I have the same problem and now the scr5m.zip is sitting in my home directory on my appliance desktop and I have no idea, what to do with it. Can someone please help? Commented Jul 31, 2015 at 17:18
  • If your problem is the same, in what way does above solution not work? Commented Aug 2, 2015 at 13:59

You must log in to answer this question.

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