Created
January 30, 2016 14:50
-
-
Save hughperkins/da764a09b37a84e67684 to your computer and use it in GitHub Desktop.
loadcaffe build and run output
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ubuntu:~/git/loadcaffe$ echo $CC | |
gcc-4.9 | |
ubuntu:~/git/loadcaffe$ luarocks make loadcaffe-1.0-0.rockspec | |
cmake -E make_directory build; | |
cd build; | |
cmake .. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_PREFIX_PATH="/home/ubuntu/torch/install/bin/.." -DCMAKE_INSTALL_PREFIX="/home/ubuntu/torch/install/lib/luarocks/rocks/loadcaffe/1.0-0"; | |
make | |
-- The C compiler identification is GNU 4.9.3 | |
-- The CXX compiler identification is GNU 4.9.3 | |
-- Check for working C compiler: /usr/bin/gcc-4.9 | |
-- Check for working C compiler: /usr/bin/gcc-4.9 -- works | |
-- Detecting C compiler ABI info | |
-- Detecting C compiler ABI info - done | |
-- Detecting C compile features | |
-- Detecting C compile features - done | |
-- Check for working CXX compiler: /usr/bin/g++-4.9 | |
-- Check for working CXX compiler: /usr/bin/g++-4.9 -- works | |
-- Detecting CXX compiler ABI info | |
-- Detecting CXX compiler ABI info - done | |
-- Detecting CXX compile features | |
-- Detecting CXX compile features - done | |
-- Found Torch7 in /home/ubuntu/torch/install | |
-- Looking for include file pthread.h | |
-- Looking for include file pthread.h - found | |
-- Looking for pthread_create | |
-- Looking for pthread_create - not found | |
-- Looking for pthread_create in pthreads | |
-- Looking for pthread_create in pthreads - not found | |
-- Looking for pthread_create in pthread | |
-- Looking for pthread_create in pthread - found | |
-- Found Threads: TRUE | |
-- Found PROTOBUF: /usr/lib/x86_64-linux-gnu/libprotobuf.so | |
-- Configuring done | |
-- Generating done | |
-- Build files have been written to: /home/ubuntu/git/loadcaffe/build | |
-- Found Torch7 in /home/ubuntu/torch/install | |
-- Configuring done | |
-- Generating done | |
-- Build files have been written to: /home/ubuntu/git/loadcaffe/build | |
[ 33%] Running C++ protocol buffer compiler on caffe.proto | |
Scanning dependencies of target loadcaffe | |
[ 66%] Building CXX object CMakeFiles/loadcaffe.dir/loadcaffe.cpp.o | |
[100%] Building CXX object CMakeFiles/loadcaffe.dir/caffe.pb.cc.o | |
Linking CXX shared module libloadcaffe.so | |
[100%] Built target loadcaffe | |
cd build && make install | |
[100%] Built target loadcaffe | |
Install the project... | |
-- Install configuration: "Debug" | |
-- Installing: /home/ubuntu/torch/install/lib/luarocks/rocks/loadcaffe/1.0-0/lib/libloadcaffe.so | |
-- Set runtime path of "/home/ubuntu/torch/install/lib/luarocks/rocks/loadcaffe/1.0-0/lib/libloadcaffe.so" to "$ORIGIN/../lib:/home/ubuntu/torch/install/lib" | |
-- Installing: /home/ubuntu/torch/install/lib/luarocks/rocks/loadcaffe/1.0-0/lua/loadcaffe/test.lua | |
-- Installing: /home/ubuntu/torch/install/lib/luarocks/rocks/loadcaffe/1.0-0/lua/loadcaffe/loadcaffe.lua | |
-- Installing: /home/ubuntu/torch/install/lib/luarocks/rocks/loadcaffe/1.0-0/lua/loadcaffe/init.lua | |
-- Installing: /home/ubuntu/torch/install/lib/luarocks/rocks/loadcaffe/1.0-0/lua/loadcaffe/ffi.lua | |
Updating manifest for /home/ubuntu/torch/install/lib/luarocks/rocks | |
loadcaffe 1.0-0 is now built and installed in /home/ubuntu/torch/install/ (license: BSD) | |
ubuntu:~/git/loadcaffe$ git log -n 5 --oneline | |
44aa6e0 Merge pull request #41 from nhynes/v2-oldsize | |
aa31868 Handle old blob size params in V2 model | |
14d8c94 Merge pull request #43 from nhynes/newcaffe-ipshape | |
6f28d18 Only observe kernel dims when in a conv layer | |
8b5f346 Update README.md | |
ubuntu:~/git/loadcaffe$ git status | |
On branch master | |
Your branch is up-to-date with 'origin/master'. | |
Changes not staged for commit: | |
(use "git add <file>..." to update what will be committed) | |
(use "git checkout -- <file>..." to discard changes in working directory) | |
modified: loadcaffe-1.0-0.rockspec | |
Untracked files: | |
(use "git add <file>..." to include in what will be committed) | |
build/ | |
no changes added to commit (use "git add" and/or "git commit -a") | |
ubuntu:~/git/loadcaffe$ git diff | |
diff --git a/loadcaffe-1.0-0.rockspec b/loadcaffe-1.0-0.rockspec | |
index dcd193b..5187f0a 100644 | |
--- a/loadcaffe-1.0-0.rockspec | |
+++ b/loadcaffe-1.0-0.rockspec | |
@@ -25,7 +25,7 @@ build = { | |
build_command = [[ | |
cmake -E make_directory build; | |
cd build; | |
-cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH="$(LUA_BINDIR)/.." -DCMAKE_INSTALL_PREFIX="$(PREFIX)"; | |
+cmake .. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_PREFIX_PATH="$(LUA_BINDIR)/.." -DCMAKE_INSTALL_PREFIX="$(PREFIX)"; | |
$(MAKE) | |
]], | |
install_command = "cd build && $(MAKE) install" | |
ubuntu:~/git/loadcaffe$ luajit -l loadcaffe | |
luajit: /home/ubuntu/torch/install/share/lua/5.1/loadcaffe/ffi.lua:10: /home/ubuntu/torch/install/lib/lua/5.1/libloadcaffe.so: undefined symbol: _ZNK6google8protobuf7Message11GetTypeNameEv | |
stack traceback: | |
[C]: in function 'load' | |
/home/ubuntu/torch/install/share/lua/5.1/loadcaffe/ffi.lua:10: in main chunk | |
[C]: in function 'dofile' | |
/home/ubuntu/torch/install/share/lua/5.1/torch/init.lua:49: in function 'include' | |
/home/ubuntu/torch/install/share/lua/5.1/loadcaffe/init.lua:3: in main chunk | |
[C]: at 0x0046b7a0 | |
[C]: at 0x00406670 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment