Jump to content

Recommended Posts

Posted

Hi! I need to compile and use torque3D on my NVidia Jetson Nano (https://www.nvidia.com/en-us/autonomous-machines/embedded-systems/jetson-nano/).

After Torque3d sources are compiled correctly I start

# sudo make install

and have this error:

c++: error: unrecognized command line option ‘-msse’; did you mean ‘-fdse’?
Tools/CMake/CMakeFiles/opcode.dir/build.make:86: recipe for target 'Tools/CMake/CMakeFiles/opcode.dir/__/__/Engine/lib/opcode/OPC_AABBTree.cpp.o' failed
make[2]: *** [Tools/CMake/CMakeFiles/opcode.dir/__/__/Engine/lib/opcode/OPC_AABBTree.cpp.o] Error 1

 

How I can fix this?

Posted

solution to this problem replacement

set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${CXX_FLAG32} -Wundef -msse -pipe -Wfatal-errors ${TORQUE_ADDITIONAL_LINKER_FLAGS} -Wl,-rpath,'$$ORIGIN'")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${CXX_FLAG32} -Wundef -msse -pipe -Wfatal-errors ${TORQUE_ADDITIONAL_LINKER_FLAGS} -Wl,-rpath,'$$ORIGIN'")

to

IF(NOT ${CMAKE_SYSTEM_PROCESSOR} MATCHES "aarch64")	
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${CXX_FLAG32} -Wundef -msse -pipe -Wfatal-errors ${TORQUE_ADDITIONAL_LINKER_FLAGS} -Wl,-rpath,'$$ORIGIN'")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${CXX_FLAG32} -Wundef -msse -pipe -Wfatal-errors ${TORQUE_ADDITIONAL_LINKER_FLAGS} -Wl,-rpath,'$$ORIGIN'")
ENDIF(NOT ${CMAKE_SYSTEM_PROCESSOR} MATCHES "aarch64")

 

On Torque3d.cmake



But I have a new problems with unknown mnenonic "pause" -- "pause"

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...