Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possible link bug in cmake file? #12

Open
SgtVincent opened this issue Apr 24, 2023 · 0 comments
Open

Possible link bug in cmake file? #12

SgtVincent opened this issue Apr 24, 2023 · 0 comments

Comments

@SgtVincent
Copy link

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,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant