stereolabs / zed-sdk

⚡️The spatial perception framework for rapidly building smart robots and spaces
https://stereolabs.com
MIT License
783 stars 457 forks source link

Where sl_zed / Camera.hpp is located? #41

Closed Declining closed 6 years ago

Declining commented 6 years ago

Hey ,guys. When I tried to compile the code in tutorial, the head file "sl_zed/Camera.hpp" cannot be found. So I want to know where I can find this header file, or do I need to create another environment?

adujardin commented 6 years ago

Hi, Replace "sl_zed" by "sl" and it should work (#include "sl/Camera.hpp").

It was originally meant for the new SDK (2.3) but it's not mandatory anymore. I will fix this in the repository.

Declining commented 6 years ago

Thank you, I have solved this problem by you help.

发件人: Aymeric Dujardinmailto:notifications@github.com 发送时间: 2018年1月24日 16:31 收件人: stereolabs/zed-examplesmailto:zed-examples@noreply.github.com 抄送: Decliningmailto:DecliningAristocrat@outlook.com; Authormailto:author@noreply.github.com 主题: Re: [stereolabs/zed-examples] Where sl_zed / Camera.hpp is located? (#41)

Closed #41https://github.com/stereolabs/zed-examples/issues/41 via 398893dhttps://github.com/stereolabs/zed-examples/commit/398893d538e35324a19076543947383dfe9b82d8.

― You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/stereolabs/zed-examples/issues/41#event-1438986931, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AiAbxSJeuetm5vYNPKMdK0Xh4gAoSgzNks5tNupDgaJpZM4Rl03x.

schliffen commented 5 years ago

It was not fixed yet, I'm still facing with that error!

obraun-sl commented 5 years ago

Make sure that the ZED SDK include directory is in the include directories list. If using Cmake , it should be automatically done. For example, under windows, the include dir is C:/Program Files(x86)/ZED SDK/include

Vizalkar commented 4 years ago

Hi I encountered the same error and i use cmake. It is not solvec, the directory in ZED SDK is "sl", not "sl_zed". Changing the #include "sl_zed/*" lines does the trick