You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can't build the project. Getting undefined reference.
Tried to fix it by half haphazardly throwing the following cmake code I found online but it didn't work:
FIND_PACKAGE ( PkgConfig REQUIRED )
PKG_CHECK_MODULES( GTK REQUIRED gtk+-3.0 )
INCLUDE_DIRECTORIES ( ${GTK_INCLUDE_DIRS} )
include_directories(${GTK3_INCLUDE_DIRS})
link_directories(${GTK3_LIBRARY_DIRS})
add_definitions(${GTK3_CFLAGS_OTHER})
...
target_link_libraries(app PUBLIC ${GTK3_LIBRARIES})
libgtk-3-dev is installed an up to date.
The text was updated successfully, but these errors were encountered:
It might help to take a look the CMakeLists file in the test folder, as well as how other projects import NFDe. The information you have provided is too vague to give any definite answer.
Can't build the project. Getting undefined reference.
Tried to fix it by half haphazardly throwing the following cmake code I found online but it didn't work:
FIND_PACKAGE ( PkgConfig REQUIRED )
PKG_CHECK_MODULES( GTK REQUIRED gtk+-3.0 )
INCLUDE_DIRECTORIES ( ${GTK_INCLUDE_DIRS} )
include_directories(${GTK3_INCLUDE_DIRS})
link_directories(${GTK3_LIBRARY_DIRS})
add_definitions(${GTK3_CFLAGS_OTHER})
...
target_link_libraries(app PUBLIC ${GTK3_LIBRARIES})
libgtk-3-dev is installed an up to date.
The text was updated successfully, but these errors were encountered: