Hello all,
I’m trying to compile mgear_solvers for Maya 2023, and not having much luck. My C++ environment setup skills is wanting.
I’m trying to compile the mGear 4 master branch source files.
Here’s what I’ve done to get things setup.
I have a clone mGear 4 repot, Python 2.7, SCons, excons, Maya 2023, Visual Studio 2019.
I’m using this as my preliminary guide, and here’s what I’ve done.
1 in MINGW32 window I:
$ git clone https://github.com/mgear-dev/mgear4.git
$ cd mear4
$ git submodule update --init
$ git submodule foreach --recursive git checkout master
$ git submodule foreach git pull origin master
2 Opened Visual Studio
3 Clicked ‘Open a local folder’
4 Opened the mgear4 directory that was just cloned
5 In the Visual Studio main menu bar clicked Tools\Command Line\Developer Command Prompt
6 In the command prompt ran this:
scons with-maya=2023 mgear_solvers
And this is the result
It’s dying on line 58 of \src\mgear_solvers.h which is this include
#include <iostream>
I’m not clear on how to get CMake to see this in order to access it.
Again, I’m kind of terrible at C++ project setup - CMake, and even VS settings are pretty foreign to me. If anyone can give me a direction to go in, I can google and try things till it works (hopefully).