Skip to content

Possible link bug in cmake file?  #12

@SgtVincent

Description

@SgtVincent

Hi,

I had some issues building the cloud node. Then I spot this line.

This should not be in scope of target_link_libraries(), right?

I successfully built the ros driver with following changes

include_directories(
	${OPENSSL_INCLUDE_DIR}
	${PCL_INCLUDE_DIRS}
)

add_executable(pandar_cloud_node cloud_node.cc convert.cc driver.cc laser_ts.cpp tcp_command_client.c util.c)
add_dependencies(pandar_cloud_node ${${PROJECT_NAME}_EXPORTED_TARGETS})
target_link_libraries(pandar_cloud_node pandar_rawdata
					  pandar_input
					  pcap
					  ${PCL_LIBRARIES}
					  ${OPENSSL_LIBRARIES}
                      ${catkin_LIBRARIES} ${YAML_CPP_LIBRARIES})

Just post this in case anyone has the same issue.

Best,

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