Yeah, Fabian and Silvian both compile Ifc++ with Qt5 only. The problem is if Qt5 is used one needs to compile openscenegraph because the openscenegraph package on ubuntu and debian depends on Qt4. That is why I use Qt4 on the version I provide on github. I'm gone extend the README.rockn wrote:I have asked on http://forum.ubuntu-fr.org ,there is good guys also.
It could be a problem of compatibilty between Qt5 and Qt5 as Ifc++ viewer can be compiled with both.
IFC Viewer ifcplusplus
Re: IFC Viewer ifcplusplus
Wow cool, thanks rockn for this find.
Re: IFC Viewer ifcplusplus
Here is what I did on my ubuntu machine:rockn wrote:... Launch IFC++ viewer with this command on Ubuntu :Code: Select all
./IfcPlusPlusViewer -style=fusion
- sudo apt-get install qt4-qtconfig
- launch qtconfig-qt4
- change Select GUI Style (Cleanlooks works for me.)
- save
That way it is not needed to add the -style=fusion
Like Yorik I wonder what causes the default GUI Style to not load the widget content!?
Re: IFC Viewer ifcplusplus
upgraded master to the newest commit of Fabian Gerold (R48)
https://github.com/berndhahnebach/IfcPlusPlus
FYI:
Only a few changes were needed to get IfcPlusPlus running on linux. We again are nealy at a point where the main repo runs on Linux out of the box.
https://github.com/berndhahnebach/IfcPl ... atestsvn48
https://github.com/berndhahnebach/IfcPlusPlus
FYI:
Only a few changes were needed to get IfcPlusPlus running on linux. We again are nealy at a point where the main repo runs on Linux out of the box.
https://github.com/berndhahnebach/IfcPl ... atestsvn48
Re: IFC Viewer ifcplusplus
Thanks Bernd,
Compile ok and Run ok.
Compile ok and Run ok.
Formations - Assistance - Développement : https://freecad-france.com
Re: IFC Viewer ifcplusplus
Thanks for testing.rockn wrote:Thanks Bernd,
Compile ok and Run ok.
Since you gone use dark theme on FreeCAD you may interested in following commit.
https://github.com/berndhahnebach/IfcPl ... 3cc66b13d5
in SimpleViewerExample/src/viewer/ViewerWidget.cpp in line 67 is the background color defined.
Code: Select all
camera->setClearColor( osg::Vec4(0.70f, 0.70f, 0.70f, 1.0f) );
- Attachments
-
- screen.jpg (55.44 KiB) Viewed 2888 times
Re: IFC Viewer ifcplusplus
merged R54 to the master of https://github.com/berndhahnebach/IfcPlusPlus
The linux version is only one commit away from Fabian Gerolds Repo https://github.com/berndhahnebach/IfcPl ... ecbc977e1e
GNU GCC does not accept the references of three member functions.
It seams on Windows this is not a problem, that is why Fabian is not changing the references to values. For the member function dumpPolylineSet I could use a const reference. https://github.com/berndhahnebach/IfcPl ... 6e00274173 But this does not work for the other two member functions.
My C++ knowledge is just so smal... May be one of you guys has an idea how to fix this. Just take the original repo of Fabian Gerold from my branch svn https://github.com/berndhahnebach/IfcPlusPlus/tree/svn
The linux version is only one commit away from Fabian Gerolds Repo https://github.com/berndhahnebach/IfcPl ... ecbc977e1e
GNU GCC does not accept the references of three member functions.
Code: Select all
...IfcPlusPlusGeometry/src/ifcppgeometry/CSG_Adapter.h:46:14: note: no known conversion for argument 2 from ‘carve::geom::vector<4u>’ to ‘carve::geom::vector<4u>&’
IfcPlusPlusGeometry/CMakeFiles/IfcPlusPlusGeometry.dir/build.make:54: recipe for target 'IfcPlusPlusGeometry/CMakeFiles/IfcPlusPlusGeometry.dir/src/ifcppgeometry/ConverterOSG.cpp.o' failed
My C++ knowledge is just so smal... May be one of you guys has an idea how to fix this. Just take the original repo of Fabian Gerold from my branch svn https://github.com/berndhahnebach/IfcPlusPlus/tree/svn
Re: IFC Viewer ifcplusplus
FYI, upgraded my repo for IfcPlusPlus on Linux to the up to date repo of Fabian Gerold. Tested on Debian Jessie and Ubuntu 14.04
https://github.com/berndhahnebach/IfcPlusPlus/
https://github.com/berndhahnebach/IfcPlusPlus/
Re: IFC Viewer ifcplusplus
Cool! Thanks for maintaining this updated... Ifc++ is really a very handy tool to have on a linux system...
Re: IFC Viewer ifcplusplus
Code: Select all
make: *** No rule to make target 'install'. Stop.
Re: IFC Viewer ifcplusplus
Did you try to run "make install"? The cmake files do not support to run "make install" and install the viewer. Just run it from the build directory. See https://github.com/berndhahnebach/IfcPl ... /README.mdtwohot wrote:Why?Code: Select all
make: *** No rule to make target 'install'. Stop.