Coder Social home page Coder Social logo

install error? about clstm HOT 4 CLOSED

tmbdev avatar tmbdev commented on July 20, 2024
install error?

from clstm.

Comments (4)

tmbdev avatar tmbdev commented on July 20, 2024

You probably have a clstm.pb.cc file but deleted the clstm.pb.h file. The build system doesn't catch that situation because it assumes that clstm.pb.cc is the only file created from clstm.proto; the .h file just sort of rides along.

Try running "scons -c && scons && sudo scons install"

If anybody knows how to write a better self-contained "protoc" rule, please let me know.

from clstm.

adnanulhasan avatar adnanulhasan commented on July 20, 2024

After running scons -c && scons && sudo scons install, I'm having the following output:
scons -c && scons && sudo scons install
scons: Reading SConscript files ...
version a636e05
scons: done reading SConscript files.
scons: Cleaning targets ...
Removed clstm.o
Removed clstm.pb.cc
Removed clstm.pb.o
Removed clstm_prefab.o
Removed clstm_proto.o
Removed clstmfilter.o
Removed ctc.o
scons: done cleaning targets.
scons: Reading SConscript files ...
version a636e05
scons: done reading SConscript files.
scons: Building targets ...
g++ --std=c++11 -Wno-unused-result -o clstm.o -c -g -O3 -finline -g -DHGVERSION="a636e050aff866e991e0abd27d6389c17c8d0824" -DNODISPLAY=1 -DTHROW=throw -I/usr/include/eigen3 clstm.cc
protoc(["clstm.pb.cc"], ["clstm.proto"])
g++ --std=c++11 -Wno-unused-result -o clstm.pb.o -c -g -O3 -finline -g -DHGVERSION="a636e050aff866e991e0abd27d6389c17c8d0824" -DNODISPLAY=1 -DTHROW=throw -I/usr/include/eigen3 clstm.pb.cc
g++ --std=c++11 -Wno-unused-result -o clstm_prefab.o -c -g -O3 -finline -g -DHGVERSION="a636e050aff866e991e0abd27d6389c17c8d0824" -DNODISPLAY=1 -DTHROW=throw -I/usr/include/eigen3 clstm_prefab.cc
g++ --std=c++11 -Wno-unused-result -o clstm_proto.o -c -g -O3 -finline -g -DHGVERSION="a636e050aff866e991e0abd27d6389c17c8d0824" -DNODISPLAY=1 -DTHROW=throw -I/usr/include/eigen3 clstm_proto.cc
g++ --std=c++11 -Wno-unused-result -o clstmfilter.o -c -g -O3 -finline -g -DHGVERSION="a636e050aff866e991e0abd27d6389c17c8d0824" -DNODISPLAY=1 -DTHROW=throw -I/usr/include/eigen3 clstmfilter.cc
g++ --std=c++11 -Wno-unused-result -o ctc.o -c -g -O3 -finline -g -DHGVERSION="a636e050aff866e991e0abd27d6389c17c8d0824" -DNODISPLAY=1 -DTHROW=throw -I/usr/include/eigen3 ctc.cc
g++ --std=c++11 -Wno-unused-result -o extras.o -c -g -O3 -finline -g -DHGVERSION="a636e050aff866e991e0abd27d6389c17c8d0824" -DNODISPLAY=1 -DTHROW=throw -I/usr/include/eigen3 extras.cc
extras.cc:372:17: fatal error: png.h: No such file or directory
#include <png.h>
^
compilation terminated.
scons: *** [extras.o] Error 1
scons: building terminated because of errors.

from clstm.

tmbdev avatar tmbdev commented on July 20, 2024

You need to install the PNG development libraries (libpng12-dev on Ubuntu 15.04). I had left that out of the instructions.

from clstm.

andyyuan78 avatar andyyuan78 commented on July 20, 2024

scons -c && scons && sudo scons install works

from clstm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.