(Accidentally posted too soon)

..from there, you could search for DEVKIT_LOCATION in the devkit folder to
find out how Maya supplies some helper files you can either build upon or
copy/paste to customise for your own custom builds. They’ll tell you about
some of the variables relevant to various platforms and what suffixes they
use for the built plug-in etc.

With that, I haven’t needed to search online for tutorials on how to build
anymore, so I would wipe what you know from pre-2018 and start from there.
:)

Hope it helps!

On Sun, 25 Oct 2020 at 07:29, Marcus Ottosson <[email protected]>
wrote:

> Since Maya 2018 or so, each devkit example ships with a CMakeLists.txt
> file which takes much of the hassle out of the way.
>
> Here's the gist of it.
>
> ```bash
> cd /path/to/mayadevkit
> export DEVKIT_LOCATION=$(pwd)
> cd devkit/plug-ins/footPrintNode
> mkdir build
> cd build
> cmake .. -GNinja
> cmake --build .
> ```
>
> And presto, about 2 seconds later you've got a Maya plug-in built. From
> there, you could search for `DEVKIT_LOCATION
>
> On Sat, 24 Oct 2020 at 23:22, Justin Israel <[email protected]>
> wrote:
>
>> Is that your complete CmakeLists.txt file? Have you tried
>> using MAYA_LIBRARIES instead of MAYA_LIBRARY as the linker library variable?
>> Have you tried using this as a more complete reference?
>>
>> https://www.cgcircuit.com/tutorial/compiling-maya-plug-ins-with-cmake?exampleFilesTab
>>
>> Justin
>>
>> On Sun, Oct 25, 2020 at 1:48 AM Soham Parmar <[email protected]> wrote:
>>
>>> Hi,
>>> I am trying to create node with cpp, I have never tried this before.
>>> I am getting error while compiling I don't know what mistake I am doing,
>>> I think I am getting linker error.
>>>
>>> below is the drive link for my folders and cmakeFiles. (I have reduced
>>> folder structure. and I am using cmake file which chad has provided on git.)
>>> https://drive.google.com/drive/folders/1gAhdhoG6XOWM8uZorrupFYXnMLeQKP8b
>>>
>>> I am attaching my build log file to understand the error I am getting.
>>>
>>> Any help would be really appreciated.
>>> Thanks in advance.
>>>
>>> --
>>> 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 [email protected].
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/python_inside_maya/7cbe5143-b31c-424b-8c34-abfb1c00714dn%40googlegroups.com
>>> <https://groups.google.com/d/msgid/python_inside_maya/7cbe5143-b31c-424b-8c34-abfb1c00714dn%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>> --
>> 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 [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA1MHjOSuZG_%3DZ4PfRccuaWfwrzo882AY_oFc_1gMFuz%2BQ%40mail.gmail.com
>> <https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA1MHjOSuZG_%3DZ4PfRccuaWfwrzo882AY_oFc_1gMFuz%2BQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/CAFRtmOBL30tXWHatqqnYCej3bqME%3DstmpsdUOD296oV7Hc9NvA%40mail.gmail.com.

Reply via email to