title: Build of my oat ++ project causes problems of non-reference to my methods
body: <p>I didn't create the project structure,is a Oat++ starter project,
  My CmakeLists.txt</p>
  <pre><code>cmake_minimum_required(VERSION 3.1)
  set(project_name ServerRestCmd) ## rename your project here
  
  project(${project_name})
  
  set(CMAKE_CXX_STANDARD 11)
  
  add_library(${project_name}-lib
          src/AppComponent.hpp
          src/controller/MyController.cpp
          src/controller/MyController.hpp
          src/controller/phylayer.cpp
          src/controller/phylayer.hpp
          src/dto/DTOs.hpp
  )
  ## link libs
  
  find_package(oatpp 1.1.0 REQUIRED)
  
  find_package(Qt5 COMPONENTS Core Network SerialPort REQUIRED)
  add_definitions(-fPIC)
  include_directories(${Qt5Core_INCLUDE_DIRS} ${Qt5Network_INCLUDE_DIRS} ${Qt5SerialPort_INCLUDE_DIRS})
  
  target_link_libraries(${project_name}-lib
          PUBLIC oatpp::oatpp
          PUBLIC oatpp::oatpp-test
          Qt5::Core
          Qt5::Network
          Qt5::SerialPort
  )
  
  target_include_directories(${project_name}-lib PUBLIC src)
  
  ## add executables
  
  add_executable(${project_name}-exe
          src/App.cpp
          test/app/MyApiTestClient.hpp)
  target_link_libraries(${project_name}-exe ${project_name}-lib)
  add_dependencies(${project_name}-exe ${project_name}-lib)
  
   
  
   
  </code></pre>
  <p><a href="https://i.stack.imgur.com/vePBz.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/vePBz.jpg" alt="enter image description here" /></a></p>
  <p>I added the phylayer.cpp, phylayer.hpp files and the references to the core, network and Serial modules of the QT. (These seem ok). At build time I have the following errors</p>
  <p><a href="https://i.stack.imgur.com/0d50S.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/0d50S.jpg" alt="enter image description here" /></a></p>
  <p>what's missing in CmakeLists.txt?</p>