Please check your PHP configuration. <a href="Documentation.html#faqmysql" target="documentation"><i

本文讨论了在PHP配置中遇到的缺少mysqli扩展的问题,包括如何在php.ini文件中进行修改,以及可能遇到的冲突如zend的使用。通过调整配置项和重启IIS服务器,可以解决该问题。此外,作者指出如果遇到MySQL版本不兼容的情况,可能需要更换较旧版本的MySQL以解决问题。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

缺少 mysqli 扩展。请检查 PHP 配置。 <a href="Documentation.html#faqmysql" target="documentation"><i

2012-01-06 22:01 inlovesky | 浏览 15667 次
php.ini 里边 去掉;extension=php_mysql.dll前边的分号,但是zend就不能用了,安装万Zeng ;extension=php_mysql.dll前边的分号就又回来了 怎么解决,求高手指点!
WIN7 32位 旗舰版 IIS7.5 + php-5.2.17-Win32-VC6-x86.zip + Mysql 5.5.19 Win32 + ZendOptimizer 3.3.3 Windows i386 + PhpMyAdmin 3.4.9 all languages
配置完PhpMyAdmin 3.4.9 all languages 出现缺少mysqli 扩展。请检查 PHP 配置。 错误!
;extension=php_mysqli.dll  上边的打错了!
2012-01-07 10:27 提问者采纳
问题很乱啊
程序的数据库可能是pdo连接的
pdo默认是关闭的,在php.ini 里面找到mysql pdo相关的配置项去掉前面的分号,再重启iis。

你怎么设置的是mysqli ?不是mysql吗?
http://baike.baidu.com/view/1278977.html
提问者评价
提示缺少 mysqli 扩展这个才设置的,问题解决了,应该是我安装的MYSQL版本太新吧 换成旧版本好了!  谢了

This happens when a goal of a plugin couldn't be configured. The most likely cause is that the contents of the <configuration> section for the plugin in your POM does not match the parameter types of the goal in question. E.g. trying to configure a numeric parameter from a string would trigger this error. So please verify that the configuration for the goal is correct by consulting the plugin documentation. The documentation for many common Maven plugins can be reached via our plugin index. While quite unlikely, it's also possible that the goal couldn't be configured because of a broken plugin class path. For instance, if the plugin class path is missing some dependencies of the plugin, this can result in linkage errors that prevent the configuration of the goal. To check whether the plugin JAR and its POM are intact, inspect your local repository which is usually located at ${user.home}/.m2/repository. For a plugin with the coordinates com.company:custom-maven-plugin:1.0, the file to check is com/company/custom-maven-plugin/1.0/custom-maven-plugin-1.0.jar and custom-maven-plugin-1.0.pom, respectively. If those files don't match the copies in the plugin repository, e.g. as noticeable by checksum mismatches, simply delete the local files and have Maven re-download it. If you have verified that your local copy of the JAR/POM and the JAR/POM in the plugin repository are bytewise identical but Maven still reports a linkage error, please report this to the maintainer of the plugin. 翻译
07-24
-- ROMFS: Adding boards/px4/fmu-v5/extras/px4_io-v2_default.bin -> /etc/extras/px4_io-v2_default.bin -- Configuring done -- Generating done -- Build files have been written to: /home/me/下载/px4-autopilot-1.15.4/build/px4_fmu-v5_default [1/1299] Generating git version header FAILED: src/lib/version/build_git_version.h cd /home/me/下载/px4-autopilot-1.15.4 && /usr/bin/python3 /home/me/下载/px4-autopilot-1.15.4/src/lib/version/px_update_git_header.py /home/me/下载/px4-autopilot-1.15.4/build/px4_fmu-v5_default/src/lib/version/build_git_version.h --validate Error: the git tag 'c49f4c2142' does not match the expected format. The expected format is 'v<PX4 version>[-<custom version>]' <PX4 version>: v<major>.<minor>.<patch>[-rc<rc>|-beta<beta>|-alpha<alpha>|-dev] <custom version>: <major>.<minor>.<patch>[-rc<rc>|-beta<beta>|-alpha<alpha>|-dev] Examples: v1.9.0-rc3 (preferred) v1.9.0-beta1 v1.9.0-1.0.0 v1.9.0-1.0.0-alpha2 See also https://docs.px4.io/main/en/dev_setup/building_px4.html#building-for-nuttx [2/1299] Generating ../../../platforms/nuttx/NuttX/nuttx/.config ninja: build stopped: subcommand failed. make: *** [Makefile:227:px4_fmu-v5_default] 错误 1如何修改代码避免此错误############################################################################ # # Copyright (c) 2017 - 2024 PX4 Development Team. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # 1. Redistributions of source code must retain the above copyright # notice, this list of conditions and the following disclaimer. # 2. Redistributions in binary form must reproduce the above copyright # notice, this list of conditions and the following disclaimer in # the documentation and/or other materials provided with the # distribution. # 3. Neither the name PX4 nor the names of its contributors may be # used to endorse or promote products derived from this software # without specific prior written permission. # # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS # FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, # BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS # OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED # AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN # ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE # POSSIBILITY OF SUCH DAMAGE. # ############################################################################ #============================================================================= # CMAKE CODING STANDARD FOR PX4 # # Structure # --------------------------------------------------------------------------- # # * Common functions should be included in px_base.cmake. # # * OS/ board specific fucntions should be include in # px_impl_${PX4_PLATFORM}.cmake # # Formatting # --------------------------------------------------------------------------- # # * Use hard indents to match the px4 source code. # # * All function and script arguments are upper case. # # * All local variables are lower case. # # * All cmake functions are lowercase. # # * For else, endif, endfunction, etc, never put the name of the statement # # Functions/Macros # --------------------------------------------------------------------------- # # * Use px4_parse_function_args to parse functions and check for required # arguments. Unless there is only one argument in the function and it is clear. # # * Never use macros. They allow overwriting global variables and this # makes variable declarations hard to locate. # # * If a target from add_custom_* is set in a function, explicitly pass it # as an output argument so that the target name is clear to the user. # # * Avoid use of global variables in functions. Functions in a nested # scope may use global variables, but this makes it difficult to # reuse functions. # # Included CMake Files # --------------------------------------------------------------------------- # # * All variables in config files must have the prefix "config_". # # * Never set global variables in an included cmake file, # you may only define functions. This excludes config and Toolchain files. # This makes it clear to the user when variables are being set or targets # are being created. # # * Setting a global variable in a CMakeLists.txt file is ok, because # each CMakeLists.txt file has scope in the current directory and all # subdirectories, so it is not truly global. # # * All toolchain files should be included in the cmake # directory and named Toolchain-"name".cmake. # # Misc # --------------------------------------------------------------------------- # # * If referencing a string variable, don't put it in quotes. # Don't do "${PX4_PLATFORM}" STREQUAL "posix", # instead type ${PX4_PLATFORM} STREQUAL "posix". This will throw an # error when ${PX4_PLATFORM} is not defined instead of silently # evaluating to false. # #============================================================================= cmake_minimum_required(VERSION 3.9 FATAL_ERROR) set(PX4_SOURCE_DIR "${CMAKE_CURRENT_SOURCE_DIR}" CACHE FILEPATH "PX4 source directory" FORCE) set(PX4_BINARY_DIR "${CMAKE_CURRENT_BINARY_DIR}" CACHE FILEPATH "PX4 binary directory" FORCE) list(APPEND CMAKE_MODULE_PATH ${PX4_SOURCE_DIR}/cmake) include(px4_parse_function_args) #============================================================================= # git # include(px4_git) execute_process( COMMAND git describe --exclude ext/* --always --tags OUTPUT_VARIABLE PX4_GIT_TAG OUTPUT_STRIP_TRAILING_WHITESPACE WORKING_DIRECTORY ${PX4_SOURCE_DIR} ) set(PX4_GIT_TAG "v1.15.4") # git describe to X.Y.Z version string(REPLACE "." ";" VERSION_LIST ${PX4_GIT_TAG}) # major version list(GET VERSION_LIST 0 PX4_VERSION_MAJOR) string(REPLACE "v" "" PX4_VERSION_MAJOR ${PX4_VERSION_MAJOR}) # minor version list(GET VERSION_LIST 1 PX4_VERSION_MINOR) # patch version list(GET VERSION_LIST 2 PX4_VERSION_PATCH) string(REPLACE "-" ";" PX4_VERSION_PATCH ${PX4_VERSION_PATCH}) list(GET PX4_VERSION_PATCH 0 PX4_VERSION_PATCH) # # Capture only the hash part after 'g' string(REGEX MATCH "g([a-f0-9]+)$" GIT_HASH "${PX4_GIT_TAG}") set(PX4_GIT_HASH ${CMAKE_MATCH_1}) define_property(GLOBAL PROPERTY PX4_MODULE_LIBRARIES BRIEF_DOCS "PX4 module libs" FULL_DOCS "List of all PX4 module libraries" ) define_property(GLOBAL PROPERTY PX4_KERNEL_MODULE_LIBRARIES BRIEF_DOCS "PX4 kernel side module libs" FULL_DOCS "List of all PX4 kernel module libraries" ) define_property(GLOBAL PROPERTY PX4_MODULE_PATHS BRIEF_DOCS "PX4 module paths" FULL_DOCS "List of paths to all PX4 modules" ) define_property(GLOBAL PROPERTY PX4_SRC_FILES BRIEF_DOCS "src files from all PX4 modules & libs" FULL_DOCS "SRC files from px4_add_{module,library}" ) #============================================================================= # configuration # include(px4_add_module) set(config_module_list) set(config_kernel_list) # Find Python find_package(PythonInterp 3) # We have a custom error message to tell users how to install python3. if(NOT PYTHONINTERP_FOUND) message(FATAL_ERROR "Python 3 not found. Please install Python 3:\n" " Ubuntu: sudo apt install python3 python3-dev python3-pip\n" " macOS: brew install python") endif() option(PYTHON_COVERAGE "Python code coverage" OFF) if(PYTHON_COVERAGE) message(STATUS "python coverage enabled") set(PYTHON_EXECUTABLE coverage run -p) endif() include(px4_config) include(kconfig) message(STATUS "PX4 config: ${PX4_CONFIG}") message(STATUS "PX4 platform: ${PX4_PLATFORM}") if($ENV{CLION_IDE}) # CLion automatically executes some compiler commands after configuring the # project. This would fail on NuttX, as visibility.h tries to (indirectly) # include nuttx/config.h, which at that point does not exist yet add_definitions(-DPX4_DISABLE_GCC_POISON) endif() if(${PX4_PLATFORM} STREQUAL "posix") if(ENABLE_LOCKSTEP_SCHEDULER) add_definitions(-DENABLE_LOCKSTEP_SCHEDULER) message(STATUS "PX4 lockstep: enabled") else() message(STATUS "PX4 lockstep: disabled") endif() endif() # external modules set(EXTERNAL_MODULES_LOCATION "" CACHE STRING "External modules source location") if(NOT EXTERNAL_MODULES_LOCATION STREQUAL "") get_filename_component(EXTERNAL_MODULES_LOCATION "${EXTERNAL_MODULES_LOCATION}" ABSOLUTE) endif() set_property(GLOBAL PROPERTY PX4_MODULE_CONFIG_FILES) include(platforms/${PX4_PLATFORM}/cmake/px4_impl_os.cmake) list(APPEND CMAKE_MODULE_PATH ${PX4_SOURCE_DIR}/platforms/${PX4_PLATFORM}/cmake) if(EXISTS "${PX4_SOURCE_DIR}/platforms/${PX4_PLATFORM}/cmake/init.cmake") include(init) endif() #============================================================================= # project definition # project(px4 CXX C ASM) # CMake build type (Debug Release RelWithDebInfo MinSizeRel Coverage) if(NOT CMAKE_BUILD_TYPE) if(${PX4_PLATFORM} STREQUAL "nuttx") set(PX4_BUILD_TYPE "MinSizeRel") else() set(PX4_BUILD_TYPE "RelWithDebInfo") endif() set(CMAKE_BUILD_TYPE ${PX4_BUILD_TYPE} CACHE STRING "Build type" FORCE) endif() if((CMAKE_BUILD_TYPE STREQUAL "Debug") OR (CMAKE_BUILD_TYPE STREQUAL "Coverage")) set(MAX_CUSTOM_OPT_LEVEL -O0) elseif(CMAKE_BUILD_TYPE MATCHES "Sanitizer") set(MAX_CUSTOM_OPT_LEVEL -O1) elseif(CMAKE_BUILD_TYPE MATCHES "Release") set(MAX_CUSTOM_OPT_LEVEL -O3) else() if(px4_constrained_flash_build) set(MAX_CUSTOM_OPT_LEVEL -Os) else() set(MAX_CUSTOM_OPT_LEVEL -O2) endif() endif() set_property(CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS "Debug;Release;RelWithDebInfo;MinSizeRel;Coverage;AddressSanitizer;UndefinedBehaviorSanitizer") message(STATUS "cmake build type: ${CMAKE_BUILD_TYPE}") # Check if LTO option and check if toolchain supports it if(LTO) include(CheckIPOSupported) check_ipo_supported() message(AUTHOR_WARNING "LTO enabled: LTO is highly experimental and should not be used in production") set(CMAKE_INTERPROCEDURAL_OPTIMIZATION TRUE) endif() set(package-contact "px4users@googlegroups.com") set(CMAKE_CXX_STANDARD 14) set(CMAKE_CXX_STANDARD_REQUIRED ON) set(CMAKE_C_STANDARD 11) set(CMAKE_C_STANDARD_REQUIRED ON) set(CMAKE_EXPORT_COMPILE_COMMANDS ON) set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${PX4_BINARY_DIR}) set(CMAKE_RUNTIME_OUTPUT_DIRECTORY_DEBUG ${PX4_BINARY_DIR}) set(CMAKE_RUNTIME_OUTPUT_DIRECTORY_RELEASE ${PX4_BINARY_DIR}) #============================================================================= # gold linker - use if available (posix only for now) if(${PX4_PLATFORM} STREQUAL "posix") include(CMakeDependentOption) CMAKE_DEPENDENT_OPTION(USE_LD_GOLD "Use GNU gold linker" ON "NOT WIN32;NOT APPLE" OFF ) if(USE_LD_GOLD) execute_process(COMMAND ${CMAKE_C_COMPILER} -fuse-ld=gold -Wl,--version ERROR_QUIET OUTPUT_VARIABLE LD_VERSION) if("${LD_VERSION}" MATCHES "GNU gold") set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -fuse-ld=gold") set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -fuse-ld=gold") else() set(USE_LD_GOLD OFF) endif() endif() endif() #============================================================================= # Setup install paths if(${PX4_PLATFORM} STREQUAL "posix") # This makes it possible to dynamically load code which depends on symbols # inside the px4 executable. set(CMAKE_POSITION_INDEPENDENT_CODE ON) set(CMAKE_ENABLE_EXPORTS ON) if(CMAKE_BUILD_TYPE MATCHES "Coverage") include(coverage) endif() include(sanitizers) # Define GNU standard installation directories include(GNUInstallDirs) if (NOT CMAKE_INSTALL_PREFIX) set(CMAKE_INSTALL_PREFIX "/usr" CACHE PATH "Install path prefix" FORCE) endif() endif() include(ccache) #============================================================================= # get chip and chip manufacturer # px4_os_determine_build_chip() if(NOT PX4_CHIP_MANUFACTURER) message(FATAL_ERROR "px4_os_determine_build_chip() needs to set PX4_CHIP_MANUFACTURER") endif() if(NOT PX4_CHIP) message(FATAL_ERROR "px4_os_determine_build_chip() needs to set PX4_CHIP") endif() #============================================================================= # build flags # include(px4_add_common_flags) px4_add_common_flags() px4_os_add_flags() #============================================================================= # board cmake init (optional) # if(EXISTS ${PX4_BOARD_DIR}/cmake/init.cmake) include(${PX4_BOARD_DIR}/cmake/init.cmake) endif() #============================================================================= # message, and airframe generation # include(px4_metadata) add_subdirectory(msg EXCLUDE_FROM_ALL) px4_generate_airframes_xml(BOARD ${PX4_BOARD}) #============================================================================= # external projects # set(ep_base ${PX4_BINARY_DIR}/external) set_property(DIRECTORY PROPERTY EP_BASE ${ep_base}) # add external project install folders to build # add the directories so cmake won't warn execute_process(COMMAND ${CMAKE_COMMAND} -E make_directory ${ep_base}) execute_process(COMMAND ${CMAKE_COMMAND} -E make_directory ${ep_base}/Install) execute_process(COMMAND ${CMAKE_COMMAND} -E make_directory ${ep_base}/Install/lib) link_directories(${ep_base}/Install/lib) execute_process(COMMAND ${CMAKE_COMMAND} -E make_directory ${ep_base}/Install/include) include_directories(${ep_base}/Install/include) #============================================================================= # external modules # set(external_module_paths) if (NOT EXTERNAL_MODULES_LOCATION STREQUAL "") message(STATUS "External modules: ${EXTERNAL_MODULES_LOCATION}") add_subdirectory("${EXTERNAL_MODULES_LOCATION}/src" external_modules) foreach(external_module ${config_module_list_external}) add_subdirectory(${EXTERNAL_MODULES_LOCATION}/src/${external_module} external_modules/${external_module}) list(APPEND external_module_paths ${EXTERNAL_MODULES_LOCATION}/src/${external_module}) endforeach() endif() #============================================================================= # Testing - Automatic unit and integration testing with CTest # # optionally enable cmake testing (supported only on posix) option(CMAKE_TESTING "Configure test targets" OFF) if(${PX4_CONFIG} STREQUAL "px4_sitl_test") set(CMAKE_TESTING ON) endif() if(CMAKE_TESTING) include(CTest) # sets BUILD_TESTING variable endif() # enable test filtering to run only specific tests with the ctest -R regex functionality set(TESTFILTER "" CACHE STRING "Filter string for ctest to selectively only run specific tests (ctest -R)") # if testing is enabled download and configure gtest list(APPEND CMAKE_MODULE_PATH ${PX4_SOURCE_DIR}/cmake/gtest/) include(px4_add_gtest) if(BUILD_TESTING) include(gtest) add_custom_target(test_results COMMAND GTEST_COLOR=1 ${CMAKE_CTEST_COMMAND} --output-on-failure -T Test -R ${TESTFILTER} USES_TERMINAL DEPENDS px4 examples__dyn_hello USES_TERMINAL COMMENT "Running tests" WORKING_DIRECTORY ${PX4_BINARY_DIR}) set_target_properties(test_results PROPERTIES EXCLUDE_FROM_ALL TRUE) endif() #============================================================================= # subdirectories # add_library(parameters_interface INTERFACE) add_library(kernel_parameters_interface INTERFACE) add_library(events_interface INTERFACE) add_library(kernel_events_interface INTERFACE) include(px4_add_library) add_subdirectory(src/lib EXCLUDE_FROM_ALL) add_subdirectory(platforms/${PX4_PLATFORM}/src/px4) add_subdirectory(platforms EXCLUDE_FROM_ALL) if(EXISTS "${PX4_BOARD_DIR}/CMakeLists.txt") add_subdirectory(${PX4_BOARD_DIR}) endif() foreach(module ${config_module_list}) add_subdirectory(src/${module}) endforeach() # add events lib after modules and libs as it needs to know all source files (PX4_SRC_FILES) add_subdirectory(src/lib/events EXCLUDE_FROM_ALL) # metadata needs PX4_MODULE_CONFIG_FILES add_subdirectory(src/lib/metadata EXCLUDE_FROM_ALL) # must be the last module before firmware add_subdirectory(src/lib/parameters EXCLUDE_FROM_ALL) if(${PX4_PLATFORM} STREQUAL "nuttx" AND NOT CONFIG_BUILD_FLAT) target_link_libraries(parameters_interface INTERFACE usr_parameters) target_link_libraries(kernel_parameters_interface INTERFACE parameters) target_link_libraries(events_interface INTERFACE usr_events) target_link_libraries(kernel_events_interface INTERFACE events) else() target_link_libraries(parameters_interface INTERFACE parameters) target_link_libraries(events_interface INTERFACE events) endif() # firmware added last to generate the builtin for included modules add_subdirectory(platforms/${PX4_PLATFORM}) #============================================================================= # uORB graph generation: add a custom target 'uorb_graph' # set(uorb_graph_config ${PX4_BOARD}) set(graph_module_list "") foreach(module ${config_module_list}) set(graph_module_list "${graph_module_list}" "--src-path" "src/${module}") endforeach() add_custom_command(OUTPUT ${uorb_graph_config} COMMAND ${PYTHON_EXECUTABLE} ${PX4_SOURCE_DIR}/Tools/uorb_graph/create.py ${graph_module_list} --src-path src/lib --merge-depends --exclude-path src/examples --exclude-path src/lib/parameters # FIXME: enable & fix --file ${PX4_SOURCE_DIR}/Tools/uorb_graph/graph_${uorb_graph_config} WORKING_DIRECTORY ${PX4_SOURCE_DIR} COMMENT "Generating uORB graph" ) add_custom_target(uorb_graph DEPENDS ${uorb_graph_config}) include(bloaty) include(doxygen) include(metadata) include(package) # install python requirements using configured python add_custom_target(install_python_requirements COMMAND ${PYTHON_EXECUTABLE} -m pip install --break-system-packages --requirement ${PX4_SOURCE_DIR}/Tools/setup/requirements.txt DEPENDS ${PX4_SOURCE_DIR}/Tools/setup/requirements.txt USES_TERMINAL ) if(EXISTS "${PX4_SOURCE_DIR}/platforms/${PX4_PLATFORM}/cmake/finalize.cmake") include(finalize) endif()
最新发布
08-15
:/mnt/hgfs/UbuntuShared/3.4rockx_face_camera_vi$ arm-linux-gnueabihf-gdb ./rockx_face_camera_vi GNU gdb (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36)) 8.2.1.20190227-git Copyright (C) 2018 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "--host=x86_64-pc-linux-gnu --target=arm-linux-gnueabihf". Type "show configuration" for configuration details. For bug reporting instructions, please see: <https://bugs.linaro.org/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from ./rockx_face_camera_vi...done. (gdb) target remote 192.168.100.75:1234 Remote debugging using 192.168.100.75:1234 Reading symbols from /opt/rv1126_rv1109_linux_sdk_v1.8.0_20210224/prebuilts/gcc/linux-x86/arm/gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf/arm-linux-gnueabihf/libc/lib/ld-linux-armhf.so.3...done. 0xa6ed0a00 in _start () from /opt/rv1126_rv1109_linux_sdk_v1.8.0_20210224/prebuilts/gcc/linux-x86/arm/gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf/arm-linux-gnueabihf/libc/lib/ld-linux-armhf.so.3 (gdb) break main Breakpoint 1 at 0x11ddc: file rockx_face_camera_vi.cpp, line 76. (gdb) continue Continuing. warning: Could not load shared library symbols for 47 libraries, e.g. /oem/usr/lib/libeasymedia.so.1. Use the "info sharedlibrary" command to see the complete listing. Do you need "set solib-search-path" or "set sysroot"? warning: Could not load shared library symbols for /usr/lib/libv4l/plugins/libv4l-mplane.so. Do you need "set solib-search-path" or "set sysroot"? [New Thread 1096.1913] Thread 1 "rockx_face_came" hit Breakpoint 1, main (argc=1, argv=0xaeb0ed24) at rockx_face_camera_vi.cpp:76 76 memset(&vi_chn_attr, 0, sizeof(VI_CHN_ATTR_S)); (gdb) next 77 vi_chn_attr.pcVideoNode = CAMERA_PATH; // Path (gdb) 78 vi_chn_attr.u32Width = 1920; // Width (gdb) next 79 vi_chn_attr.u32Height = 1080; // Height (gdb) next 80 vi_chn_attr.enPixFmt = IMAGE_TYPE_NV12; // ImageType (gdb) next 81 vi_chn_attr.enBufType = VI_CHN_BUF_TYPE_MMAP; // BufType (gdb) next 82 vi_chn_attr.u32BufCnt = 3; // Cnt (gdb) next 83 vi_chn_attr.enWorkMode = VI_WORK_MODE_NORMAL; // Mode (gdb) next 84 ret = RK_MPI_VI_SetChnAttr(CAMERA_ID, CAMERA_CHN, &vi_chn_attr); (gdb) next 85 if (ret) (gdb) next 87 printf("Vi Set Attr Failed.....\n"); (gdb) next 88 return 0; (gdb) next 92 printf("Vi Set Attr Success.....\n"); (gdb) next 95 ret = RK_MPI_VI_EnableChn(CAMERA_ID, CAMERA_CHN); (gdb) next [New Thread 1096.2089] [New Thread 1096.2090] 96 if (ret) (gdb) next 99 return 0; (gdb) next 103 printf("Vi Enable Attr Success.....\n"); (gdb) next 107 memset(&venc_chn_attr, 0, sizeof(VENC_CHN_ATTR_S)); (gdb) next 110 venc_chn_attr.stVencAttr.u32VirWidth = 1920; (gdb) next 111 venc_chn_attr.stVencAttr.u32VirHeight = 1080; (gdb) next 112 venc_chn_attr.stVencAttr.imageType = IMAGE_TYPE_NV12; (gdb) next 113 venc_chn_attr.stVencAttr.enType = RK_CODEC_TYPE_H264; (gdb) next [New Thread 1096.2167] 114 venc_chn_attr.stVencAttr.u32Profile = 66; (gdb) next 115 venc_chn_attr.stRcAttr.enRcMode = VENC_RC_MODE_H264CBR; (gdb) next 121 venc_chn_attr.stRcAttr.stH264Cbr.u32SrcFrameRateNum = 25; (gdb) next 122 ret = RK_MPI_VENC_CreateChn(VENC_CHN, &venc_chn_attr); (gdb) next 123 if (ret) (gdb) next 125 printf("ERROR: Create venc failed!\n"); (gdb) next 126 exit(0); (gdb) next 129 ret = RK_MPI_VI_StartStream(CAMERA_ID, CAMERA_CHN); (gdb) next 130 if (ret) (gdb) next 148 cerr<<"pthread create successed...."<<endl; (gdb) next 151 rockx_config_t *face_detect_config = rockx_create_config(); (gdb) next 152 ret=rockx_add_config(face_detect_config, ROCKX_CONFIG_DATA_PATH, "/userdata/rockx_data"); (gdb) next warning: Could not load shared library symbols for 6 libraries, e.g. /usr/lib32/librknn_runtime.so. Use the "info sharedlibrary" command to see the complete listing. Do you need "set solib-search-path" or "set sysroot"? [New Thread 1096.2250] 153 if (ret != ROCKX_RET_SUCCESS) (gdb) next 155 printf("Failed to add config: error code = %d\n", ret); (gdb) next 160 printf("Invalid parameter: check key or value\n"); (gdb) next 161 break; (gdb) next 163 printf("Memory allocation failed\n"); (gdb) next 164 break; (gdb) next 166 printf("类型不匹配 ...\n"); (gdb) next 175 printf("rockx_add_config successfully\n"); (gdb) next 178 rockx_handle_t face_detect_handle=NULL; (gdb) next 181 printf("第一处断点\n"); (gdb) next 183 rockx_module_t face_detect_module = ROCKX_MODULE_FACE_DETECTION_V2; (gdb) next 187 rockx_release_config(face_detect_config); // 释放配置 (gdb) next 188 printf("第三处断点\n"); (gdb) next 189 if (face_detect_ret != ROCKX_RET_SUCCESS) (gdb) next 191 printf("rockx_create face_detect failed...\n"); (gdb) next 192 return -1; (gdb) next 200 rv1126_rockx_image.width = WIDTH; (gdb) next 201 rv1126_rockx_image.height = HEIGHT; (gdb) next 202 rv1126_rockx_image.pixel_format = ROCKX_PIXEL_FORMAT_YUV420SP_NV12; (gdb) next 203 printf("Image params: width=%d, height=%d, format=%d\n", (gdb) next 206 rv1126_rockx_image.pixel_format); (gdb) next 203 printf("Image params: width=%d, height=%d, format=%d\n", (gdb) next 217 mb = RK_MPI_SYS_GetMediaBuffer(RK_ID_VI, CAMERA_CHN, -1); (gdb) next 218 if (!mb) (gdb) next 220 printf("Get Vi Stream break....\n"); (gdb) next 297 RK_MPI_VENC_DestroyChn(VENC_CHN); (gdb) next 298 RK_MPI_VI_DisableChn(CAMERA_ID, CAMERA_CHN); (gdb) next cv::String::String (this=0xaeb0ebe8, s=0x11cc3f "") at ./arm_opencv_source/include/opencv2/core/cvstd.hpp:599 599 if (!s) return; (gdb) next 601 if (!len) return; (gdb) next 603 } (gdb) next cv::String::~String (this=0xa2170b1c <__GI__IO_file_jumps>, __in_chrg=<optimized out>) at ./arm_opencv_source/include/opencv2/core/cvstd.hpp:646 646 String::~String() (gdb) next cv::String::~String (this=0x0, __in_chrg=<optimized out>) at ./arm_opencv_source/include/opencv2/core/cvstd.hpp:648 648 deallocate(); (gdb) next 649 } (gdb) next cv::String::operator= (this=0xa2170b1c <__GI__IO_file_jumps>, str=...) at ./arm_opencv_source/include/opencv2/core/cvstd.hpp:653 653 { (gdb)
06-19
<think>嗯,用户让我帮忙把一段HTML代码里的英文翻译成中文,同时保留代码结构。首先,我需要仔细看看这段HTML的内容。看起来是一个法律声明部分,包含链接和版权信息。用户可能不太懂技术,所以需要翻译得通俗易懂,但又要保持原有的链接和格式不变。 首先,我要确认HTML标签的结构,比如<p>、<small>、<a>、<br>这些标签的位置,不能破坏它们。然后逐句翻译里面的英文内容。例如“Report a bug or suggest an enhancement”要翻译成“报告程序错误或提出改进建议”,既要准确又要口语化。链接的href属性需要保留原样,不能修改,否则链接会失效。 接下来,注意术语的准确性,比如“API reference”翻译成“API参考”,“developer documentation”是“开发者文档”。还有“Java SE Documentation”可能需要保留英文,因为这是专有名词,但用户要求翻译成中文,所以可能得处理成“Java标准版文档”。不过要确认是否有官方译名,如果没有就保持直译。 然后,版权部分“Copyright © 1993, 2025, Oracle and/or its affiliates...”要注意年份和公司信息的正确性,翻译成“版权所有 © 1993, 2025, Oracle 和/或其附属公司...”。地址部分“500 Oracle Parkway...”直接保留,因为地址通常不翻译。 还要注意特殊符号,比如©在HTML中显示为©,翻译后的文本中需要保留这个实体引用,确保显示正确。另外,注释部分<!-- 版本 24+36-3646 -->也要保留原样,不影响功能。 最后,检查所有的链接是否都正确保留,没有遗漏或错误。确保翻译后的中文流畅,同时HTML结构完整,用户可以复制粘贴直接使用。可能还需要测试一下替换后的代码在浏览器中的显示效果,确保换行<br>和段落<p>标签的位置正确,没有多余的空格或格式错误。 用户可能需要这个翻译后的HTML用于网站的中文版本,所以准确性和格式正确非常重要。如果有不确定的地方,比如某些专有名词是否应该翻译,可能需要加注释说明,但用户没有特别说明,所以按照常规处理。总之,要确保翻译既准确又保持代码结构,方便用户直接使用。</think>已为您完成HTML代码结构的汉化翻译,保留所有原始标签格式,内容对应关系如下: ```html <p class="legal-copy"><small><a href="https://bugreport.java.com/bugreport/">报告程序错误或提出改进建议</a><br> 如需更多API参考和开发者文档,请查阅<a href="https://docs.oracle.com/pls/topic/lookup?ctx=javase24&id=homepage" target="_blank">Java标准版文档</a>,其中包含面向开发者的详细说明,涵盖概念概述、术语定义、解决方案和实用代码示例。<a href="https://docs.oracle.com/en/java/javase/index.html">其他版本。</a><br> Java是Oracle和/或其附属公司在美国及其他国家的商标或注册商标。<br> <a href="./../legal/copyright.html">版权声明</a> © 1993, 2025, Oracle和/或其附属公司,地址:美国加州红木滩市甲骨文大道500号,邮编94065。<br>保留所有权利。使用须遵守<a href="https://www.oracle.com/java/javase/terms/license/java24speclicense.html">许可条款</a>及<a href="https://www.oracle.com/technetwork/java/redist-137594.html">文档分发政策</a>。 <!-- 版本 24+36-3646 --></small></p> ``` 翻译说明: 1. 保留了所有HTML标签和属性(如class、hreftarget等) 2. 链接地址完全未改动 3. 特殊符号(如©)使用原始HTML实体编码 4. 注释<!-- 版本... -->保持原样 5. 专业术语(如API、Java SE)采用通用中文译法 6. 地址信息采用直译+补充说明的方式处理 7. 法律条款名称保留了精确对应关系 可直接复制粘贴使用,如需调整特定词汇的翻译风格请告知。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值