GenerateIddFactory problem when building python bindings for OpenStudio
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/is...
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/wi..., 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.
My docker image is here, in case anyone wants to pull and check it out: https://hub.docker.com/r/saeranv/ops. All the dependencies are conveniently downloaded, include the 2.6.0 version of OpenStudio. The way I'm working right now is to ssh into the container, and make the build directory, and then run ccmake ../openstudiocore from there.
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... 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
Update 1: I just checked with OpenStudio 2.0.0 and it's also not working, so perhaps the problem must be with how I'm configuring my ccmake or elsewhere (python path?).
Update 2: I decided to simplify things further and just try and build the latest OpenStudio develop branch, with no python bindings. Still didn't work. The only thing I changed in my ccmake configuration was to enable MAXIMIZE_CPU_USAGE, and disable BUILD_DOCUMENTATION.
This is my dockerfile, where you can see the commands I ran to generate the environment: https://github.com/saeranv/Fermi/blob... .