Skip to content
This repository was archived by the owner on Jul 26, 2022. It is now read-only.
This repository was archived by the owner on Jul 26, 2022. It is now read-only.

Build Error when building CherryPi #28

@qWildManp

Description

@qWildManp

My compilation environment is windows10,CUDA Toolkit 10.2, python 3.7
cmake .. -DMSVC=true -DZMQ_LIBRARY="../3rdparty/zmq.lib" -DZMQ_INCLUDE_DIR="../3rdparty/libzmq/include" -DGFLAGS_LIBRARY="../3rdparty/gflags_static.lib" -DGFLAGS_INCLUDE_DIR="../3rdparty/gflags/build/include" -DGLOG_ROOT_DIR="../3rdparty/glog" -DCMAKE_CXX_FLAGS_RELEASE="/MP /EHsc" -G "Visual Studio 15 2017 Win64"
when using the command above to build CherryPi ,following problems occurred:

CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
LIB_glog
linked by target "common" in directory D:/Coding/TorchCraftAI/common
linked by target "cherrypi" in directory D:/Coding/TorchCraftAI/src
So I traced back to find waht happened and we found this error :
CMake Warning at CMakeLists.txt:81 (FIND_PACKAGE):
Found package configuration file:

D:/Coding/TorchCraftAI/3rdparty/glog/build/glog-config.cmake
but it set glog_FOUND to FALSE so package "glog" is considered to be NOT
FOUND. Reason given by package:

glog could not be found because dependency gflags could not be found.

I read the document that this build command may complain about missing GFLAGS_LIBRARY so I just continue to use the next command then the error occurred like this :

MSBUILD : error MSB1009: project file does not exist

It shows that we miss the file called CherryPi.sln . I think the missing may due to the failure build of the previous command. Could you please help me to solve this problem. Thx

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