You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
原本CMake版本低有提示,升级到3.8后编译不过.
CMake 3.7.2 or higher is required. You are running version 3.5.1
错误信息如下:
make[3]: Entering directory '/opt/rt-n56u/trunk/user/trojan'
( mkdir -p trojan-1.16.0/build && cd trojan-1.16.0/build ;
CFLAGS="-O3 -ffunction-sections -fdata-sections" CXXFLAGS="-O3 -ffunction-sections -fdata-sections" LDFLAGS="-Wl,--gc-sections"
cmake -DCMAKE_TOOLCHAIN_FILE=../../cross-linux.cmake
-DENABLE_MYSQL=OFF
-DENABLE_NAT=ON
-DENABLE_REUSE_PORT=ON
-DENABLE_SSL_KEYLOG=ON
-DENABLE_TLS13_CIPHERSUITES=ON
-DFORCE_TCP_FASTOPEN=OFF
-DSYSTEMD_SERVICE=OFF
-DOPENSSL_USE_STATIC_LIBS=FALSE
-DBoost_DEBUG=OFF
-DBoost_NO_BOOST_CMAKE=ON
.. ;
)
CMake Warning at /usr/local/share/cmake-3.8/Modules/FindBoost.cmake:762 (message):
Imported targets not available for Boost version
Call Stack (most recent call first):
/usr/local/share/cmake-3.8/Modules/FindBoost.cmake:866 (_Boost_COMPONENT_DEPENDENCIES)
/usr/local/share/cmake-3.8/Modules/FindBoost.cmake:1457 (_Boost_MISSING_DEPENDENCIES)
CMakeLists.txt:39 (find_package)
CMake Warning at /usr/local/share/cmake-3.8/Modules/FindBoost.cmake:762 (message):
Imported targets not available for Boost version
Call Stack (most recent call first):
/usr/local/share/cmake-3.8/Modules/FindBoost.cmake:866 (_Boost_COMPONENT_DEPENDENCIES)
/usr/local/share/cmake-3.8/Modules/FindBoost.cmake:1457 (_Boost_MISSING_DEPENDENCIES)
CMakeLists.txt:39 (find_package)
CMake Error at /usr/local/share/cmake-3.8/Modules/FindBoost.cmake:1813 (message):
Unable to find the requested Boost libraries.
Unable to find the Boost header files. Please set BOOST_ROOT to the root
directory containing Boost or BOOST_INCLUDEDIR to the directory containing
Boost's headers.
Call Stack (most recent call first):
CMakeLists.txt:39 (find_package)
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
Boost_INCLUDE_DIR (ADVANCED)
used as include directory in directory /opt/rt-n56u/trunk/user/trojan/trojan-1.16.0
used as include directory in directory /opt/rt-n56u/trunk/user/trojan/trojan-1.16.0
used as include directory in directory /opt/rt-n56u/trunk/user/trojan/trojan-1.16.0
used as include directory in directory /opt/rt-n56u/trunk/user/trojan/trojan-1.16.0
used as include directory in directory /opt/rt-n56u/trunk/user/trojan/trojan-1.16.0
used as include directory in directory /opt/rt-n56u/trunk/user/trojan/trojan-1.16.0
used as include directory in directory /opt/rt-n56u/trunk/user/trojan/trojan-1.16.0
used as include directory in directory /opt/rt-n56u/trunk/user/trojan/trojan-1.16.0
虽然代码停更了, 发现bug还是发布吧.
添加内置trojan后编译出错, 去掉后可正常编译.
原本CMake版本低有提示,升级到3.8后编译不过.
CMake 3.7.2 or higher is required. You are running version 3.5.1
错误信息如下:
make[3]: Entering directory '/opt/rt-n56u/trunk/user/trojan'
( mkdir -p trojan-1.16.0/build && cd trojan-1.16.0/build ;
CFLAGS="-O3 -ffunction-sections -fdata-sections" CXXFLAGS="-O3 -ffunction-sections -fdata-sections" LDFLAGS="-Wl,--gc-sections"
cmake -DCMAKE_TOOLCHAIN_FILE=../../cross-linux.cmake
-DENABLE_MYSQL=OFF
-DENABLE_NAT=ON
-DENABLE_REUSE_PORT=ON
-DENABLE_SSL_KEYLOG=ON
-DENABLE_TLS13_CIPHERSUITES=ON
-DFORCE_TCP_FASTOPEN=OFF
-DSYSTEMD_SERVICE=OFF
-DOPENSSL_USE_STATIC_LIBS=FALSE
-DBoost_DEBUG=OFF
-DBoost_NO_BOOST_CMAKE=ON
.. ;
)
CMake Warning at /usr/local/share/cmake-3.8/Modules/FindBoost.cmake:762 (message):
Imported targets not available for Boost version
Call Stack (most recent call first):
/usr/local/share/cmake-3.8/Modules/FindBoost.cmake:866 (_Boost_COMPONENT_DEPENDENCIES)
/usr/local/share/cmake-3.8/Modules/FindBoost.cmake:1457 (_Boost_MISSING_DEPENDENCIES)
CMakeLists.txt:39 (find_package)
CMake Warning at /usr/local/share/cmake-3.8/Modules/FindBoost.cmake:762 (message):
Imported targets not available for Boost version
Call Stack (most recent call first):
/usr/local/share/cmake-3.8/Modules/FindBoost.cmake:866 (_Boost_COMPONENT_DEPENDENCIES)
/usr/local/share/cmake-3.8/Modules/FindBoost.cmake:1457 (_Boost_MISSING_DEPENDENCIES)
CMakeLists.txt:39 (find_package)
CMake Error at /usr/local/share/cmake-3.8/Modules/FindBoost.cmake:1813 (message):
Unable to find the requested Boost libraries.
Unable to find the Boost header files. Please set BOOST_ROOT to the root
directory containing Boost or BOOST_INCLUDEDIR to the directory containing
Boost's headers.
Call Stack (most recent call first):
CMakeLists.txt:39 (find_package)
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
Boost_INCLUDE_DIR (ADVANCED)
used as include directory in directory /opt/rt-n56u/trunk/user/trojan/trojan-1.16.0
used as include directory in directory /opt/rt-n56u/trunk/user/trojan/trojan-1.16.0
used as include directory in directory /opt/rt-n56u/trunk/user/trojan/trojan-1.16.0
used as include directory in directory /opt/rt-n56u/trunk/user/trojan/trojan-1.16.0
used as include directory in directory /opt/rt-n56u/trunk/user/trojan/trojan-1.16.0
used as include directory in directory /opt/rt-n56u/trunk/user/trojan/trojan-1.16.0
used as include directory in directory /opt/rt-n56u/trunk/user/trojan/trojan-1.16.0
used as include directory in directory /opt/rt-n56u/trunk/user/trojan/trojan-1.16.0
-- Configuring incomplete, errors occurred!
See also "/opt/rt-n56u/trunk/user/trojan/trojan-1.16.0/build/CMakeFiles/CMakeOutput.log".
Makefile:34: recipe for target 'configure' failed
make[3]: *** [configure] Error 1
make[3]: Leaving directory '/opt/rt-n56u/trunk/user/trojan'
Makefile:27: recipe for target 'config_test' failed
make[2]: *** [config_test] Error 2
make[2]: Leaving directory '/opt/rt-n56u/trunk/user/trojan'
Makefile:235: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/opt/rt-n56u/trunk/user'
Makefile:202: recipe for target 'user_only' failed
make: *** [user_only] Error 2
The text was updated successfully, but these errors were encountered: