Are you building from the 'makefile' wrapper, or straight cmake? If the former, how about this:
make nuke make VERBOSE=1 cmakesetup > setup.log and post the results. That will give a lot of info about different software versions. > On Jan 13, 2019, at 7:46 AM, Steve Hwan <[email protected]> wrote: > > Hello, I just joined this list. I'm not sure what the appropriate level of > "can't build" is, but I did try poking around google a little first and > didn't see anything. > > I'm having trouble building both 2.0.4(release) and 2.1.0(master). > Originally, I actually grabbed 2.1.0 by accident, but it's the same problem > in both versions. For the rest of this email, I'll be referring to my 2.0.4 > build (just git cloned and attepted building "today"/yesterday).. > > The build is 95% in and I get: > > [ 95%] Building CXX object > src/python/CMakeFiles/PyOpenImageIO.dir/py_imageinput.cpp.o > cd /mnt/d/Users/svhwan/developer_builds/oiio/build/linux64/src/python && > /usr/bin/c++ -DOIIO_PYMODULE_NAME=OpenImageIO -DPyOpenImageIO_EXPORTS > -DUSE_STD_REGEX -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS > -I/mnt/d/Users/svhwan/developer_builds/oiio/build/linux64/include > -I/mnt/d/Users/svhwan/developer_builds/oiio/src/include > -I/usr/include/x86_64-linux-gnu -I/usr/local/include -I/usr/include/OpenEXR > -I/usr/include/python2.7 -O3 -DNDEBUG -fPIC -Wall -Werror -fno-math-errno > -Wno-error=unused-local-typedefs -Wno-unused-local-typedefs > -Wno-unused-result -Wno-error=misleading-indentation -Wno-aligned-new > -Wno-error=noexcept-type -std=c++11 -UUSE_FIELD3D -Wno-macro-redefined -o > CMakeFiles/PyOpenImageIO.dir/py_imageinput.cpp.o -c > /mnt/d/Users/svhwan/developer_builds/oiio/src/python/py_imageinput.cpp > In file included from > /mnt/d/Users/svhwan/developer_builds/oiio/src/python/py_imageinput.cpp:31:0: > /mnt/d/Users/svhwan/developer_builds/oiio/src/python/py_oiio.h: In > instantiation of ‘pybind11::array_t<T> PyOpenImageIO::make_numpy_array(T*, > int, size_t, size_t, size_t, size_t) [with T = float; size_t = long unsigned > int]’: > /mnt/d/Users/svhwan/developer_builds/oiio/src/python/py_oiio.h:446:38: > required from here > /mnt/d/Users/svhwan/developer_builds/oiio/src/python/py_oiio.h:413:17: error: > invalid user-defined conversion from ‘PyOpenImageIO::make_numpy_array(T*, > int, size_t, size_t, size_t, size_t) [with T = float; size_t = long unsigned > int]::<lambda(void*)>’ to ‘void (*)(PyObject*) {aka void (*)(_object*)}’ > [-fpermissive] > py::capsule free_when_done(mem, [](void* f) { > ^~~~~~~~~~~~~~ > /mnt/d/Users/svhwan/developer_builds/oiio/src/python/py_oiio.h:413:47: note: > candidate is: PyOpenImageIO::make_numpy_array(T*, int, size_t, size_t, > size_t, size_t) [with T = float; size_t = long unsigned > int]::<lambda(void*)>::operator void (*)(void*)() const <near match> > py::capsule free_when_done(mem, [](void* f) { > ^ > /mnt/d/Users/svhwan/developer_builds/oiio/src/python/py_oiio.h:413:47: note: > no known conversion from ‘void (*)(void* > ’ to ‘void (*)(PyObject*) {aka void (*)(_object*)}’ > In file included from /usr/include/pybind11/cast.h:13:0, > from /usr/include/pybind11/attr.h:13, > from /usr/include/pybind11/pybind11.h:36, > from /usr/include/pybind11/numpy.h:12, > from > /mnt/d/Users/svhwan/developer_builds/oiio/src/python/py_oiio.h:57, > from > /mnt/d/Users/svhwan/developer_builds/oiio/src/python/py_imageinput.cpp:31: > > Actually, I think that's only about half of it. > Should I post the whole thing? I have one log file that is the last 166 lines > of that build (starting at the same place, but going to the very end) and I > have another one that is 1029 lines long, but only has stdout, not > stderr(oops!). > > I'm not sure what all info is useful. Here's a bits of info about my build > environment:: > > svhwan@DESKTOP-QM6M9UR:/mnt/d/Users/svhwan/developer_builds/oiio$ cmake > --version > cmake version 3.10.2 > > CMake suite maintained and supported by Kitware (kitware.com/cmake > <http://kitware.com/cmake>). > svhwan@DESKTOP-QM6M9UR:/mnt/d/Users/svhwan/developer_builds/oiio$ > /usr/bin/c++ --version > c++ (Ubuntu 7.3.0-27ubuntu1~18.04) 7.3.0 > Copyright (C) 2017 Free Software Foundation, Inc. > This is free software; see the source for copying conditions. There is NO > warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. > > svhwan@DESKTOP-QM6M9UR:/mnt/d/Users/svhwan/developer_builds/oiio$ lsb_release > -a > No LSB modules are available. > Distributor ID: Ubuntu > Description: Ubuntu 18.04.1 LTS > Release: 18.04 > Codename: bionic > > And I should probably fess up and say: this ubuntu is being run as Windows > Subsystem for Linux (WSL). I'm using an ubuntu shell though. > > Thanks in advance for any suggestions, > -Steve > > PS > On > https://github.com/OpenImageIO/oiio/blob/master/INSTALL.md > <https://github.com/OpenImageIO/oiio/blob/master/INSTALL.md> > there is a link for: > https://sites.google.com/site/openimageio/checking-out-and-building-openimageio > > <https://sites.google.com/site/openimageio/checking-out-and-building-openimageio> > > but when I try to go there, that address looks like it's an OpenImageIO area, > but says "Page Not Found." > > Similarly, on > https://sites.google.com/site/openimageio/home > <https://sites.google.com/site/openimageio/home> > There is a link for: > Checking out and building OpenImageIO > <https://sites.google.com/site/openimageio/system/errors/NodeNotFound?suri=wuid:gx:6598fc468a1d3f10> > > and even the link itself points to > https://sites.google.com/site/openimageio/system/errors/NodeNotFound?suri=wuid:gx:6598fc468a1d3f10 > > <https://sites.google.com/site/openimageio/system/errors/NodeNotFound?suri=wuid:gx:6598fc468a1d3f10> > And sure enough, it takes me to a "Page Not Found" page. > > > _______________________________________________ > Oiio-dev mailing list > [email protected] > http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org -- Larry Gritz [email protected]
_______________________________________________ Oiio-dev mailing list [email protected] http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org
