Build Swig-wrapper erro [Could NOT find APR (missing: APR_LIBRARIES APR_INCLUDE_DIRS)]

882 views
Skip to first unread message

Aaron Zhang

unread,
Aug 7, 2015, 5:01:22 AM8/7/15
to UniMRCP, Aaron Zhang
I got following error when I build Swig-wrapper
------------------------------------------------------------------------------------------
$ cmake .
-- Building UniMRCP wrapper version [0.4.5]
-- Dynamic APR library not found, trying static
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:138 (message):
  Could NOT find APR (missing: APR_LIBRARIES APR_INCLUDE_DIRS)
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:374 (_FPHSA_FAILURE_MESSAGE)
  FindAPR.cmake:141 (find_package_handle_standard_args)
  CMakeLists.txt:142 (find_package)

-- Configuring incomplete, errors occurred!
------------------------------------------------------------------------------------------

Arsen Chaloyan

unread,
Aug 7, 2015, 9:47:40 PM8/7/15
to UniMRCP
You may need to provide full paths to APR(U) include directories and library files. For example,

$ cmake -D APR_LIBRARY=/usr/local/apr/lib/libapr-1.so -D APR_INCLUDE_DIR=/usr/local/apr/include/apr-1 -D APU_LIBRARY=/usr/local/apr/lib/libaprutil-1.so -D APU_INCLUDE_DIR=/usr/local/apr/include/apr-1

--
You received this message because you are subscribed to the Google Groups "UniMRCP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to unimrcp+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Arsen Chaloyan
Author of UniMRCP
http://www.unimrcp.org

Aaron Zhang

unread,
Aug 8, 2015, 7:52:54 AM8/8/15
to UniMRCP
Thank you very much! 
It worked.
Reply all
Reply to author
Forward
0 new messages