@gfxx so try to leave out folder open62541 and use only generated libopen62541.so .....
these step for qropcua:
git clone https://code.qt.io/qt/qtopcua.git
cd qtopcua
git checkout 6.7.2
mkdir build && cd build
~/Qt/6.7.2/gcc_64/bin/qt-cmake ..
make
result of ~/Qt/6.7.2/gcc_64/bin/qt-cmake .. :
-- Found WrapAtomic: TRUE
-- Found OpenGL: /usr/lib/x86_64-linux-gnu/libOpenGL.so
-- Found WrapOpenGL: TRUE
-- Found XKB: /usr/lib/x86_64-linux-gnu/libxkbcommon.so (found suitable version "1.5.0", minimum required is "0.5.0")
-- Found WrapVulkanHeaders: /usr/include
CMake Warning at /home/gc51/Qt/6.7.2/gcc_64/lib/cmake/Qt6/QtBuildHelpers.cmake:12 (message):
The officially supported CMake generator for building Qt is Ninja / Ninja
Multi-Config. You are using: 'Unix Makefiles' instead. Thus, you might
encounter issues. Use at your own risk.
Call Stack (most recent call first):
/home/gc51/Qt/6.7.2/gcc_64/lib/cmake/Qt6/QtBuildHelpers.cmake:381 (qt_internal_validate_cmake_generator)
/home/gc51/Qt/6.7.2/gcc_64/lib/cmake/Qt6/QtBuild.cmake:4 (qt_internal_setup_build_and_global_variables)
/home/gc51/Qt/6.7.2/gcc_64/lib/cmake/Qt6/QtSetup.cmake:6 (include)
/home/gc51/Qt/6.7.2/gcc_64/lib/cmake/Qt6/QtBuildRepoHelpers.cmake:21 (include)
/home/gc51/Qt/6.7.2/gcc_64/lib/cmake/Qt6/QtBuildRepoHelpers.cmake:179 (qt_build_internals_set_up_private_api)
/home/gc51/Qt/6.7.2/gcc_64/lib/cmake/Qt6/QtBuildRepoHelpers.cmake:497 (qt_build_repo_begin)
CMakeLists.txt:29 (qt_build_repo)
-- Force setting build type to 'RelWithDebInfo'.
-- Configuration summary shown below. It has also been written to /home/gc51/qtopcua/build/config.summary
-- Configure with --log-level=STATUS or higher to increase CMake's message verbosity. The log level does not persist across reconfigurations.
-- Configure summary:
Qt Opcua:
Open62541 .............................. yes
Support for namespace 0 NodeId names ... yes
Internal code generator ................ no
Open62541 security support ............. yes
Support for global discovery server .... yes
Data type code generator ............... yes
-- Configuring done
-- Generating done
-- Build files have been written to: /home/gc51/qtopcua/build
result of make:
[ 20%] Building CXX object src/opcua/CMakeFiles/OpcUa.dir/client/qopcuagenericstructhandler.cpp.o
[ 20%] Building CXX object src/opcua/CMakeFiles/OpcUa.dir/client/qopcuagenericstructhandlerprivate.cpp.o
/tmp/cchYtRhA.s: Assembler messages:
/tmp/cchYtRhA.s:903754: Error: unknown pseudo-op: `.lofg'
/tmp/cchYtRhA.s:903755: Error: no such instruction: `nbyta 0x2'
/tmp/cchYtRhA.s:903944: Error: unknown pseudo-op: `.lon'
/tmp/cchYtRhA.s:911058: Error: unknown pseudo-op: `.nong'
/tmp/cchYtRhA.s:913593: Error: junk at end of line, first unrecognized character is `['
/tmp/cchYtRhA.s:913607: Error: invalid character (0xae) in mnemonic
/tmp/cchYtRhA.s:913670: Error: unknown pseudo-op: `.lonw'
/tmp/cchYtRhA.s:930545: Error: unknown pseudo-op: `.�ong'
/tmp/cchYtRhA.s:930546: Error: junk at end of line, first unrecognized character valued 0x1
/tmp/cchYtRhA.s:1617274: Error: unknown pseudo-op: `.6alue'
/tmp/cchYtRhA.s:1617275: Error: unknown pseudo-op: `.qu100'
/tmp/cchYtRhA.s:1632261: Error: unknown pseudo-op: `.l'
/tmp/cchYtRhA.s:1632262: Error: unknown pseudo-op: `.�ong'
/tmp/cchYtRhA.s:904199: Error: leb128 operand is an undefined symbol: tx3
make[2]: *** [src/opcua/CMakeFiles/OpcUa.dir/build.make:682: src/opcua/CMakeFiles/OpcUa.dir/client/qopcuagenericstructhandlerprivate.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1255: src/opcua/CMakeFiles/OpcUa.dir/all] Error 2
make: *** [Makefile:146: all] Error 2