Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

windows cmake problem #439

Closed
wangxianliang opened this issue Oct 31, 2015 · 5 comments
Closed

windows cmake problem #439

wangxianliang opened this issue Oct 31, 2015 · 5 comments

Comments

@wangxianliang
Copy link
Contributor

I put protobuf under the mxnet directory and successfully built the binary protoc.exe and set PROTOBUF_SRC_ROOT_FOLDER to .\mxnet\protobuf-master\install
however, when I configure mxnet project using cmake, it pops up the following errors:

Could NOT find PROTOBUF (missing: PROTOBUF_LIBRARY)
CMake Error at ps-lite/cmake/ProtoBuf.cmake:13 (message):
Could not find PROTOBUF Compiler
Call Stack (most recent call first):
ps-lite/CMakeLists.txt:16 (include)

Could anybody help? Thanks a lot.

@tqchen
Copy link
Member

tqchen commented Oct 31, 2015

You can disable the protobuf dep by simply not compile with ps-lite by default. @mli Maybe we want to switch off ps-lite dep on default compile on windows?

@loveisp
Copy link
Contributor

loveisp commented Oct 31, 2015

You can just uncheck the option "USE_DIST_KVSTORE" in CMake GUI. But this error is disgusting for me and take me a few hours.

@yajiedesign
Copy link
Contributor

use advanced mode ,you can set PROTOBUF_*.and it work ok

@wangxianliang
Copy link
Contributor Author

Thanks! advanced mode works for me.

@tqchen tqchen closed this as completed Nov 1, 2015
@cupermanrose
Copy link

@tqchen I had the same problem in windows.Can Mxnet compile with ps-lite\camke\ProtoBuf.cmake in windows now?(check the option"USE_DIST_KVSTORE")

jens-mueller-sociomantic added a commit to jens-mueller-sociomantic/mxnet that referenced this issue Apr 10, 2019
https://github.com/apache/incubator-mxnet/releases/tag/1.3.1

This updates to MXNet 1.3.1. We are skipping 1.2.x because they
indirectly reference missing commits. The update to 1.3.0 is skipped
because there is already the patched version 1.3.1 available.

The conflicts in `.gitmodules` are manually resolved to keep our
beaver and makd dependencies. For all other conflicts their version was
picked all the time.

To see our changes with respect to upstream MXNet diff against the MXNet
1.3.1 tag, i.e., `git diff 1.3.1..HEAD`.

* 3rdparty/dmlc-core e9446f5(e9446f5)...0a0e8ad(0a0e8ad) (41 commits)
  > Add OMPException class and use it for Text Parser (apache#445)
  > Fix build problem on windows (apache#450)
  > switch to safe_load for kubernetes config load (apache#449)
  > Add S3_IS_AWS env and fixed non-AWS behavior (apache#444)
  > add error message for s3 list (apache#439)
  (...)

* 3rdparty/mkldnn 0e7ca738(0e7ca738)...0e7ca738(0e7ca738) (99 commits)
  > build: bumped version to v0.14 in readme
  > build: bumped version to v0.14
  > cpu: reorder: start using jit uni for 8x8 transposition
  > cpu: reorder: jit uni: add 8x8 kernel
  > cpu: reorder: enable jit uni reorder
  (...)

* 3rdparty/mshadow a8c650c(a8c650c)...8a9e337(8a9e337) (9 commits)
  > Merge pull request apache#358 from eric-haibin-lin/revert
  > Merge pull request apache#357 from azai91/revert/d68d3
  > Merge pull request apache#356 from szha/omp
  > Add half_t support for batch_dot.  (apache#353)
  > Allow large array operation in MXNet (apache#348)
  (...)

* 3rdparty/onnx-tensorrt ()...3d8ee04(3d8ee04) (1 commits)
  > Refactor onnxGetBackendInfo (apache#39)

* 3rdparty/ps-lite v1+144(a6dda54)...v1+146(8a76389) (1 commits)
  > Merge pull request apache#133 from CodingCat/turn_up_down

* 3rdparty/tvm v0.3+434(90db723)d...v0.3+434(90db723)d (1 commits)
  > [FRONTEND] A Python hybrid frontend (apache#1251)
jens-mueller-sociomantic added a commit to jens-mueller-sociomantic/mxnet that referenced this issue Apr 12, 2019
https://github.com/apache/incubator-mxnet/releases/tag/1.3.1

This updates to MXNet 1.3.1. We are skipping 1.2.x because they
indirectly reference missing commits. The update to 1.3.0 is skipped
because there is already the patched version 1.3.1 available.

The conflicts in `.gitmodules` are manually resolved to keep our
beaver and makd dependencies. For all other conflicts their version was
picked all the time.

To see our changes with respect to upstream MXNet diff against the MXNet
1.3.1 tag, i.e., `git diff 1.3.1..HEAD`.

* 3rdparty/dmlc-core e9446f5(e9446f5)...0a0e8ad(0a0e8ad) (41 commits)
  > Add OMPException class and use it for Text Parser (apache#445)
  > Fix build problem on windows (apache#450)
  > switch to safe_load for kubernetes config load (apache#449)
  > Add S3_IS_AWS env and fixed non-AWS behavior (apache#444)
  > add error message for s3 list (apache#439)
  (...)

* 3rdparty/mkldnn 0e7ca738(0e7ca738)...0e7ca738(0e7ca738) (99 commits)
  > build: bumped version to v0.14 in readme
  > build: bumped version to v0.14
  > cpu: reorder: start using jit uni for 8x8 transposition
  > cpu: reorder: jit uni: add 8x8 kernel
  > cpu: reorder: enable jit uni reorder
  (...)

* 3rdparty/mshadow a8c650c(a8c650c)...8a9e337(8a9e337) (9 commits)
  > Merge pull request apache#358 from eric-haibin-lin/revert
  > Merge pull request apache#357 from azai91/revert/d68d3
  > Merge pull request apache#356 from szha/omp
  > Add half_t support for batch_dot.  (apache#353)
  > Allow large array operation in MXNet (apache#348)
  (...)

* 3rdparty/onnx-tensorrt ()...3d8ee04(3d8ee04) (1 commits)
  > Refactor onnxGetBackendInfo (apache#39)

* 3rdparty/ps-lite v1+144(a6dda54)...v1+146(8a76389) (1 commits)
  > Merge pull request apache#133 from CodingCat/turn_up_down

* 3rdparty/tvm v0.3+434(90db723)d...v0.3+434(90db723)d (1 commits)
  > [FRONTEND] A Python hybrid frontend (apache#1251)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants