IFC Viewer ifcplusplus

This forum section is only for IFC-related issues
User avatar
twohot
Posts: 63
Joined: Tue May 17, 2011 10:48 pm
Location: 9ja://coalcity
Contact:

Re: IFC Viewer ifcplusplus

Post by twohot »

I dont see any executable in the build directory.
User avatar
bernd
Veteran
Posts: 12851
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: IFC Viewer ifcplusplus

Post by bernd »

twohot wrote:I dont see any executable in the build directory.
again read the readme!
yourbuilddirectory/Debug/SimpleViewerExample
will be the binary you are looking for!
User avatar
bernd
Veteran
Posts: 12851
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: IFC Viewer ifcplusplus

Post by bernd »

For the linux guys around. Just updated my Repo to the latest IfcPlusPlus of Fabian Gerold.

https://github.com/berndhahnebach/IfcPl ... its/master
paullee
Veteran
Posts: 5119
Joined: Wed May 04, 2016 3:58 pm

Re: IFC Viewer ifcplusplus

Post by paullee »

bernd wrote: Wed Jun 22, 2016 10:35 am For the linux guys around. Just updated my Repo to the latest IfcPlusPlus of Fabian Gerold.

https://github.com/berndhahnebach/IfcPl ... its/master
Hi, thanks for building this first.

A discussion on import IFC on Mint have Yorik pointed to IfcPlusPlus https://forum.freecadweb.org/viewtopic ... 09#p204121 As I am on Fedora 25, compiling doesn't work, and I re-read this thread.

Attempt to use your repo fail at some point. I have barely any idea what the message below means and checking the log offer not much information for me.

I need something like development package for QT4 or something else?
"dnf search qt4 | grep -i 'lib' " does not return something making sense for me.

Thanks for any idea.

(BTW, anybody else have succeeded in building an Ifc++ on Fedora?)


Last few lines of output upon cmake ../
...
-- Linux OS --> Qt4 is used
CMake Error at /usr/share/cmake/Modules/FindQt4.cmake:1318 (message):
Found unsuitable Qt version "" from NOTFOUND, this code requires Qt 4.x
Call Stack (most recent call first):
SimpleViewerExample/CMakeLists.txt:18 (FIND_PACKAGE)


-- Configuring incomplete, errors occurred!
See also "/home/paullee/IfcPlusPlus-master_Bernd-repo/build/CMakeFiles/CMakeOutput.log".
User avatar
twohot
Posts: 63
Joined: Tue May 17, 2011 10:48 pm
Location: 9ja://coalcity
Contact:

Re: IFC Viewer ifcplusplus

Post by twohot »

I succeeded with it but that was a long time ago. I am going to try again
However, about qt4, it should already be installed in Fedora. It goes by "qt" only. So, you should be looking for "qt-devel" for your compilation purposes. To install another version of "qt", append the required version number ... eg. "qt3", "qt5" .... but not "qt4" (because, it is just "qt")
paullee
Veteran
Posts: 5119
Joined: Wed May 04, 2016 3:58 pm

Re: IFC Viewer ifcplusplus

Post by paullee »

twohot wrote: Thu Dec 14, 2017 1:56 am I succeeded with it but that was a long time ago. I am going to try again
However, about qt4, it should already be installed in Fedora. It goes by "qt" only. So, you should be looking for "qt-devel" for your compilation purposes. To install another version of "qt", append the required version number ... eg. "qt3", "qt5" .... but not "qt4" (because, it is just "qt")
Thanks for the hint!

Try a few combination ... searching for qt5-dev / qt3-dev return something, but 'qt4' + 'dev' only return qdevelop.x86_64 - Installing the latter doesn't resolve the problem, same error message....

I have not much idea (no in fact).


[root@f25--80G-Hdd--c2duo ~]# dnf search qt | grep -i 'qt5-dev'
qt5-devel.noarch : Qt5 meta devel package
...

[root@f25--80G-Hdd--c2duo ~]# dnf search qt | grep -i 'qt3-dev'
...
qt3-devel.i686 : Development files for the Qt 3 GUI toolkit
qt3-devel.x86_64 : Development files for the Qt 3 GUI toolkit
qt3-devel-docs.x86_64 : Documentation for the Qt 3 GUI toolkit
...

[paullee@f25--80G-Hdd--c2duo ~]$ dnf search qt | grep -i 'dev' | grep -i 'qt4'
qt4pas-devel.i686 : Development files for qt4pas
qt4pas-devel.x86_64 : Development files for qt4pas
python2-pyudev-qt4.noarch : Qt4 integration for pyudev
python3-PyQt4-devel.i686 : Python 3 bindings for Qt4
python3-PyQt4-devel.x86_64 : Python 3 bindings for Qt4
python3-pyudev-qt4.noarch : Qt4 integration for pyudev
qjdns-qt4-devel.i686 : Development files for qjdns-qt4
qjdns-qt4-devel.x86_64 : Development files for qjdns-qt4
poppler-qt-devel.i686 : Development files for Qt4 wrapper
poppler-qt-devel.x86_64 : Development files for Qt4 wrapper
libqtxdg-qt4-devel.i686 : Qt - development files for qtxdg
libqtxdg-qt4-devel.x86_64 : Qt - development files for qtxdg
qtspell-qt4-devel.i686 : Development files for qtspell-qt4
qtspell-qt4-devel.x86_64 : Development files for qtspell-qt4
PyQt4-doc.noarch : PyQt4 developer documentation and examples
qtermwidget-devel.i686 : Qt4 terminal widget - devel package
qtermwidget-devel.x86_64 : Qt4 terminal widget - devel package
telepathy-qt4-devel.i686 : Development files for telepathy-qt4
telepathy-qt4-devel.x86_64 : Development files for telepathy-qt4
PyQt4-devel.i686 : Files needed to build other bindings based on Qt4
PyQt4-devel.x86_64 : Files needed to build other bindings based on Qt4
avahi-qt4-devel.i686 : Libraries and header files for avahi Qt4 development
avahi-qt4-devel.x86_64 : Libraries and header files for avahi Qt4 development
qwt5-qt4-devel.i686 : Development files for qwt5
qwt5-qt4-devel.x86_64 : Development files for qwt5
qwtplot3d-qt4-devel.i686 : Development files for qwtplot3d
qwtplot3d-qt4-devel.x86_64 : Development files for qwtplot3d
qhexedit2-devel.i686 : Development files for qhexedit2 Qt4
qhexedit2-devel.x86_64 : Development files for qhexedit2 Qt4
qcustomplot-devel.i686 : Development files for qcustomplot (Qt4)
qcustomplot-devel.x86_64 : Development files for qcustomplot (Qt4)
qdevelop.x86_64 : Development environment dedicated to Qt4
python2-qhexedit2-devel.i686 : Development files for the qhexedit2 Qt4 Python2
python2-qhexedit2-devel.x86_64 : Development files for the qhexedit2 Qt4 Python2
python3-qhexedit2-devel.i686 : Development files for the qhexedit2 Qt4 Python3
python3-qhexedit2-devel.x86_64 : Development files for the qhexedit2 Qt4 Python3
[paullee@f25--80G-Hdd--c2duo ~]$ ssh -l root 127.0.0.1
root@127.0.0.1's password:
Last login: Thu Dec 14 00:04:39 2017 from 127.0.0.1
[root@f25--80G-Hdd--c2duo ~]# dnf install qdevelop.x86_64
User avatar
bernd
Veteran
Posts: 12851
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: IFC Viewer ifcplusplus

Post by bernd »

I only know debian ...

original cmake builds against qt5, but on debian openscenegraph is built with qt4. Thus ifc++ has to be built with qt4 on debian. Thus I changed the cmake of ifc++ in this regard.

what is your standard qt on fedora?
User avatar
twohot
Posts: 63
Joined: Tue May 17, 2011 10:48 pm
Location: 9ja://coalcity
Contact:

Re: IFC Viewer ifcplusplus

Post by twohot »

paullee wrote:Try a few combination ... searching for qt5-dev / qt3-dev return something, but 'qt4' + 'dev' only return qdevelop.x86_64 - Installing the latter doesn't resolve the problem, same error message....

I have not much idea (no in fact).
It doesn't appear that you understood my hint. You should not be looking for qt4. It is simply "qt"
I am currently compiling IfcPlusPlus after performing the following:

Code: Select all

dnf install qt-devel, OpenSceneGraph-devel
bernd wrote: what is your standard qt on fedora?
It is "qt" .... yes, just "qt" without "4" prefix
User avatar
bernd
Veteran
Posts: 12851
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: IFC Viewer ifcplusplus

Post by bernd »

Have you read this ? https://github.com/berndhahnebach/IfcPl ... /README.md

With which standard qt I mean which version 4 or 5 is standard on your fedora ?
User avatar
twohot
Posts: 63
Joined: Tue May 17, 2011 10:48 pm
Location: 9ja://coalcity
Contact:

Re: IFC Viewer ifcplusplus

Post by twohot »

bernd wrote: Thu Dec 14, 2017 2:53 pm Have you read this ? https://github.com/berndhahnebach/IfcPl ... /README.md

With which standard qt I mean which version 4 or 5 is standard on your fedora ?
Mine compiled Okay. Just tested it -- only one problem, it crashes when I select the wall of a building
Running Fedora Rawhide (just a little ahead of recently released Version-27 ...but most packages are the same)
On this box:

qt3 is version 3.3.8b-72.fc28. (dnf install qt3)
qt4 is version 4.8.7-33.fc28. (dnf install qt)
qt5 is version 5.9.3-1.fc28. (dnf install qt5)
Post Reply