The following warnings occurred:
Warning [2] Trying to access array offset on null - Line: 198 - File: inc/plugins/google_seo.php PHP 8.3.36 (Linux)
File Line Function
/inc/class_error.php 157 errorHandler->error
/inc/plugins/google_seo.php 198 errorHandler->error_callback
/inc/plugins/google_seo/redirect.php 131 google_seo_tid
/inc/class_plugins.php 142 google_seo_redirect_hook
/global.php 100 pluginSystem->run_hooks
/showthread.php 28 require_once
Warning [2] Undefined property: DB_MySQLi::$google_seo_query_limit - Line: 232 - File: inc/plugins/google_seo.php PHP 8.3.36 (Linux)
File Line Function
/inc/class_error.php 157 errorHandler->error
/inc/plugins/google_seo.php 232 errorHandler->error_callback
/inc/plugins/google_seo/redirect.php 131 google_seo_tid
/inc/class_plugins.php 142 google_seo_redirect_hook
/global.php 100 pluginSystem->run_hooks
/showthread.php 28 require_once
Warning [2] Decrement on type null has no effect, this will change in the next major version of PHP - Line: 232 - File: inc/plugins/google_seo.php PHP 8.3.36 (Linux)
File Line Function
/inc/class_error.php 157 errorHandler->error
/inc/plugins/google_seo.php 232 errorHandler->error_callback
/inc/plugins/google_seo/redirect.php 131 google_seo_tid
/inc/class_plugins.php 142 google_seo_redirect_hook
/global.php 100 pluginSystem->run_hooks
/showthread.php 28 require_once
Warning [2] Undefined variable $r1comma - Line: 444 - File: inc/plugins/thx.php PHP 8.3.36 (Linux)
File Line Function
/inc/class_error.php 157 errorHandler->error
/inc/plugins/thx.php 444 errorHandler->error_callback
/inc/plugins/thx.php 280 build_thank
/inc/class_plugins.php 142 thx
/inc/functions_post.php 936 pluginSystem->run_hooks
/showthread.php 1122 build_postbit
Warning [2] Undefined variable $entries - Line: 444 - File: inc/plugins/thx.php PHP 8.3.36 (Linux)
File Line Function
/inc/class_error.php 157 errorHandler->error
/inc/plugins/thx.php 444 errorHandler->error_callback
/inc/plugins/thx.php 280 build_thank
/inc/class_plugins.php 142 thx
/inc/functions_post.php 936 pluginSystem->run_hooks
/showthread.php 1122 build_postbit
Warning [2] Undefined variable $r1comma - Line: 444 - File: inc/plugins/thx.php PHP 8.3.36 (Linux)
File Line Function
/inc/class_error.php 157 errorHandler->error
/inc/plugins/thx.php 444 errorHandler->error_callback
/inc/plugins/thx.php 280 build_thank
/inc/class_plugins.php 142 thx
/inc/functions_post.php 936 pluginSystem->run_hooks
/showthread.php 1122 build_postbit
Warning [2] Undefined variable $entries - Line: 444 - File: inc/plugins/thx.php PHP 8.3.36 (Linux)
File Line Function
/inc/class_error.php 157 errorHandler->error
/inc/plugins/thx.php 444 errorHandler->error_callback
/inc/plugins/thx.php 280 build_thank
/inc/class_plugins.php 142 thx
/inc/functions_post.php 936 pluginSystem->run_hooks
/showthread.php 1122 build_postbit




[Solved] Problem with compiling
#1
Hello!

I am trying to compile the MCServer from github source, but I get an error every time when I try to run the 'cmake -DCMAKE_BUILD_TYPE=RELEASE ..' command.

The error:
including polarssl
CMake Error at lib/polarssl.cmake:9 (add_subdirectory):
add_subdirectory given source "/polarssl/" which is not an existing
directory.
Call Stack (most recent call first):
CMakeLists.txt:88 (include)

I have tried to do the 'git submodule init' and 'git submodule update' commands, but they are not working. The operating system is a Debain 6 system, but I could successfully compile MCServer on my computer which runs Xubuntu 14.04.

How can I solve this problem? Thanks for the help.
Reply
Thanks given by: Immanuel94
#2
Okay I solved it. For some reason cmake cannot properly replace the '${CMAKE_CURRENT_LIST_DIR}/polarssl/' string with the actual correct path. I modified the 9th line of the MCServer/lib/polarssl.cmake file, and replaced the string with the actual path.

Here is the modified file if someone needs:

Code:
if(NOT TARGET polarssl) message("including polarssl") set(ENABLE_TESTING OFF CACHE BOOL "Disable tests") set(ENABLE_PROGRAMS OFF CACHE BOOL "Disable programs") if (SELF_TEST) add_subdirectory(${CMAKE_CURRENT_LIST_DIR}/polarssl/ ${CMAKE_CURRENT_BINARY_DIR}/lib/polarssl) else() add_subdirectory(/home/tomi35/MCServer/lib/polarssl/ ${CMAKE_CURRENT_BINARY_DIR}/lib/polarssl EXCLUDE_FROM_ALL) # add_subdirectory(${CMAKE_CURRENT_LIST_DIR}/polarssl/ ${CMAKE_CURRENT_BINARY_DIR}/lib/polarssl EXCLUDE_FROM_ALL) endif() endif()
Reply
Thanks given by: Immanuel94
#3
Hm. Update cmake?
Reply
Thanks given by:
#4
How odd. This should really be a GitHub issue though.
Reply
Thanks given by:




Users browsing this thread: 1 Guest(s)