BackyardBrains / Spike-Recorder

A neural recording app for the Windows, OS X (Mac) and Linux.
https://backyardbrains.com/products/spikerecorder
31 stars 27 forks source link

Problem Installing "Makefile:72: recipe for target 'src/widgets/LoadTexture.o' failed" #9

Closed webmanoffesto closed 7 years ago

webmanoffesto commented 7 years ago

I'm trying to install Backyard Brains' "Spike-Recorder". I have the dependencies installed, but I'm still getting an error.

~/Spike-Recorder$ apt-file search SDL_image.h
cmake-doc: /usr/share/doc/cmake-data/html/module/FindSDL_image.html
emscripten: /usr/share/emscripten/system/include/SDL/SDL_image.h
libsdl-image1.2-dev: /usr/include/SDL/SDL_image.h
libsdl2-image-dev: /usr/include/SDL2/SDL_image.h

$ ~/Spike-Recorder$ apt-cache policy libsdl2-devlibsdl2-dev:
  Installed: 2.0.4+dfsg2-1ubuntu1
  Candidate: 2.0.4+dfsg2-1ubuntu1
  Version table:
 *** 2.0.4+dfsg2-1ubuntu1 500
        500 http://us.archive.ubuntu.com/ubuntu yakkety/universe amd64 Packages
        100 /var/lib/dpkg/status

But I'm still having problems~/Spike-Recorder$ make

g++ -o src/widgets/LoadTexture.o -c src/widgets/LoadTexture.cpp -g -O2 -Isrc -Isupport -I. -Wall -DSIGSLOT_PURE_ISO --std=c++11 `sdl2-config --cflags`
src/widgets/LoadTexture.cpp:2:23: fatal error: SDL_image.h: No such file or directory
                       ^
compilation terminated.
Makefile:72: recipe for target 'src/widgets/LoadTexture.o' failed
make: *** [src/widgets/LoadTexture.o] Error 1

~/Spike-Recorder$ apt-file search SDL_image.h
cmake-doc: /usr/share/doc/cmake-data/html/module/FindSDL_image.html
emscripten: /usr/share/emscripten/system/include/SDL/SDL_image.h
libsdl-image1.2-dev: /usr/include/SDL/SDL_image.h
libsdl2-image-dev: /usr/include/SDL2/SDL_image.h

I'm running Ubuntu 16.10 Gnome

webmanoffesto commented 7 years ago

The problem seems to be a lot of undefined references You can see the full output here https://hastebin.com/ijevavebob.pas

webmanoffesto commented 7 years ago

A final version of the working code with an edited OBJECTS list in Makefile is here https://hastebin.com/lahapahule.tex