CMake with Matlab R2018b

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

CMake with Matlab R2018b

Salyer, Brett
Good afternoon,

I've come across a very odd situation. I apologize if this question is simply due to my relatively little experience with CMake. I also apologize if this question has been asked before. I could not seem to find much on the issue. Let me give you some background on my project.

I am using Cmake version 3.5.1

I created a library in C++. I then created a Mex wrapper to utilize certain aspects of my C / C++ library for use in Matlab. I have tested this code extensively. It compiles completely fine using the Mex compiler from within Matlab itself.

I am now creating a build script using CMake. I was using R2018a when I created the build script initially. I got everything built and working perfectly with CMake. However, my coworkers could not get it to build properly for them. That is, it builds completely fine and ends the process without any errors at all. However, when the function is invoked from inside Matlab, it says that the gateway function is missing. This is, of course, not true.

The only difference between my environment and theirs is that I am using 2018a and they are using 2018b. I updated my machine to 2018b and I got the same problems that they were experiencing.

Is this a known issue? Is there a way to fix this without using something along the lines of a custom command and target?


Regards,

Brett Salyer

--

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
https://cmake.org/mailman/listinfo/cmake