IFC Viewer ifcplusplus

This forum section is only for IFC-related issues
User avatar
yorik
Founder
Posts: 13640
Joined: Tue Feb 17, 2009 9:16 pm
Location: Brussels
Contact:

Re: IFC Viewer ifcplusplus

Post by yorik »

Apparently XInitThreads() must be called before running any threaded application. I tried to add this at the beginning of the viewer code, but no luck. I guess it's way more complex than that. Maybe the author of ifcplusplus can help?
User avatar
bernd
Veteran
Posts: 12849
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: IFC Viewer ifcplusplus

Post by bernd »

yorik wrote:Apparently XInitThreads() must be called before running any threaded application...
Exactly, I did it and it workt for me. I had to add the C++11 standard as well and include X11 and thread. Found it at the internet here http://stackoverflow.com/questions/1151 ... r-using-qt :D
Attachments
screen.jpg
screen.jpg (136.78 KiB) Viewed 4145 times
jmaustpc
Veteran
Posts: 11207
Joined: Tue Jul 26, 2011 6:28 am
Location: Australia

Re: IFC Viewer ifcplusplus

Post by jmaustpc »

Look at that shed! Wow ...think of all the "good stuff" you could put in there ....if you had that shed...and somewhere big enough to fit it. :)
User avatar
bernd
Veteran
Posts: 12849
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: IFC Viewer ifcplusplus

Post by bernd »

jmaustpc wrote:... you could put in there ....if you had that shed...
Since it is possible to import that shed to FreeCAD one could put may be 1.000.000 of the electrical boards inside that shed which could be imported into FreeCAD too (viewtopic.php?f=9&t=5107). :D
User avatar
bernd
Veteran
Posts: 12849
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: IFC Viewer ifcplusplus

Post by bernd »

I gave ifcplusplus running on linux a permanent home on https://github.com/berndhahnebach/IFCPlusPlus
User avatar
yorik
Founder
Posts: 13640
Joined: Tue Feb 17, 2009 9:16 pm
Location: Brussels
Contact:

Re: IFC Viewer ifcplusplus

Post by yorik »

Wow excellent job Bernd! Finally a working linux IFC viewer!
User avatar
yorik
Founder
Posts: 13640
Joined: Tue Feb 17, 2009 9:16 pm
Location: Brussels
Contact:

Re: IFC Viewer ifcplusplus

Post by yorik »

Ah, I had to set EXE_LINKER_FLAGS variable in cmake to "-lX11", you might want to update that...
User avatar
bernd
Veteran
Posts: 12849
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: IFC Viewer ifcplusplus

Post by bernd »

yorik wrote:Wow excellent job Bernd! Finally a working linux IFC viewer!
Just put together the work of others. It's may be getting even better. The maintainer of ifcplusplus has interest in merging the code of the fork from Sylivian Marie (the one my ifcplusplus is based on). It would make ifcplusplus run on osx which is important because most of architects use osx. It means may be we'll get compatible with the main repository. Would be great, would'nt it :D
User avatar
yorik
Founder
Posts: 13640
Joined: Tue Feb 17, 2009 9:16 pm
Location: Brussels
Contact:

Re: IFC Viewer ifcplusplus

Post by yorik »

Definitely. Maybe the author of ifcplusplus, who claimed it's too much work to maintain a linux version, doesn't realize that it's not so much, now that some helpful people have thrown the bases :geek:

One other thing I noticed - and apparently in your screenshot too - is that the icons are missing from the buttons on the left toolbar. Strange, all the resources system seems in place...
User avatar
yorik
Founder
Posts: 13640
Joined: Tue Feb 17, 2009 9:16 pm
Location: Brussels
Contact:

Re: IFC Viewer ifcplusplus

Post by yorik »

Now next urgent task, make the freecad ifc exporter :)
Post Reply