Is this m1 architecture issue? #256
Replies: 1 comment 2 replies
-
In your example you have #include <random> but still need the matplot headers. I don't know if the version from brew works OK on arm processors. You can always install from source though. In your CMake, this set(Matplot++_DIR "") and this include_directories(/usr/local) are very unusual.
Also, if you have find_package(Matplot++ REQUIRED) then you don't need if (Matplot++_FOUND) because Then your error is |
Beta Was this translation helpful? Give feedback.
-
I just try to run the example codes below.
After run the code on CLion, I got the error message. I installed the matplot++ using brew and link to my project.
I guess my chip architecture of macbook causes the error, but I am not sure. (I am newbie on c++) .
There are logmsg and cmakelist.txt that I used.
Thanks.
Output
Steps to Reproduce
# Your steps go here /Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake --build /Users/myname/Desktop/workspace/PRJNAME/cmake-build-debug --target PRJNAME
Platform
Environment Details:
Additional context
Beta Was this translation helpful? Give feedback.
All reactions