No CMakeLists.txt in sub-folders

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.

No CMakeLists.txt in sub-folders

Postby ratin3 » Wed Apr 20, 2016 1:22 pm

Hi All, I am pretty new to CEF , trying to build the binary distribution, I downloaded and extractd the binary distribution cef_binary_3.2680.1395.g84fe790_linux64.7z on a ubuntu 14.04, 64 bit machine, made a build directory and cd'ed into it and ran "cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Debug ..", but no luck, cmake complains several makefiles are missing:

build# cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Debug ..
-- The C compiler identification is GNU 4.8.4
-- The CXX compiler identification is GNU 4.8.4
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Performing Test COMPILER_SUPPORTS_NO_UNUSED_LOCAL_TYPEDEFS
-- Performing Test COMPILER_SUPPORTS_NO_UNUSED_LOCAL_TYPEDEFS - Success
-- Performing Test COMPILER_SUPPORTS_NO_LITERAL_SUFFIX
-- Performing Test COMPILER_SUPPORTS_NO_LITERAL_SUFFIX - Success
-- Performing Test COMPILER_SUPPORTS_NO_NARROWING
-- Performing Test COMPILER_SUPPORTS_NO_NARROWING - Success
CMake Error at CMakeLists.txt:531 (add_subdirectory):
The source directory

/home/nlss/cef_binary_dist/libcef_dll

does not contain a CMakeLists.txt file.


CMake Error at CMakeLists.txt:532 (add_subdirectory):
The source directory

/home/nlss/cef_binary_dist/cefclient

does not contain a CMakeLists.txt file.


CMake Error at CMakeLists.txt:533 (add_subdirectory):
The source directory

/home/nlss/cef_binary_dist/cefsimple

does not contain a CMakeLists.txt file.


-- *** CONFIGURATION SETTINGS ***
-- Generator: Unix Makefiles
-- Platform: Linux
-- Project architecture: x86_64
-- Build type: Debug
-- Standard libraries: X11
-- Compiler definitions: __STDC_CONSTANT_MACROS;__STDC_FORMAT_MACROS;_FILE_OFFSET_BITS=64
-- C_FLAGS: -fno-strict-aliasing -fPIC -fstack-protector -funwind-tables -fvisibility=hidden --param=ssp-buffer-size=4 -pipe -pthread -Wall -Werror -Wno-missing-field-initializers -Wno-unused-parameter -m64 -march=x86-64 -std=c99 -Wno-unused-local-typedefs
-- C_FLAGS_DEBUG: -O0 -g
-- C_FLAGS_RELEASE: -O2 -fdata-sections -ffunction-sections -fno-ident -DNDEBUG -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2
-- CXX_FLAGS: -fno-strict-aliasing -fPIC -fstack-protector -funwind-tables -fvisibility=hidden --param=ssp-buffer-size=4 -pipe -pthread -Wall -Werror -Wno-missing-field-initializers -Wno-unused-parameter -m64 -march=x86-64 -fno-exceptions -fno-rtti -fno-threadsafe-statics -fvisibility-inlines-hidden -std=gnu++11 -Wsign-compare -Wno-literal-suffix -Wno-narrowing
-- CXX_FLAGS_DEBUG: -O0 -g
-- CXX_FLAGS_RELEASE: -O2 -fdata-sections -ffunction-sections -fno-ident -DNDEBUG -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2
-- EXE_LINKER_FLAGS: -fPIC -pthread -Wl,--disable-new-dtags -Wl,--fatal-warnings -Wl,-rpath,. -Wl,-z,noexecstack -Wl,-z,now -Wl,-z,relro -m64
-- EXE_LINKER_FLAGS_DEBUG:
-- EXE_LINKER_FLAGS_RELEASE: -Wl,-O1 -Wl,--as-needed -Wl,--gc-sections
-- SHARED_LINKER_FLAGS: -fPIC -pthread -Wl,--disable-new-dtags -Wl,--fatal-warnings -Wl,-rpath,. -Wl,-z,noexecstack -Wl,-z,now -Wl,-z,relro -m64
-- SHARED_LINKER_FLAGS_DEBUG:
-- SHARED_LINKER_FLAGS_RELEASE: -Wl,-O1 -Wl,--as-needed -Wl,--gc-sections
-- CEF Binary files: chrome-sandbox;libcef.so;natives_blob.bin;snapshot_blob.bin
-- CEF Resource files: cef.pak;cef_100_percent.pak;cef_200_percent.pak;cef_extensions.pak;devtools_resources.pak;icudtl.dat;locales
-- Configuring incomplete, errors occurred!
See also "/home/nlss/cef_binary_dist/build/CMakeFiles/CMakeOutput.log".

Should the CMakeList.txt files be in respected folders added by the main one?
ratin3
Techie
 
Posts: 22
Joined: Wed Apr 20, 2016 1:15 pm

Re: No CMakeLists.txt in sub-folders

Postby magreenblatt » Wed Apr 20, 2016 2:27 pm

Yes, the CMakeList.txt files should exist in sub-folders. Sounds like you figured out the problem with your 7z extraction flags.
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: No CMakeLists.txt in sub-folders

Postby ratin3 » Wed Apr 20, 2016 3:33 pm

magreenblatt wrote:Yes, the CMakeList.txt files should exist in sub-folders. Sounds like you figured out the problem with your 7z extraction flags.


yes I have, thanks, 7z -x <compressed file>
ratin3
Techie
 
Posts: 22
Joined: Wed Apr 20, 2016 1:15 pm


Return to Support Forum

Who is online

Users browsing this forum: Devyre, Google [Bot] and 75 guests