--
You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/90c9a052-2d02-425e-812b-9129f1c71bafn%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAFRtmOCn-CeM693jbG6HUPgPAft7-CWYz_dQ-wf6h1OkjK5CKg%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/53c0603e-64b0-4656-b260-8eb560398cabn%40googlegroups.com.
So I followed Chad Vernom's cmake tutorials on youtube. First I wrote a everything as he did, and when it came do the build from the command promp I got an error related to maya path or something, so I thought
F###k that, I'll just copy his repo from github, since I barely understand CMake syntax and I might have done plenty of errors.Anyway, after copying his repo and rebuilding I get the error-----------------------------------------------------------------------------------------------------------------Could not find a package configuration file provided by "Maya" with any of
the following names:
MayaConfig.cmake
maya-config.cmake
Add the installation prefix of "Maya" to CMAKE_PREFIX_PATH or set
"Maya_DIR" to a directory containing one of the above files. If "Maya"
provides a separate development package or SDK, be sure it has been
installed.-----------------------------------------------------------------------------------------------------------------Since I am not familiar at all with CMake I have no idea what to do with this. According to the error it says " If "Maya" provides a separate development package or SDK, be sure it has been installed. "So should I install maya's devkit separetly or somehing? I so, how to "install it"? Should I copy paste all folder of "dekitBase" in maya? Do I even need the SDK?
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/a2970788-cb02-41de-80b6-6b6e4624e31dn%40googlegroups.com.
Hello,since I have time now I wanted to revive this topic because I have to make it work for future project.I am trying to track the error, so I added this the code below before the error happening with find_package(Maya REQUIRED)message ("---------------------------------------")
message (${CMAKE_MODULE_PATH})
message ("---------------------------------------")So I wanted to make sure CMAKE_MODULE_PATH is right. As you can see in the image the path is correct and it contains FinMaya.cmake. And still, it says I am not providing it. I am really stuck because all looks okey doesn't it?
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/e4097d82-c0ae-41da-9255-6e4887dab462n%40googlegroups.com.
You received this message because you are subscribed to a topic in the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/python_inside_maya/CnsXI9qxsww/unsubscribe.
To unsubscribe from this group and all its topics, send an email to python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/ebfeea9a-4c04-4b21-ae68-787549e01ba9n%40googlegroups.com.
Not sure If I am using find_program right.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/ebfeea9a-4c04-4b21-ae68-787549e01ba9n%40googlegroups.com.
This is is my src/CMakeLists.txthere is the entire output
https://pastebin.com/WEmMFGr0
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/8e633281-5890-407e-884a-f1a95428c852n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/f037deea-2b55-4858-91cc-05ea7989b0een%40googlegroups.com.