ifcPlusPlus

This forum section is only for IFC-related issues
cadgiru
Posts: 91
Joined: Thu Oct 27, 2016 9:53 am
Location: Norway
Contact:

ifcPlusPlus

Post by cadgiru »

Hi
Not actually Arch, but...
Trying to install / Compile ifc++ on linux, sadly I find the link
http://ifcplusplus.googlecode.com/svn/trunk/ Build-instructions for Linux, seems to be broken.
Anybody able to help?

Regards
paullee
Veteran
Posts: 5098
Joined: Wed May 04, 2016 3:58 pm

Re: ifcPlusPlus

Post by paullee »

User avatar
yorik
Founder
Posts: 13640
Joined: Tue Feb 17, 2009 9:16 pm
Location: Brussels
Contact:

Re: ifcPlusPlus

Post by yorik »

ifc++ is now on github: https://github.com/ifcquery/ifcplusplus
only the build instructions are outdated: https://github.com/ifcquery/ifcplusplus ... structions
the line: svn checkout http://ifcplusplus.googlecode.com/svn/trunk/ ifcplusplus
shoudl be: git clone https://github.com/ifcquery/ifcplusplus.git
cadgiru
Posts: 91
Joined: Thu Oct 27, 2016 9:53 am
Location: Norway
Contact:

Re: ifcPlusPlus

Post by cadgiru »

thx, I gave it a go... and nearly made it

Got error

CMake 3.7.2 or higher is required. You are running version 3.5.1

OS: Ubuntu 16.04.5 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.14375 (Git)
Build type: None
Branch: master
Hash: a1b0c2ff32315aa09ad9b58d9716e878abe7ae4e
Python version: 2.7.12
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedStates (en_US)


But thanks anyway
paullee
Veteran
Posts: 5098
Joined: Wed May 04, 2016 3:58 pm

Re: ifcPlusPlus

Post by paullee »

I think Bernd built on debian and have some instructions for compiling on linux... can't find it ... ubuntu is debian?

https://github.com/berndhahnebach/IfcPl ... its/master
User avatar
kkremitzki
Veteran
Posts: 2511
Joined: Thu Mar 03, 2016 9:52 pm
Location: Illinois

Re: ifcPlusPlus

Post by kkremitzki »

paullee wrote: Wed Aug 22, 2018 3:12 pm I think Bernd built on debian and have some instructions for compiling on linux... can't find it ... ubuntu is debian?

https://github.com/berndhahnebach/IfcPl ... its/master
Basically yes, Ubuntu is based on Debian Testing.

Regarding the packaging: this looks like a job for me! Should I go ahead and try to get IFC++ in via the Debian Science Team? They have a bit of a backlog for my work, but this looks like it would be a good reason to keep them busy.
Like my FreeCAD work? I'd appreciate any level of support via Patreon, Liberapay, or PayPal! Read more about what I do at my blog.
paullee
Veteran
Posts: 5098
Joined: Wed May 04, 2016 3:58 pm

Re: ifcPlusPlus

Post by paullee »

kkremitzki wrote: Wed Aug 22, 2018 3:51 pm
paullee wrote: Wed Aug 22, 2018 3:12 pm I think Bernd built on debian and have some instructions for compiling on linux... can't find it ... ubuntu is debian?

https://github.com/berndhahnebach/IfcPl ... its/master
Basically yes, Ubuntu is based on Debian Testing.

Regarding the packaging: this looks like a job for me! Should I go ahead and try to get IFC++ in via the Debian Science Team? They have a bit of a backlog for my work, but this looks like it would be a good reason to keep them busy.
I have only very minimal elementary understanding in compiling and tried compiling on Fedora27/26 based on Bernd's information / repo.

Maybe you can contribute to discussion at that thread https://forum.freecadweb.org/viewtopic. ... &start=150

Good to hear more people work on ifc++ and make that viewer work on every platform!?
damian
Posts: 583
Joined: Sun May 31, 2015 6:16 pm

Re: ifcPlusPlus

Post by damian »

cadgiru wrote: Wed Aug 22, 2018 1:46 pm Got error

CMake 3.7.2 or higher is required. You are running version 3.5.1
You can download a binary of whatever version of cmake from https://cmake.org/download/
I put the file cmake-3.12.1-Linux-x86_64.sh, for instance, in my home folder, change the permissions, execute it, and I've got a new version of cmake available. Actually I've got a half dozen versions in my home folder.
When I want a version, go to the folder and /bin/cmake-gui, double click.
User avatar
bernd
Veteran
Posts: 12849
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: ifcPlusPlus

Post by bernd »

https://github.com/berndhahnebach/IfcPl ... its/master

yep I have been maintaining a linux port for a few years now. Latest version is on my repo.

@kurt, that would be great. One smal problem on debian based systems. ATM openscenegraph is built against Qt4 thus one needs to build osg before building Ifc++ See hints in my repo.
User avatar
bernd
Veteran
Posts: 12849
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: ifcPlusPlus

Post by bernd »

@cadgiru

just try to edit the cmakelists.txt to your cmake version. Ifcpp should compile with lower cmake too. Try my repo since it is tested on linux gcc.
Post Reply