[SOLVED] IfcPlusPlus compiled on Gentoo - questions and alternatives?

This forum section is only for IFC-related issues
User avatar
bernd
Posts: 11074
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland

Re: [SOLVED] IfcPlusPlus compiled on Gentoo - questions and alternatives?

Postby bernd » Sun May 12, 2019 9:05 am

The extended app for windows can be downloaded here: http://www.ifcquery.com/

in the regard of attribut widget fullack
User avatar
bernd
Posts: 11074
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland

Re: [SOLVED] IfcPlusPlus compiled on Gentoo - questions and alternatives?

Postby bernd » Sun May 12, 2019 10:30 am

if Fabian is with us this would be a good GSoC too. Only C++ and Qt is required, no special app or ifc knowledge.
User avatar
bernd
Posts: 11074
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland

Re: IfcPlusPlus compiled on Gentoo - questions and alternatives?

Postby bernd » Mon May 13, 2019 10:56 am

Cyril wrote:
Fri May 10, 2019 11:22 pm
I use it for teach IFC basics (until I find a cross-platform equivalent).
Since you are based in Geneva (like me in Switzerland :D ), where and who do you teach?


Cyril wrote:
Fri May 10, 2019 11:22 pm
Unfortunately this project use WPF which is not implemented in Mono : https://www.mono-project.com/docs/gui/wpf/.
Since I do not know anything about Mono it is a very value information.
User avatar
Cyril
Posts: 132
Joined: Wed Aug 23, 2017 5:04 pm
Location: Geneva (Switzerland)
Contact:

Re: IfcPlusPlus compiled on Gentoo - questions and alternatives?

Postby Cyril » Mon May 13, 2019 7:23 pm

bernd wrote:
Mon May 13, 2019 10:56 am
Cyril wrote:
Fri May 10, 2019 11:22 pm
I use it for teach IFC basics (until I find a cross-platform equivalent).
Since you are based in Geneva (like me in Switzerland :D ), where and who do you teach?
I answered in a PM ;-)
I blog about HVAC / BIM / Energy : pythoncvc.net. If you like you can follow the RSS feed.
User avatar
bernd
Posts: 11074
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland

Re: [SOLVED] IfcPlusPlus compiled on Gentoo - questions and alternatives?

Postby bernd » Mon Aug 12, 2019 7:22 pm

found a you tube video from the ifc viewer from ifcopenshell https://www.youtube.com/watch?v=Jxot2ERo-zU
vocx
Posts: 5206
Joined: Thu Oct 18, 2018 9:18 pm

Re: IfcPlusPlus compiled on Gentoo - questions and alternatives?

Postby vocx » Sat Aug 22, 2020 5:25 am

kkremitzki wrote:
Mon Jan 14, 2019 5:01 pm
yorik wrote:
Mon Jan 14, 2019 4:34 pm
too bad pythonocc seems not yet compatible with occt7.3...
As I understand it, it seems like they want to stick with OCE, too, so I wouldn't hold your breath on this one.
I just noticed that PythonOCC is now compatible with OpenCASCADE (official) 7.4.

The older PythonOCC was intended to be used with OCE 0.18 (OCCT 6.9.x).

However, it seems that the author finally gave in, so after a year, the newer PythonOCC is intended for the official OCCT 7.4; this is good news for FreeCAD and for the IFC ecosystem like IfcOpenShell and IfcPlusPlus.

Now the central library is called PythonOCC-core. Maybe this can also be packaged in Debian?
Always add the important information to your posts if you need help. Also see Tutorials and Video tutorials.
To support the documentation effort, and code development, your donation is appreciated: liberapay.com/FreeCAD.
BIM Bo
Posts: 34
Joined: Sun Nov 22, 2020 3:55 pm

Re: [SOLVED] IfcPlusPlus compiled on Gentoo - questions and alternatives?

Postby BIM Bo » Fri Dec 11, 2020 2:42 pm

I'd like to add info about how to compile IfcPlusPlus on Arch Linux:

You probably need http://www.openscenegraph.org/, at least that was the single package missing for me. Everything else was already installed

Code: Select all

pacman -S community/openscenegraph
clone the repo

Code: Select all

git clone https://github.com/ifcquery/ifcplusplus.git
In the repo directory, do

Code: Select all

cmake .
make -j$(nproc --ignore=2)
make install
1) observe the dot after the cmake
2) the make options will use all CPU cores -2. If you do a simple make, it will use just one (for me that's a 6x speedup)

In case calling the binary will throw an error

Code: Select all

> SimpleViewerExample
SimpleViewerExample: error while loading shared libraries: libcarve.so: cannot open shared object file: No such file or directory
Then that's because the path /usr/local/lib (where libcarve.so has been installed) is unknown to the linker.

create e.g. a file 99-local.conf (containing the line /usr/local/lib) in the path /etc/ld.so.conf.d
and call

Code: Select all

> ldconfig -v
and you should be set:
(the time shown in the screenshot seems off by a factor of 1000, probably just the decimal point is wrong)
Attachments
ifcplus.png
ifcplus.png (683.57 KiB) Viewed 95 times