error: request for member 'm128_u32' in 'result', #253
Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
-
after build libs and includes, i built my project and it shows m128_u32 error

and cmake file like:
cmake_minimum_required(VERSION 3.7)
set(CMAKE_CXX_STANDARD 20)
project(CoreServer)
option(PHYSX_BUILD_TYPE debug)
Include PhysX headers
include_directories("../../physx/include")
Get all the .cpp files in the current directory and its subdirectories
#file(GLOB_RECURSE SOURCES ".cpp" EXCLUDE "examples/")
Get all the header files in the current directory and its subdirectories
#file(GLOB_RECURSE HEADERS ".h" ".hpp" EXCLUDE "examples/*")
Exclude CompilerId files
#list(REMOVE_ITEM SOURCES "${CMAKE_CURRENT_SOURCE_DIR}/CMakeFiles/${CMAKE_CXX_COMPILER_ID}/CMakeCXXCompilerId.cpp")
#list(REMOVE_ITEM HEADERS "${CMAKE_CURRENT_SOURCE_DIR}/CMakeFiles/${CMAKE_CXX_COMPILER_ID}/CMakeCXXCompilerId.h")
if(CMAKE_BUILD_TYPE AND CMAKE_BUILD_TYPE STREQUAL "Debug")
message("Building snippet in debug configuration")
add_compile_definitions(_DEBUG)
link_directories("../../physx/bin/win.x86_64.vc142.mt/debug") # This is the path where PhysX libraries are installed
else()
message("Building snippet in release configuration with PhysX ${PHYSX_BUILD_TYPE} configuration")
add_compile_definitions(NDEBUG)
link_directories("PhysX/bin/linux.clang/${PHYSX_BUILD_TYPE}") # This is the path where PhysX libraries are installed
endif()
add_executable(CoreServer main.cpp)
target_link_libraries(CoreServer
PhysXExtensions_static_64.lib
PhysX_static_64.lib
PhysXPvdSDK_static_64.lib
PhysXCommon_static_64.lib
PhysXFoundation_static_64.lib
)
Beta Was this translation helpful? Give feedback.
All reactions