Error in calling cmake on Mac

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

Error in calling cmake on Mac

Postby ddutta » Wed Nov 06, 2019 6:44 am

I followed the instructions in CMakeLists.txt.in for Mac but it fails-
CMake Error: The source directory "/Users/mymac/Desktop/CEF/master" does not appear to contain CMakeLists.txt.


So, I rename CMakeLists.txt.in to CMakeLists.txt and now it fails with below output-

cmake -G "Xcode" -DPROJECT_ARCH="x86_64" ..
CMake Error at CMakeLists.txt:187 (find_package):
By not providing "FindCEF.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "CEF", but
CMake did not find one.

Could not find a package configuration file provided by "CEF" with any of
the following names:

CEFConfig.cmake
cef-config.cmake

Add the installation prefix of "CEF" to CMAKE_PREFIX_PATH or set "CEF_DIR"
to a directory containing one of the above files. If "CEF" provides a
separate development package or SDK, be sure it has been installed.


-- Configuring incomplete, errors occurred!
See also "/Users/mymac/Desktop/CEF/master/build/CMakeFiles/CMakeOutput.log".



Not sure what am I doing wrong?
ddutta
Newbie
 
Posts: 5
Joined: Thu Mar 14, 2019 3:48 am

Re: Error in calling cmake on Mac

Postby magreenblatt » Wed Nov 06, 2019 11:35 am

You need to download a binary distribution from http://opensource.spotify.com/cefbuilds/index.html or use the sample project at https://bitbucket.org/chromiumembedded/ ... rc/master/.
magreenblatt
Site Admin
 
Posts: 12383
Joined: Fri May 29, 2009 6:57 pm


Return to Support Forum

Who is online

Users browsing this forum: No registered users and 48 guests