I've been attempting to build the python bindings for OpenStudio, and am running into an error when building related to the error described here: https://github.com/NREL/OpenStudio/issues/2796
Except in my case, the use of: make GenerateIddFactory make GenerateIddFactoryRun Doesn't seem to fix anything.
Details:
I'm using a 64 bit Ubuntu 14.04, running on a docker container. I've followed the instructions here: https://github.com/NREL/OpenStudio/wiki/Building-Additional-Language-Bindings, and have no problems until I attempt to run 'make' in the /build directory, which is where I'm running into this error.
Here's an image of my configuration settings in ccmake:
I have git cloned and attempted this with both the latest OpenStudio version, as well as v2.6.0, and v2.5.0 but no success with either. The end goal is to try and generate Python bindings for python 3, but for simplicity's sake I've been using python 2.7 as per the official instructions.
Questions:
Is my configuration in ccmake set correctly? Do I only need to set BUILD_PYTHON_BINDINGS to ON, or do I need other options on? In the offical instructions, it says to enable "BUILD_SWIG" to make sure we get the most appropriate version of SWIG for the bindings, but that option doesn't seem to appear anywhere. Is that a relic from an older OpenStudio version, or am I doing something wrong?
In order to narrow down the source of error due to version incompatibility, is there a version of OpenStudio that is known to generate the Python bindings correctly? I found this older repo from Julien: https://github.com/jmarrec/OpenStudio-2.0-Python3 indicating 2.0.0 is one, (with python 3!), but am wondering if there's anything more recent. (I'm in the process of cloning 2.0.0 now and testing it out).
Thanks,
Saeran