IFC Viewer ifcplusplus

This forum section is only for IFC-related issues
paullee
Veteran
Posts: 5135
Joined: Wed May 04, 2016 3:58 pm

Re: IFC Viewer ifcplusplus

Post by paullee »

twohot wrote: Thu Dec 14, 2017 2:20 pm
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
Thanks!

Same here - carefully reading some rpmfind like website lead me to realize there is no '4' after 'qt'!

Seems overcome this problem, though more errors now....

Would try install OpenSceneGraph-devel as you indicated above and guess what other errors are about.




[paullee@f25--80G-Hdd--c2duo build]$ cmake ../
-- ------------------------------------------------------------------------
-- Boost version: 1.60.0
-- Boost version: 1.60.0
-- Linux OS --> Qt4 is used
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found
-- Found Qt4: /usr/bin/qmake-qt4 (found version "4.8.7")
-- Could NOT find osgDB (missing: OSGDB_LIBRARY OSGDB_INCLUDE_DIR)
-- Could NOT find osgUtil (missing: OSGUTIL_LIBRARY OSGUTIL_INCLUDE_DIR)
-- Could NOT find osgGA (missing: OSGGA_LIBRARY OSGGA_INCLUDE_DIR)
-- Could NOT find osgFX (missing: OSGFX_LIBRARY OSGFX_INCLUDE_DIR)
-- Could NOT find osgSim (missing: OSGSIM_LIBRARY OSGSIM_INCLUDE_DIR)
-- Could NOT find osgText (missing: OSGTEXT_LIBRARY OSGTEXT_INCLUDE_DIR)
-- Could NOT find osgQt (missing: OSGQT_LIBRARY OSGQT_INCLUDE_DIR)
-- Could NOT find osgViewer (missing: OSGVIEWER_LIBRARY OSGVIEWER_INCLUDE_DIR)
-- Could NOT find osg (missing: OSG_LIBRARY OSG_INCLUDE_DIR)
-- Could NOT find OpenThreads (missing: OPENTHREADS_LIBRARY OPENTHREADS_INCLUDE_DIR)
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
Could NOT find OpenSceneGraph (missing: OPENSCENEGRAPH_LIBRARIES
OPENSCENEGRAPH_INCLUDE_DIR OSGDB_FOUND OSGUTIL_FOUND OSGGA_FOUND
OSGFX_FOUND OSGSIM_FOUND OSGTEXT_FOUND OSGQT_FOUND OSGVIEWER_FOUND
OSG_FOUND OPENTHREADS_FOUND)
Call Stack (most recent call first):
/usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:377 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake/Modules/FindOpenSceneGraph.cmake:223 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
SimpleViewerExample/CMakeLists.txt:49 (FIND_PACKAGE)


-- Configuring incomplete, errors occurred!
See also "/home/paullee/IfcPlusPlus-master_Bernd-repo/build/CMakeFiles/CMakeOutput.log".
See also "/home/paullee/IfcPlusPlus-master_Bernd-repo/build/CMakeFiles/CMakeError.log".
paullee
Veteran
Posts: 5135
Joined: Wed May 04, 2016 3:58 pm

Re: IFC Viewer ifcplusplus

Post by paullee »

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 ?

I read it, though without knowledge and experience (just ifcopenshell, or maybe earlier 1 or 2 packages which probably failed cos i don't even remember), i do not really understand it well :oops:

I kind of of trial eveything and errors.
paullee
Veteran
Posts: 5135
Joined: Wed May 04, 2016 3:58 pm

Re: IFC Viewer ifcplusplus

Post by paullee »

Now, thanks for all the hints.

Compile now end without further errors :)

On my Fedora 25, I additionally install the following for compilation to work:-

dnf install qt-devel.x86_64
dnf install OpenSceneGraph-devel
dnf install OpenSceneGraph-qt-devel.x86_64


Same as Twohot, select any element on screen would crashes
Screenshot from 2017-12-15 01-42-16.png
Screenshot from 2017-12-15 01-42-16.png (75.83 KiB) Viewed 1996 times
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: Thu Dec 14, 2017 3:17 pm it crashes when I select the wall of a building
Where do you exaclty click in the geometry or in the object tree ?

I remember it crashes if you click in object tree on some special field. It should not crash if exact click on the wall.
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 »

may be because Ifcpp is linked against ifc4 only and your wall has some ifc2x3 only code, but I could be wrong ...
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 »

runs smooth here on debian jessie ...


screen.jpg
screen.jpg (287.83 KiB) Viewed 1977 times
User avatar
twohot
Posts: 63
Joined: Tue May 17, 2011 10:48 pm
Location: 9ja://coalcity
Contact:

Re: IFC Viewer ifcplusplus

Post by twohot »

Try selecting the wall(s) of IfcOpenHouse.ifc in IfcPlusPlus root folder
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:On my Fedora 25, I additionally install the following for compilation to work:-
Now I understand why you are looking for rpms at rpmfind.net. You are running an unsupported version of fedora. Consider upgrading to Fedora 27 (or Rawhide if you are strong at heart). Running an up-to-date release allows you to install straight from the repositories (including rpmfusion.org)
paullee
Veteran
Posts: 5135
Joined: Wed May 04, 2016 3:58 pm

Re: IFC Viewer ifcplusplus

Post by paullee »

twohot wrote: Fri Dec 15, 2017 12:06 am
paullee wrote:On my Fedora 25, I additionally install the following for compilation to work:-
Now I understand why you are looking for rpms at rpmfind.net. You are running an unsupported version of fedora. Consider upgrading to Fedora 27 (or Rawhide if you are strong at heart). Running an up-to-date release allows you to install straight from the repositories (including rpmfusion.org)
Download a few days ago, too less sleep time tostay awake going through installation

Would it help reporting to developer about the crashes?
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 »

only of we would use the latest version. But this does not compile on my debian. I would need to compile openscenegraph against qt5 which I failed to do.
Post Reply