Dave Barnes created GEODE-5736:
----------------------------------
Summary: Native Client examples: Build fails outside installed
product directory tree
Key: GEODE-5736
URL: https://issues.apache.org/jira/browse/GEODE-5736
Project: Geode
Issue Type: Bug
Components: docs, native client
Reporter: Dave Barnes
The file ../examples/cpp/BUILD-CPP-EXAMPLES.md (and its dotnet counterpart)
instructs the user to begin by copying the `examples` directory to the user's
own workspace.
When I do this, the Cmake configuration step fails with the following error:
```
cmake .. -DGEODE_ROOT=/Users/mydir/geode16
CMake Error at
/usr/local/Cellar/cmake/3.12.0/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:137
(message):
Could NOT find GeodeNative (missing: GeodeNative_CPP_LIBRARY
GeodeNative_CPP_INCLUDE_DIR) (found version "1.0")
Call Stack (most recent call first):
/usr/local/Cellar/cmake/3.12.0/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:378
(_FPHSA_FAILURE_MESSAGE)
/Users/mydir/ncextest/examples/cmake/FindGeodeNative.cmake:116
(FIND_PACKAGE_HANDLE_STANDARD_ARGS)
continuousquery/CMakeLists.txt:28 (find_package)
```
When I run the same command in place in my installed `examples` directory, it
works fine.
Two solutions come to mind:
* Fix the Cmake setup, or
* Just delete this step from the BUILDING.md file (easy, but copying the
directory is really a better practice)
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)