Closed jonygli closed 7 years ago
the pb.* files are likely out of date. Make sure to merge the caffe changes in caffe_mods/ then rebuild the pb.* files.
so, it seems it even can't compile and build on ubuntu...
It should build on ubuntu, what errors are you getting?
I use this software on Ubuntu exclusively. You can build it on Ubuntu. Can you be more specific about your errors?
I mainly work on windows, sorry if i missed something. I retried it by the following steps:
cd
(change dir to home)~$ git clone https://github.com/xbpeng/DeepTerrainRL.git
~/DeepTerrainRL$ premake4 gmake
~/DeepTerrainRL/external/caffe$ make
src/caffe/net.cpp:8:18: fatal error: hdf5.h: No such file or directory
I suppose this make will cause it regenerate pb.h. If I didn't make caffe, dirrectly make DeepTerrainRL, it will report "caffe.pb.h generated by an older version of protoc "~/DeepTerrainRL$ make
external/caffe/include/caffe/util/hdf5.hpp:6:18: fatal error: hdf5.h: No such file or directorythen, I checked it in the extracted 'external', it is '4rdparty'! while in the premake4.lua, it is 3rdparty!
I renamed it to 3rdparty, make again with the following:
~/DeepTerrainRL$ make
external/3rdparty/include/unistd.h:10:16: fatal error: io.h: No such file or directory
it seems the provided 'external' is not the latest?
You might need to be a bit careful with the caffe changes, just replacing the files might cause problems since they are probably a bit out of date (especially caffe.proto). You should instead merge the changes with the latest version in caffe. The relevant changes are mostly related to memory_data_layer.
re: external/3rdparty/include/unistd.h:10:16: fatal error: io.h: No such file or directory
I seem to have this file on my system from some other library I installed.
It seems that for hdf5 you should no be using the files in the include folder. You should install these libraries using apt-get as instructed in the readme. Most of the 3rdPartyLibraries are not used on Linxus in the folder. THey are installed.
any luck figuring out that error?
not yet, I guess premake4.lua needs some update.
Do you make this successfully? where is the MakeFile files?
no, I haven't made it successfully. premake4 can generate makefile.
@jonygli I almost meet the same questions you met, I don't know how to do, do you have any suggestion?