You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@singa.apache.org by "wangwei (JIRA)" <ji...@apache.org> on 2016/11/19 13:13:58 UTC
[jira] [Updated] (SINGA-270) Installation error:
include/singa/proto/ is not in /usr/local/include
[ https://issues.apache.org/jira/browse/SINGA-270?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
wangwei updated SINGA-270:
--------------------------
Assignee: Xie Zhongle
> Installation error: include/singa/proto/ is not in /usr/local/include
> ---------------------------------------------------------------------
>
> Key: SINGA-270
> URL: https://issues.apache.org/jira/browse/SINGA-270
> Project: Singa
> Issue Type: Bug
> Environment: Linux (Ubuntu)
> Reporter: Moaz Reyad
> Assignee: Xie Zhongle
>
> When I install SINGA:
> ~/incubator-singa/build$ sudo make install
> [ 0%] Copying Protobuf headers
> [ 3%] Built target copy_protobuf
> [ 54%] Built target singa_objects
> [ 55%] Built target singa
> [ 57%] Built target gtest
> [ 94%] Built target test_singa
> [ 96%] Built target alexnet
> [100%] Built target _singa_wrap
> Install the project...
> -- Install configuration: ""
> -- Installing: /usr/local/include/singa
> -- Installing: /usr/local/include/singa/utils
> -- Installing: /usr/local/include/singa/utils/tinydir.h
> -- Installing: /usr/local/include/singa/utils/integer.h
> -- Installing: /usr/local/include/singa/utils/logging.h
> -- Installing: /usr/local/include/singa/utils/cuda_utils.h
> -- Installing: /usr/local/include/singa/utils/singleton.h
> -- Installing: /usr/local/include/singa/utils/factory.h
> -- Installing: /usr/local/include/singa/utils/safe_queue.h
> -- Installing: /usr/local/include/singa/utils/string.h
> -- Installing: /usr/local/include/singa/utils/opencl_utils.h
> -- Installing: /usr/local/include/singa/utils/timer.h
> -- Installing: /usr/local/include/singa/utils/channel.h
> -- Installing: /usr/local/include/singa/model
> -- Installing: /usr/local/include/singa/model/metric.h
> -- Installing: /usr/local/include/singa/model/optimizer.h
> -- Installing: /usr/local/include/singa/model/updater.h
> -- Installing: /usr/local/include/singa/model/loss.h
> -- Installing: /usr/local/include/singa/model/feed_forward_net.h
> -- Installing: /usr/local/include/singa/model/layer.h
> -- Installing: /usr/local/include/singa/model/initializer.h
> -- Installing: /usr/local/include/singa/io
> -- Installing: /usr/local/include/singa/io/transformer.h
> -- Installing: /usr/local/include/singa/io/decoder.h
> -- Installing: /usr/local/include/singa/io/snapshot.h
> -- Installing: /usr/local/include/singa/io/integer.h
> -- Installing: /usr/local/include/singa/io/encoder.h
> -- Installing: /usr/local/include/singa/io/writer.h
> -- Installing: /usr/local/include/singa/io/reader.h
> -- Installing: /usr/local/include/singa/io/network.h
> -- Installing: /usr/local/include/singa/core
> -- Installing: /usr/local/include/singa/core/common.h
> -- Installing: /usr/local/include/singa/core/device.h
> -- Installing: /usr/local/include/singa/core/memory.h
> -- Installing: /usr/local/include/singa/core/tensor.h
> -- Installing: /usr/local/include/singa/core/scheduler.h
> -- Installing: /usr/local/include/singa/singa_config.h
> -- Up-to-date: /usr/local/lib
> -- Installing: /usr/local/lib/libsinga.so
> It does not install everything. For example, "singa/proto" folder is not added in the folder /usr/local/include like the others above.
> This creates a problem if I try to use C++ and I include any file, for example memory.h, which has the line "#include "singa/proto/core.pb.h".
> I had to do "sudo cp -r build/include/singa/proto/ /usr/local/include/singa/" to pass this error, otherwise the compile fails:
> In file included from /usr/local/include/singa/io/encoder.h:24:
> In file included from /usr/local/include/singa/core/tensor.h:27:
> In file included from /usr/local/include/singa/core/device.h:30:
> /usr/local/include/singa/core/memory.h:24:10: fatal error:
> 'singa/proto/core.pb.h' file not found
> #include "singa/proto/core.pb.h"
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)