gloriousknight commented on issue #354:
URL: 
https://github.com/apache/rocketmq-client-cpp/issues/354#issuecomment-864700827


   hi, when I try this command `cmake -DCMAKE_BUILD_TYPE=Release 
-DCMAKE_INSTALL_PREFIX=/usr/local \
     -DLibevent_USE_STATIC_LIBS=ON -DJSONCPP_USE_STATIC_LIBS=OFF \
     -DBUILD_ROCKETMQ_STATIC=OFF -DBUILD_ROCKETMQ_SHARED=ON \
     -DRUN_UNIT_TEST=OFF ..`, new error occured:
   `Could NOT find Libevent (missing: LIBEVENT_EVENT_CONFIG_DIR
     LIBEVENT_EVENT_LIBRARY LIBEVENT_CORE_LIBRARY LIBEVENT_EXTRA_LIBRARY
     LIBEVENT_PTHREADS_LIBRARY) (Required is at least version "2.0.21")
   Call Stack (most recent call first):
     
/opt/homebrew/Cellar/cmake/3.20.4/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:594
 (_FPHSA_FAILURE_MESSAGE)`
   I have already used brew install libevent, and I don't know how to set 
LIBEVENT_EVENT_CONFIG_DIR etc. @ifplusor 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to