-
-
Save IvarWithoutBones/c0960f2816a0e63385c29d879970f43a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bindings.cc: In function ‘void pybind11_init_tinyobjloader(pybind11::module&)’: | |
bindings.cc:21:14: error: ‘ObjReaderConfig’ was not declared in this scope | |
21 | py::class_<ObjReaderConfig>(tobj_module, "ObjReaderConfig") | |
| ^~~~~~~~~~~~~~~ | |
bindings.cc:21:29: error: template argument 1 is invalid | |
21 | py::class_<ObjReaderConfig>(tobj_module, "ObjReaderConfig") | |
| ^ | |
bindings.cc:23:36: error: ‘ObjReaderConfig’ is not a class, namespace, or enumeration | |
23 | .def_readwrite("triangulate", &ObjReaderConfig::triangulate); | |
| ^~~~~~~~~~~~~~~ | |
bindings.cc:26:14: error: ‘ObjReader’ was not declared in this scope | |
26 | py::class_<ObjReader>(tobj_module, "ObjReader") | |
| ^~~~~~~~~ | |
bindings.cc:26:23: error: template argument 1 is invalid | |
26 | py::class_<ObjReader>(tobj_module, "ObjReader") | |
| ^ | |
bindings.cc:28:28: error: ‘ObjReader’ is not a class, namespace, or enumeration | |
28 | .def("ParseFromFile", &ObjReader::ParseFromFile, py::arg("filename"), py::arg("option") = ObjReaderConfig()) | |
| ^~~~~~~~~ | |
bindings.cc:29:30: error: ‘ObjReader’ is not a class, namespace, or enumeration | |
29 | .def("ParseFromString", &ObjReader::ParseFromString, py::arg("obj_text"), py::arg("mtl_text"), py::arg("option") = ObjReaderConfig()) | |
| ^~~~~~~~~ | |
bindings.cc:30:20: error: ‘ObjReader’ is not a class, namespace, or enumeration | |
30 | .def("Valid", &ObjReader::Valid) | |
| ^~~~~~~~~ | |
bindings.cc:31:24: error: ‘ObjReader’ is not a class, namespace, or enumeration | |
31 | .def("GetAttrib", &ObjReader::GetAttrib) | |
| ^~~~~~~~~ | |
bindings.cc:32:24: error: ‘ObjReader’ is not a class, namespace, or enumeration | |
32 | .def("GetShapes", &ObjReader::GetShapes) | |
| ^~~~~~~~~ | |
bindings.cc:33:27: error: ‘ObjReader’ is not a class, namespace, or enumeration | |
33 | .def("GetMaterials", &ObjReader::GetMaterials) | |
| ^~~~~~~~~ | |
bindings.cc:34:22: error: ‘ObjReader’ is not a class, namespace, or enumeration | |
34 | .def("Warning", &ObjReader::Warning) | |
| ^~~~~~~~~ | |
bindings.cc:35:20: error: ‘ObjReader’ is not a class, namespace, or enumeration | |
35 | .def("Error", &ObjReader::Error); | |
| ^~~~~~~~~ | |
bindings.cc:42:40: error: ‘colors’ is not a member of ‘tinyobj::attrib_t’ | |
42 | .def_readonly("colors", &attrib_t::colors) | |
| ^~~~~~ | |
bindings.cc:49:39: error: ‘lines’ is not a member of ‘tinyobj::shape_t’ | |
49 | .def_readwrite("lines", &shape_t::lines) | |
| ^~~~~ | |
bindings.cc:50:40: error: ‘points’ is not a member of ‘tinyobj::shape_t’ | |
50 | .def_readwrite("points", &shape_t::points); | |
| ^~~~~~ | |
bindings.cc:80:43: error: ‘GetAmbient’ is not a member of ‘tinyobj::material_t’ | |
80 | .def_property("ambient", &material_t::GetAmbient, &material_t::SetAmbient) | |
| ^~~~~~~~~~ | |
bindings.cc:80:68: error: ‘SetAmbient’ is not a member of ‘tinyobj::material_t’ | |
80 | .def_property("ambient", &material_t::GetAmbient, &material_t::SetAmbient) | |
| ^~~~~~~~~~ | |
bindings.cc:81:43: error: ‘GetDiffuse’ is not a member of ‘tinyobj::material_t’ | |
81 | .def_property("diffuse", &material_t::GetDiffuse, &material_t::SetDiffuse) | |
| ^~~~~~~~~~ | |
bindings.cc:81:68: error: ‘SetDiffuse’ is not a member of ‘tinyobj::material_t’ | |
81 | .def_property("diffuse", &material_t::GetDiffuse, &material_t::SetDiffuse) | |
| ^~~~~~~~~~ | |
bindings.cc:82:44: error: ‘GetSpecular’ is not a member of ‘tinyobj::material_t’ | |
82 | .def_property("specular", &material_t::GetSpecular, &material_t::SetSpecular) | |
| ^~~~~~~~~~~ | |
bindings.cc:82:70: error: ‘SetSpecular’ is not a member of ‘tinyobj::material_t’ | |
82 | .def_property("specular", &material_t::GetSpecular, &material_t::SetSpecular) | |
| ^~~~~~~~~~~ | |
bindings.cc:83:49: error: ‘GetTransmittance’ is not a member of ‘tinyobj::material_t’ | |
83 | .def_property("transmittance", &material_t::GetTransmittance, &material_t::SetTransmittance) | |
| ^~~~~~~~~~~~~~~~ | |
bindings.cc:83:80: error: ‘SetTransmittance’ is not a member of ‘tinyobj::material_t’ | |
83 | .def_property("transmittance", &material_t::GetTransmittance, &material_t::SetTransmittance) | |
| ^~~~~~~~~~~~~~~~ | |
bindings.cc:95:55: error: ‘reflection_texname’ is not a member of ‘tinyobj::material_t’ | |
95 | .def_readwrite("reflection_texname", &material_t::reflection_texname) | |
| ^~~~~~~~~~~~~~~~~~ | |
bindings.cc:112:45: error: ‘GetCustomParameter’ is not a member of ‘tinyobj::material_t’ | |
112 | .def("GetCustomParameter", &material_t::GetCustomParameter) | |
| ^~~~~~~~~~~~~~~~~~ | |
bindings.cc:119:14: error: ‘lines_t’ was not declared in this scope | |
119 | py::class_<lines_t>(tobj_module, "lines_t") | |
| ^~~~~~~ | |
bindings.cc:119:21: error: template argument 1 is invalid | |
119 | py::class_<lines_t>(tobj_module, "lines_t") | |
| ^ | |
bindings.cc:122:14: error: ‘points_t’ was not declared in this scope; did you mean ‘wint_t’? | |
122 | py::class_<points_t>(tobj_module, "points_t") | |
| ^~~~~~~~ | |
| wint_t | |
bindings.cc:122:22: error: template argument 1 is invalid | |
122 | py::class_<points_t>(tobj_module, "points_t") | |
| ^ | |
error: command 'gcc' failed with exit status 1 | |
builder for '/nix/store/zizh6yd7r07j7ap94bg3qbwghsvcj3cx-python3.8-tinyobjloader-py-1.0.6.drv' failed with exit code 1 | |
error: build of '/nix/store/zizh6yd7r07j7ap94bg3qbwghsvcj3cx-python3.8-tinyobjloader-py-1.0.6.drv' failed |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment