Title: linking error on gcc · Issue #111 · IfcOpenShell/IfcOpenShell · GitHub
Open Graph Title: linking error on gcc · Issue #111 · IfcOpenShell/IfcOpenShell
X Title: linking error on gcc · Issue #111 · IfcOpenShell/IfcOpenShell
Description: Hi just pulled newest ifcos. I used commit 625 fd4086a I get tons of linking errors on ifcconvert: hugo@weide:~/Documents/dev/ifcopenshell/ifcopenshell-official/build$ cmake \ > -DOCC_INCLUDE_DIR=/usr/include/oce \ > -DPYTHON_INCLUDE_DIR...
Open Graph Description: Hi just pulled newest ifcos. I used commit 625 fd4086a I get tons of linking errors on ifcconvert: hugo@weide:~/Documents/dev/ifcopenshell/ifcopenshell-official/build$ cmake \ > -DOCC_INCLUDE_DIR=/...
X Description: Hi just pulled newest ifcos. I used commit 625 fd4086a I get tons of linking errors on ifcconvert: hugo@weide:~/Documents/dev/ifcopenshell/ifcopenshell-official/build$ cmake \ > -DOCC_INCLUDE_DI...
Opengraph URL: https://github.com/IfcOpenShell/IfcOpenShell/issues/111
X: @github
Domain: github.com
IPv4 address: 140.82.113.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"linking error on gcc","articleBody":"Hi just pulled newest ifcos. I used commit 625 https://github.com/IfcOpenShell/IfcOpenShell/commit/fd4086aa8d7b22eed9c9e6535007f8c66e9bf0e7\n\nI get tons of linking errors on ifcconvert:\n\n```\nhugo@weide:~/Documents/dev/ifcopenshell/ifcopenshell-official/build$ cmake \\\n> -DOCC_INCLUDE_DIR=/usr/include/oce \\\n> -DPYTHON_INCLUDE_DIR=/usr/include/python2.7 \\\n> -DPYTHON_LIBRARY=/usr/lib/python2.7/config-x86_64-linux-gnu/libpython2.7.so \\\n> -DUNICODE_SUPPORT=True \\\n> -DCOLLADA_SUPPORT=False \\\n> -DUSE_IFC4=False \\\n> -DBUILD_IFCPYTHON=True \\\n> -DBUILD_EXAMPLES=False \\\n> ../ifcos/cmake/\n-- The C compiler identification is GNU 4.9.2\n-- The CXX compiler identification is GNU 4.9.2\n-- Check for working C compiler: /usr/bin/cc\n-- Check for working C compiler: /usr/bin/cc -- works\n-- Detecting C compiler ABI info\n-- Detecting C compiler ABI info - done\n-- Check for working CXX compiler: /usr/bin/c++\n-- Check for working CXX compiler: /usr/bin/c++ -- works\n-- Detecting CXX compiler ABI info\n-- Detecting CXX compiler ABI info - done\n-- BINDIR: /usr/local/bin\n-- INCLUDEDIR: /usr/local/include\n-- LIBDIR: /usr/local/lib\n-- Boost version: 1.55.0\n-- Found the following Boost libraries:\n-- system\n-- program_options\n-- regex\n-- thread\n-- date_time\n-- Boost include files found in /usr/include\n-- Boost libraries found in /usr/lib/x86_64-linux-gnu\n-- Looking for opencascade include files in: /usr/include/oce\n-- Header files found\n-- Looking for opencascade library files in: /usr/lib\n-- Use OCC_LIBRARY_DIR to specify another directory\n-- Library files found\n-- No ICU include directory specified\n-- No ICU library directory specified\n-- ICU libraries found\n-- Looking for C++ include limits \n-- Looking for C++ include limits - found \n-- Looking for C++ include climits \n-- Looking for C++ include climits - found \n-- Looking for C++ include limits.h \n-- Looking for C++ include limits.h - found \n-- Looking for C++ include fstream \n-- Looking for C++ include fstream - found \n-- Looking for C++ include fstream.h \n-- Looking for C++ include fstream.h - not found \n-- Looking for C++ include iomanip \n-- Looking for C++ include iomanip - found \n-- Looking for C++ include iomanip.h \n-- Looking for C++ include iomanip.h - not found \n-- Looking for C++ include iostream \n-- Looking for C++ include iostream - found \n-- Looking for C++ include iostream.h \n-- Looking for C++ include iostream.h - not found \n-- Set INSTALL_RPATH for IfcConvert: /usr/lib/x86_64-linux-gnu \n-- Set INSTALL_RPATH for IfcGeomServer: /usr/lib/x86_64-linux-gnu \n-- Found SWIG: /usr/bin/swig2.0 (found version \"2.0.12\") \n-- Found PythonLibs: /usr/lib/python2.7/config-x86_64-linux-gnu/libpython2.7.so (found version \"2.7.9\") \n-- Set INSTALL_RPATH for _ifcopenshell_wrapper: \n-- Found PythonInterp: /usr/bin/python (found version \"2.7.9\") \n-- Configuring done \n-- Generating done \n-- Build files have been written to: /home/hugo/Documents/dev/ifcopenshell/ifcopenshell-official/build \nhugo@weide:~/Documents/dev/ifcopenshell/ifcopenshell-official/build$ make \nScanning dependencies of target IfcParse \n[ 3%] Building CXX object CMakeFiles/IfcParse.dir/home/hugo/Documents/dev/ifcopenshell/ifcopenshell-official/ifcos/src/ifcparse/IfcUtil.cpp.o \n[ 6%] Building CXX object CMakeFiles/IfcParse.dir/home/hugo/Documents/dev/ifcopenshell/ifcopenshell-official/ifcos/src/ifcparse/IfcHierarchyHelper.cpp.o \n[ 9%] Building CXX object CMakeFiles/IfcParse.dir/home/hugo/Documents/dev/ifcopenshell/ifcopenshell-official/ifcos/src/ifcparse/IfcSpfHeader.cpp.o \n[ 12%] Building CXX object CMakeFiles/IfcParse.dir/home/hugo/Documents/dev/ifcopenshell/ifcopenshell-official/ifcos/src/ifcparse/IfcLogger.cpp.o \n[ 15%] Building CXX object CMakeFiles/IfcParse.dir/home/hugo/Documents/dev/ifcopenshell/ifcopenshell-official/ifcos/src/ifcparse/IfcWrite.cpp.o \n[ 18%] Building CXX object CMakeFiles/IfcParse.dir/home/hugo/Documents/dev/ifcopenshell/ifcopenshell-official/ifcos/src/ifcparse/Ifc2x3-latebound.cpp.o \n[ 21%] Building CXX object CMakeFiles/IfcParse.dir/home/hugo/Documents/dev/ifcopenshell/ifcopenshell-official/ifcos/src/ifcparse/IfcSIPrefix.cpp.o \n[ 24%] Building CXX object CMakeFiles/IfcParse.dir/home/hugo/Documents/dev/ifcopenshell/ifcopenshell-official/ifcos/src/ifcparse/IfcCharacterDecoder.cpp.o \n[ 27%] Building CXX object CMakeFiles/IfcParse.dir/home/hugo/Documents/dev/ifcopenshell/ifcopenshell-official/ifcos/src/ifcparse/Ifc2x3.cpp.o \n[ 30%] Building CXX object CMakeFiles/IfcParse.dir/home/hugo/Documents/dev/ifcopenshell/ifcopenshell-official/ifcos/src/ifcparse/IfcLateBoundEntity.cpp.o \n[ 33%] Building CXX object CMakeFiles/IfcParse.dir/home/hugo/Documents/dev/ifcopenshell/ifcopenshell-official/ifcos/src/ifcparse/IfcGlobalId.cpp.o \n[ 36%] Building CXX object CMakeFiles/IfcParse.dir/home/hugo/Documents/dev/ifcopenshell/ifcopenshell-official/ifcos/src/ifcparse/IfcParse.cpp.o \nLinking CXX static library libIfcParse.a \n[ 36%] Built target IfcParse \nScanning dependencies of target IfcGeom \n[ 39%] Building CXX object CMakeFiles/IfcGeom.dir/home/hugo/Documents/dev/ifcopenshell/ifcopenshell-official/ifcos/src/ifcgeom/IfcGeomSerialisation.cpp.o \n[ 42%] Building CXX object CMakeFiles/IfcGeom.dir/home/hugo/Documents/dev/ifcopenshell/ifcopenshell-official/ifcos/src/ifcgeom/IfcGeomCurves.cpp.o \n[ 45%] Building CXX object CMakeFiles/IfcGeom.dir/home/hugo/Documents/dev/ifcopenshell/ifcopenshell-official/ifcos/src/ifcgeom/IfcGeomShapes.cpp.o \n[ 48%] Building CXX object CMakeFiles/IfcGeom.dir/home/hugo/Documents/dev/ifcopenshell/ifcopenshell-official/ifcos/src/ifcgeom/IfcGeomHelpers.cpp.o \n[ 51%] Building CXX object CMakeFiles/IfcGeom.dir/home/hugo/Documents/dev/ifcopenshell/ifcopenshell-official/ifcos/src/ifcgeom/IfcGeomRenderStyles.cpp.o \n[ 54%] Building CXX object CMakeFiles/IfcGeom.dir/home/hugo/Documents/dev/ifcopenshell/ifcopenshell-official/ifcos/src/ifcgeom/IfcGeomWires.cpp.o \n[ 57%] Building CXX object CMakeFiles/IfcGeom.dir/home/hugo/Documents/dev/ifcopenshell/ifcopenshell-official/ifcos/src/ifcgeom/IfcGeomFunctions.cpp.o \n/home/hugo/Documents/dev/ifcopenshell/ifcopenshell-official/ifcos/src/ifcgeom/IfcGeomFunctions.cpp:139:2: warning: #warning \"You are linking against linking against an older version of Open CASCADE. Version 6.9.0 introduces various improvements with relation to boolean operations. You are advised to upgrade.\" [-Wcpp] \n #warning \"You are linking against linking against an older version of Open CASCADE. Version 6.9.0 introduces various improvements with relation to boolean operations. You are advised to upgrade.\" \n ^ \n[ 60%] Building CXX object CMakeFiles/IfcGeom.dir/home/hugo/Documents/dev/ifcopenshell/ifcopenshell-official/ifcos/src/ifcgeom/IfcGeomRepresentation.cpp.o \n[ 63%] Building CXX object CMakeFiles/IfcGeom.dir/home/hugo/Documents/dev/ifcopenshell/ifcopenshell-official/ifcos/src/ifcgeom/IfcGeomFaces.cpp.o \n[ 66%] Building CXX object CMakeFiles/IfcGeom.dir/home/hugo/Documents/dev/ifcopenshell/ifcopenshell-official/ifcos/src/ifcgeom/IfcRegister.cpp.o \n[ 69%] Building CXX object CMakeFiles/IfcGeom.dir/home/hugo/Documents/dev/ifcopenshell/ifcopenshell-official/ifcos/src/ifcgeom/IfcGeomMaterial.cpp.o \nLinking CXX static library libIfcGeom.a \n[ 69%] Built target IfcGeom \nScanning dependencies of target IfcConvert \n[ 72%] Building CXX object CMakeFiles/IfcConvert.dir/home/hugo/Documents/dev/ifcopenshell/ifcopenshell-official/ifcos/src/ifcconvert/ColladaSerializer.cpp.o \n[ 75%] Building CXX object CMakeFiles/IfcConvert.dir/home/hugo/Documents/dev/ifcopenshell/ifcopenshell-official/ifcos/src/ifcconvert/XmlSerializer.cpp.o \n[ 78%] Building CXX object CMakeFiles/IfcConvert.dir/home/hugo/Documents/dev/ifcopenshell/ifcopenshell-official/ifcos/src/ifcconvert/util.cpp.o \n[ 81%] Building CXX object CMakeFiles/IfcConvert.dir/home/hugo/Documents/dev/ifcopenshell/ifcopenshell-official/ifcos/src/ifcconvert/SvgSerializer.cpp.o \n[ 84%] Building CXX object CMakeFiles/IfcConvert.dir/home/hugo/Documents/dev/ifcopenshell/ifcopenshell-official/ifcos/src/ifcconvert/IfcConvert.cpp.o\n[ 87%] Building CXX object CMakeFiles/IfcConvert.dir/home/hugo/Documents/dev/ifcopenshell/ifcopenshell-official/ifcos/src/ifcconvert/OpenCascadeBasedSerializer.cpp.o\n[ 90%] Building CXX object CMakeFiles/IfcConvert.dir/home/hugo/Documents/dev/ifcopenshell/ifcopenshell-official/ifcos/src/ifcconvert/WavefrontObjSerializer.cpp.o\nLinking CXX executable IfcConvert\nCMakeFiles/IfcConvert.dir/home/hugo/Documents/dev/ifcopenshell/ifcopenshell-official/ifcos/src/ifcconvert/SvgSerializer.cpp.o: In function `SvgSerializer::write(std::pair\u003cstd::string, std::vector\u003cutil::string_buffer, std::allocator\u003cutil::string_buffer> > >&, TopoDS_Wire const&)':\nSvgSerializer.cpp:(.text+0x2349): undefined reference to `Geom_Ellipse_Type_()'\nSvgSerializer.cpp:(.text+0x2552): undefined reference to `Handle_Standard_Transient::EndScope()'\nSvgSerializer.cpp:(.text+0x255c): undefined reference to `Handle_Standard_Transient::EndScope()'\nSvgSerializer.cpp:(.text+0x2761): undefined reference to `Handle_Standard_Transient::BeginScope()'\nSvgSerializer.cpp:(.text+0x2766): undefined reference to `Geom_Circle_Type_()'\nSvgSerializer.cpp:(.text+0x2791): undefined reference to `Handle_Geom_Conic::DownCast(Handle_Standard_Transient const&)'\nSvgSerializer.cpp:(.text+0x280f): undefined reference to `Geom_Circle_Type_()'\nSvgSerializer.cpp:(.text+0x2835): undefined reference to `Handle_Geom_Ellipse::DownCast(Handle_Standard_Transient const&)'\nSvgSerializer.cpp:(.text+0x2869): undefined reference to `Handle_Standard_Transient::EndScope()'\nSvgSerializer.cpp:(.text+0x3541): undefined reference to `Handle_Standard_Transient::EndScope()'\nSvgSerializer.cpp:(.text+0x3cb1): undefined reference to `Handle_Geom_Circle::DownCast(Handle_Standard_Transient const&)'\nSvgSerializer.cpp:(.text+0x3cd8): undefined reference to `Handle_Standard_Transient::EndScope()'\nSvgSerializer.cpp:(.text+0x42f2): undefined reference to `TopLoc_SListOfItemLocation::Clear()'\nSvgSerializer.cpp:(.text+0x42fb): undefined reference to `Handle_Standard_Transient::EndScope()'\nSvgSerializer.cpp:(.text+0x4304): undefined reference to `Handle_Standard_Transient::EndScope()'\n\nIfcGeomFaces.cpp:(.text._ZN24BRepOffsetAPI_MakeOffsetD0Ev[_ZN24BRepOffsetAPI_MakeOffsetD5Ev]+0xa0): undefined reference to `BRepBuilderAPI_Command::Delete()'\nIfcGeomFaces.cpp:(.text._ZN24BRepOffsetAPI_MakeOffsetD0Ev[_ZN24BRepOffsetAPI_MakeOffsetD5Ev]+0xaf): undefined reference to `Standard::Free(void*&)'\nIfcGeomFaces.cpp:(.text._ZN24BRepOffsetAPI_MakeOffsetD0Ev[_ZN24BRepOffsetAPI_MakeOffsetD5Ev]+0xd0): undefined reference to `BRepFill_ListOfOffsetWire::Clear()'\nIfcGeomFaces.cpp:(.text._ZN24BRepOffsetAPI_MakeOffsetD0Ev[_ZN24BRepOffsetAPI_MakeOffsetD5Ev]+0xd9): undefined reference to `TopTools_ListOfShape::Clear()'\nIfcGeomFaces.cpp:(.text._ZN24BRepOffsetAPI_MakeOffsetD0Ev[_ZN24BRepOffsetAPI_MakeOffsetD5Ev]+0xfd): undefined reference to `Handle_Standard_Transient::EndScope()'\nIfcGeomFaces.cpp:(.text._ZN24BRepOffsetAPI_MakeOffsetD0Ev[_ZN24BRepOffsetAPI_MakeOffsetD5Ev]+0x106): undefined reference to `Handle_Standard_Transient::EndScope()'\nIfcGeomFaces.cpp:(.text._ZN24BRepOffsetAPI_MakeOffsetD0Ev[_ZN24BRepOffsetAPI_MakeOffsetD5Ev]+0x11c): undefined reference to `BRepBuilderAPI_Command::Delete()'\nIfcGeomFaces.cpp:(.text._ZN24BRepOffsetAPI_MakeOffsetD0Ev[_ZN24BRepOffsetAPI_MakeOffsetD5Ev]+0x137): undefined reference to `TopTools_ListOfShape::Clear()'\nIfcGeomFaces.cpp:(.text._ZN24BRepOffsetAPI_MakeOffsetD0Ev[_ZN24BRepOffsetAPI_MakeOffsetD5Ev]+0x15f): undefined reference to `Handle_Standard_Transient::EndScope()'\nIfcGeomFaces.cpp:(.text._ZN24BRepOffsetAPI_MakeOffsetD0Ev[_ZN24BRepOffsetAPI_MakeOffsetD5Ev]+0x168): undefined reference to `Handle_Standard_Transient::EndScope()'\ncollect2: error: ld returned 1 exit status\nCMakeFiles/IfcConvert.dir/build.make:250: recipe for target 'IfcConvert' failed\nmake[2]: *** [IfcConvert] Error 1\nCMakeFiles/Makefile2:61: recipe for target 'CMakeFiles/IfcConvert.dir/all' failed\nmake[1]: *** [CMakeFiles/IfcConvert.dir/all] Error 2\nMakefile:117: recipe for target 'all' failed\nmake: *** [all] Error 2\n```\n","author":{"url":"https://github.com/berndhahnebach","@type":"Person","name":"berndhahnebach"},"datePublished":"2016-08-01T23:24:48Z","url":"https://github.com/IfcOpenShell/IfcOpenShell/issues/111"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:baac5738-9161-1282-3ebc-79c11f92d922 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C412:44B64:227C32:30652B:6B0473C2 |
| html-safe-nonce | 2c95c337f11b92651057ca8b9dff230fb07ff0363f535f9275672e3ce81b0341 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNDEyOjQ0QjY0OjIyN0MzMjozMDY1MkI6NkIwNDczQzIiLCJ2aXNpdG9yX2lkIjoiODg3NTU1MDAzMDY0ODYwMzU4NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 7c31e480858199cc49f1d6fe75dd44a4f859cb70352693137536643598088c49 |
| hovercard-subject-tag | issue:168765079 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/IfcOpenShell/IfcOpenShell/111/issue_layout |
| twitter:image | https://opengraph.githubassets.com/50bff099a3ac391494f08a207a1e1379f69f5fda7a720fb31aaa0528f3df0a58/IfcOpenShell/IfcOpenShell/issues/111 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/50bff099a3ac391494f08a207a1e1379f69f5fda7a720fb31aaa0528f3df0a58/IfcOpenShell/IfcOpenShell/issues/111 |
| og:image:alt | Hi just pulled newest ifcos. I used commit 625 fd4086a I get tons of linking errors on ifcconvert: hugo@weide:~/Documents/dev/ifcopenshell/ifcopenshell-official/build$ cmake \ > -DOCC_INCLUDE_DIR=/... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | berndhahnebach |
| hostname | github.com |
| expected-hostname | github.com |
| None | ae8802492f12d3ba4f6b0d814054e617a2a5616b6327bf8555c10cd5b0dc2a6f |
| turbo-cache-control | no-preview |
| go-import | github.com/IfcOpenShell/IfcOpenShell git https://github.com/IfcOpenShell/IfcOpenShell.git |
| octolytics-dimension-user_id | 13692563 |
| octolytics-dimension-user_login | IfcOpenShell |
| octolytics-dimension-repository_id | 40473201 |
| octolytics-dimension-repository_nwo | IfcOpenShell/IfcOpenShell |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 40473201 |
| octolytics-dimension-repository_network_root_nwo | IfcOpenShell/IfcOpenShell |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | cfb5f24c6e01d85f70804652a5107e5cac03a161 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width