Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Linux QOpcUa ... Library 'uacpp' is not defined.

Linux QOpcUa ... Library 'uacpp' is not defined.

Scheduled Pinned Locked Moved Solved General and Desktop
2 Posts 2 Posters 240 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • gfxxG Offline
    gfxxG Offline
    gfxx
    wrote on last edited by
    #1

    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

    bkt

    1 Reply Last reply
    0
    • C Offline
      C Offline
      ChrisW67
      wrote on last edited by
      #2

      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
      
      1 Reply Last reply
      2

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved