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

Cmake not finding matlab #23

Closed
Jordan-Letchford opened this issue Apr 24, 2021 · 2 comments
Closed

Cmake not finding matlab #23

Jordan-Letchford opened this issue Apr 24, 2021 · 2 comments
Labels
closed_for_stale Issue closed for inactivity Stale

Comments

@Jordan-Letchford
Copy link

Hi

I am trying to compile ZED and matlab (2021a version) together through Cmake following the 'Using the ZED SDK' guide and am getting errors. This is on a windows 10, x64 system with CUDA installed and the camera works fine through ZEDexplorer.

I have matlab installed on a different harddrive than my C and have updated my MATLAB_ROOT to reflect this however CMake still can not find it. I then went and manually pointed to the libraries (i hope the right ones) and it compiled but I got errors, the one below (i know its a warning but I can not continue to the next step as that has errors):

WARNING: Target "mexZED" requests linking to directory "G:\Matlab\extern\lib\win64\microsoft". Targets may link only to libraries. CMake is dropping the item.

Below is a screen shot. My questions are:

  1. are those the correct folders for the libraries I want? can someone confirm?
  2. why can it not find matlab using that MATLAB_ROOT, it is there.
  3. How do I solve this warning - I tried to continue to visual studios and build MEXZED and install but that didn't work

Capture

@P-yver
Copy link
Member

P-yver commented Apr 27, 2021

Hi,
Here is the linked library, can you try with the full path of the file:

image

@github-actions
Copy link

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment otherwise it will be automatically closed in 5 days

@github-actions github-actions bot added Stale closed_for_stale Issue closed for inactivity labels Apr 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
closed_for_stale Issue closed for inactivity Stale
Development

No branches or pull requests

2 participants