Skip to content

make cpu error #5

Closed
Closed

Description

@naxingyu

It happens when I make the CPU feature tools.
I downloaded the exact versions of protobuf and hdf5 as in the INSTALL but make gave error like this:
convnet_config.pb.h:17:2: error: #error This file was generated by an older version of protoc which is
convnet_config.pb.h:18:2: error: #error incompatible with your Protocol Buffer headers. Please
convnet_config.pb.h:19:2: error: #error regenerate this file with a newer version of protoc.

Please help.

Activity

  1. cbalint13 commented on Jul 21, 2014

    @cbalint13
    • Remove all of your convnet_config.pb.h and convnet_config.pb.cc from your local copy. Let than "make" regenerate them or regenerate tham manually.
  2. cbalint13 commented on Jul 21, 2014

    @cbalint13

    You could also check a "cmake"-zed version: #3

  3. naxingyu commented on Jul 22, 2014

    @naxingyu
    Author

    Thanks. I "make clean"ed the cpu dir and it didn't help. And how does the cmake version work? I made a "build" dir and generated the cmake files into it. But "make" in the "build" dir didn't work.

  4. zhuzhenyao commented on Jul 22, 2014

    @zhuzhenyao

    I also met with the problem. I followed the solution as below and fixed the problem. Hope it will help you.

    https://groups.google.com/forum/#!topic/protobuf-c/fM6FBX5C9oI

  5. cbalint13 commented on Jul 22, 2014

    @cbalint13

    In the source dir four steps:

    1. mkdir build
    2. cd build
    3. cmake ../
    4. make

    Thats all.

  6. naxingyu commented on Jul 22, 2014

    @naxingyu
    Author

    @andrewpig Nice, it works. Thank you.
    @cbalint13 Yes, that's exactly what I did.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions