Wt构建示例失败

时间:2016-08-03 21:45:17

标签: c++

安装了Debian 8,C ++ 11和Boost库:

据我所知,这些例子一下子就建成了。

try_compile()我相信有一种方法可以启用.c文件(和.cpp),我认为我还没有这样做。

找不到密码 - 它正在寻找这个OpenSSL吗?

承认有罪:多年来我没有使用过C ++,我一直用PHP编写MVC框架脚本,但我想做更多真正的编程!

我使用apt安装了库,并且我在示例目录中使用Netbeans和默认的“来自现有源的新项目”。

这是cmake输出:

cd '/home/perry/NetBeansProjects/examples'
/usr/bin/cmake  -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_COMPILER=/usr/bin/gcc -DCMAKE_CXX_COMPILER=/usr/bin/g++ -DCMAKE_C_FLAGS_DEBUG="-g3 -gdwarf-2" -DCMAKE_CXX_FLAGS_DEBUG="-g3 -gdwarf-2" -DCMAKE_EXPORT_COMPILE_COMMANDS=ON
*** Not building widget gallery; C++11 required (gcc > 4.6 + set WT_CPP_11_MODE=-std=c++0x or MSVS >= 2012)
-- Looking for crypt
CMake Error at /usr/share/cmake-3.0/Modules/CheckFunctionExists.cmake:56 (try_compile):
  Unknown extension ".c" for file

    /usr/share/cmake-3.0/Modules/CheckFunctionExists.c

  try_compile() works only for enabled languages.  Currently these are:



  See project() command to enable other languages.
Call Stack (most recent call first):
  blog/CMakeLists.txt:30 (CHECK_FUNCTION_EXISTS)


-- Looking for crypt - not found
-- Looking for crypt in crypt
CMake Error at /usr/share/cmake-3.0/Modules/CheckLibraryExists.cmake:52 (try_compile):
  Unknown extension ".c" for file

    /usr/share/cmake-3.0/Modules/CheckFunctionExists.c

  try_compile() works only for enabled languages.  Currently these are:



  See project() command to enable other languages.
Call Stack (most recent call first):
  blog/CMakeLists.txt:32 (CHECK_LIBRARY_EXISTS)


-- Looking for crypt in crypt - not found
-- ** Not building codingview example: requires a multi-threaded build.
-- ** Not building broadcast feature example: requires a multi-threaded build.
-- ** Not building serverpush feature example: requires a multi-threaded build.
-- ** Not building socketnotifier feature example: requires a multi-threaded build.
-- ** hello-widget set example requires the built-in http... Skipping.
-- ** Not building filetreetable example: requires boost_filesystem library.
-- ** Not building gitmodel example: requires boost_filesystem library.
-- ** Not building mandelbrot example: requires Wt::WRasterImage.
-- ** Not building onethread example: requires a (ironically) a multi-threaded build.
-- ** Not building simplechat example: requires a multi-threaded build.
-- ** Not building style example: requires WRasterImage.
-- ** Not building wt-homepage example: requires boost_filesystem library.
-- ** Not building wtwithqt example.
--    wtwithqt example requires a Qt4 installation.
-- Configuring incomplete, errors occurred!
See also "/home/perry/NetBeansProjects/examples/CMakeFiles/CMakeError.log".

CMAKE FAILED (exit value 1, total time: 355ms)

0 个答案:

没有答案