Problems installing library #103
Replies: 2 comments
-
What your error If you're using CMake, you can try some of the other options, like automatic download with CPM: https://alandefreitas.github.io/matplotplusplus/integration/cmake-targets/cmake-with-automatic-download.html In other build systems, the only options is to link the library manually. |
Beta Was this translation helpful? Give feedback.
-
Hello, I think I have a similar issue trying to setup matplot++ for Visual Studio 2019. The error above can be solved by linking However, after that I got a bunch of linker errors. In half of them it says that there is a value missmatch for RuntimeLibrary, I double checked that, in my project I also use Multi-threaded DLL (/MD) RuntimeLibrary. It would help out a lot if you can suggest how to resolve this problem.
|
Beta Was this translation helpful? Give feedback.
-
I am new to C++ and have tried installing this package from the Binary.Package.Windows.x64.zip file the same way this video shows how to do it (https://www.youtube.com/watch?v=or1dAmUO8k0). When I try to run debug one of the examples:
I get lots of errors and warnings. If I do not add the library to the linkers I get fewer errors, but I'm still getting 8 errors linked to a filename.obj file. As well as 24 warnings from header files. The errors are below:
I'm pretty sure I haven't installed this correctly and I have basically no understanding of adding packages in cpp, but I would ideally like the package to be added to the executable upon building the program as explained in the video I linked. I also haven't installed any of the dependencies, but I believe they are only required when building from source. But I may be wrong. Sorry to ask what probably seems like a silly question but I have spent all day trying to get this to work, any help is appreciated.
Beta Was this translation helpful? Give feedback.
All reactions