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

Blake Bender resolved GEODE-5736.
---------------------------------
    Fix Version/s: 1.12.0
       Resolution: Fixed

Tried this on my Macbook this morning, and it works properly.  This issue is 
probably just very stale, given its age and the fact that, for example, the 
file /examples/cpp/BUILD-CPP-EXAMPLES.md no longer exists in the tree.

> 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
>             Fix For: 1.12.0
>
>
> 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
(v8.3.4#803005)

Reply via email to