Skip to content

LINK error 1104: cannot find .lib file for new device #489

@zoez7

Description

@zoez7

Hello,

I am trying to add a new ultrasound probe device called Clarius to PlusDataCollection. I got the LINK error below but was not sure how to resolve it. I'm wondering if you could provide some guidance on this?
clariusliblinkerror0130

Here's the script I added in the PlusDataCollction/CMakeList.txt:
`IF(PLUS_USE_CLARIUS)
FIND_PACKAGE(Threads REQUIRED)
FIND_PACKAGE(CLARIUS REQUIRED)

SET(CLARIUS_SRCS
Clarius/vtkPlusClarius.cxx
)

IF(MSVC OR ${CMAKE_GENERATOR} MATCHES "Xcode")
SET(CLARIUS_HDRS
Clarius/vtkPlusClarius.h
)
ENDIF()

LIST(APPEND ${PROJECT_NAME}_HDRS
${CLARIUS_HDRS}
)

LIST(APPEND ${PROJECT_NAME}_SRCS
${CLARIUS_SRCS}
)

LIST(APPEND ${PROJECT_NAME}_INCLUDE_DIRS
${CMAKE_CURRENT_SOURCE_DIR}/Clarius
)

SET(External_Libraries_Install ${External_Libraries_Install} ${CLARIUS_LIB_DIR}/listen${CMAKE_STATIC_LIBRARY_SUFFIX})
LIST(APPEND ${PROJECT_NAME}_LIBS
Clarius
)
ENDIF()`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions