Linux QOpcUa ... Library 'uacpp' is not defined.
Solved
General and Desktop
-
During built on QtCreator of QtOpcUa example obtain these warning.
Why these?
[Inexact] Project ERROR: You cannot build examples inside the Qt source tree, except as part of a proper Qt build. [Inexact] Project ERROR: Library 'uacpp' is not defined.
Plus If try to run opcuaclient example obtai these error:
Failed to start program. Path or permissions wrong?
Why if opcuaviewer start (whitout see certificate perhaps).
Appreciate any help
regards
-
You need to create a build directory outside the Qt source tree and use that as the place that intermediate files go. The library and/or application will end up under
build_dir
and you should not receive the ERROR you posted above.mkdir build_dir cd build_dir qmake /path/to/example/example.pro make