You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Dave Barnes (JIRA)" <ji...@apache.org> on 2018/09/13 20:17:00 UTC

[jira] [Updated] (GEODE-5736) Native Client examples: Build fails outside installed product directory tree

     [ https://issues.apache.org/jira/browse/GEODE-5736?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dave Barnes updated GEODE-5736:
-------------------------------
    Affects Version/s: 1.8.0

> 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
>    Affects Versions: 1.8.0
>            Reporter: Dave Barnes
>            Priority: Major
>
> 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)