IFC Viewer ifcplusplus
IFC Viewer ifcplusplus
EDIT
Find the repository of IfcPlusPlus for Linux at https://github.com/berndhahnebach/ifcplusplus
=====================================================================================================
I put the post here because it is regarding ifc. As I said here (viewtopic.php?f=3&t=4923&p=38642#p38642) I'm gone give information about the ifcplusplus viewer as soon as I know more.
The programmer does not want to use neither gcc and cmake but he had used cmake until 6 month ago. He sent me the cmake files and I have been trying to compile ifcplusplus using these file but it seams to heavy for my knowledge. I'm nearly done just one step. During my research for errorhandling I found something cool today. On github is already a fork which compiles on osx using cmake and gcc. I took this code and only need to insert some includes (https://gitorious.org/ifcplusplus/ifcpl ... a898e50e5e). It compils on linux totally but I get linking errors. My repo is on https://gitorious.org/ifcplusplus/ifcplusplus-sm
[ 99%] Building CXX object IfcPlusPlusViewer/CMakeFiles/IfcPlusPlusViewer.dir/src/ifcplusplusviewer/gui/TabView.cpp.o
[ 99%] Building CXX object IfcPlusPlusViewer/CMakeFiles/IfcPlusPlusViewer.dir/src/ifcplusplusviewer/viewer/CameraMan3D.cpp.o
[100%] Building CXX object IfcPlusPlusViewer/CMakeFiles/IfcPlusPlusViewer.dir/src/ifcplusplusviewer/viewer/ViewerWidget.cpp.o
Linking CXX executable ../Release/IfcPlusPlusViewer
/usr/bin/ld: cannot find -lcarve
collect2: error: ld returned 1 exit status
make[2]: *** [Release/IfcPlusPlusViewer] Fehler 1
make[1]: *** [IfcPlusPlusViewer/CMakeFiles/IfcPlusPlusViewer.dir/all] Fehler 2
make: *** [all] Fehler 2
Does anyone has an idea whats going wrong
By the way https://gitorious.org/ifctesttest/ifctesttest consits of my try to compile the original code from ifcplusplus R13 and
Find the repository of IfcPlusPlus for Linux at https://github.com/berndhahnebach/ifcplusplus
=====================================================================================================
I put the post here because it is regarding ifc. As I said here (viewtopic.php?f=3&t=4923&p=38642#p38642) I'm gone give information about the ifcplusplus viewer as soon as I know more.
The programmer does not want to use neither gcc and cmake but he had used cmake until 6 month ago. He sent me the cmake files and I have been trying to compile ifcplusplus using these file but it seams to heavy for my knowledge. I'm nearly done just one step. During my research for errorhandling I found something cool today. On github is already a fork which compiles on osx using cmake and gcc. I took this code and only need to insert some includes (https://gitorious.org/ifcplusplus/ifcpl ... a898e50e5e). It compils on linux totally but I get linking errors. My repo is on https://gitorious.org/ifcplusplus/ifcplusplus-sm
[ 99%] Building CXX object IfcPlusPlusViewer/CMakeFiles/IfcPlusPlusViewer.dir/src/ifcplusplusviewer/gui/TabView.cpp.o
[ 99%] Building CXX object IfcPlusPlusViewer/CMakeFiles/IfcPlusPlusViewer.dir/src/ifcplusplusviewer/viewer/CameraMan3D.cpp.o
[100%] Building CXX object IfcPlusPlusViewer/CMakeFiles/IfcPlusPlusViewer.dir/src/ifcplusplusviewer/viewer/ViewerWidget.cpp.o
Linking CXX executable ../Release/IfcPlusPlusViewer
/usr/bin/ld: cannot find -lcarve
collect2: error: ld returned 1 exit status
make[2]: *** [Release/IfcPlusPlusViewer] Fehler 1
make[1]: *** [IfcPlusPlusViewer/CMakeFiles/IfcPlusPlusViewer.dir/all] Fehler 2
make: *** [all] Fehler 2
Does anyone has an idea whats going wrong
By the way https://gitorious.org/ifctesttest/ifctesttest consits of my try to compile the original code from ifcplusplus R13 and
Last edited by bernd on Mon May 12, 2014 2:33 am, edited 3 times in total.
Re: IFC Viewer ifcplusplus
What is the library "carve". All the code compiled fine but the linker cannot find a library libcarve.so and thus aborts with an error./usr/bin/ld: cannot find -lcarve
Re: IFC Viewer ifcplusplus
That is why I was really happy first and disappointed afterwards.wmayer wrote: All the code compiled fine but the linker cannot find a library
Carve ships with the programm and was kompiled as well. libCarve.so is in th Release dir of the build directory. I do not knowwmayer wrote:What is the library "carve".
My directory is called Carve and in cmake was written
TARGET_LINK_LIBRARIES(IfcPlusPlusViewer IfcPlusPlus IfcPlusPlusGeometry carve)
Thanks Werner
EDIT still not behind the border line. The programm crashes directly. Does anyone has an idea? I might contact the devoler as well. I even don't know what it is about.
Code: Select all
hugo@weide:~/.../Release$ ./IfcPlusPlusViewer
[xcb] Unknown request in queue while dequeuing
[xcb] Most likely this is a multi-threaded client and XInitThreads has not been called
[xcb] Aborting, sorry about that.
IfcPlusPlusViewer: ../../src/xcb_io.c:179: dequeue_pending_request: Zusicherung »!xcb_xlib_unknown_req_in_deq« nicht erfüllt.
Abgebrochen
hugo@weide:~/.../build/Release$
Re: IFC Viewer ifcplusplus
Which repo should I try now? This one? https://git.gitorious.org/ifctesttest/ifctesttest.git
Re: IFC Viewer ifcplusplus
No, this one https://gitorious.org/ifcplusplus/ifcplusplus-sm In the README is written what I did an what kind of System I have. Sorry I'm new to git, github and gitourious but I get organised soon, hopefully.wmayer wrote:Which repo should I try now? This one? https://git.gitorious.org/ifctesttest/ifctesttest.git
Re: IFC Viewer ifcplusplus
Wow, cool! I'll have a try too.
basically -lsomething means "link to /path-to-libraries/libsomething.so (or libsomething.so.XX.XX). The path is usually /usr/lib/x86_64-linux-gnu or /usr/lib/i386-linux-gnu if you have a 32bit system)
Now I think linux cannot lik to dll libraries (windows-only), so we should also compile that carve program, and therefore find the sources somewhere... *Edit* Ah, the source is included! cool!
basically -lsomething means "link to /path-to-libraries/libsomething.so (or libsomething.so.XX.XX). The path is usually /usr/lib/x86_64-linux-gnu or /usr/lib/i386-linux-gnu if you have a 32bit system)
Now I think linux cannot lik to dll libraries (windows-only), so we should also compile that carve program, and therefore find the sources somewhere... *Edit* Ah, the source is included! cool!
Re: IFC Viewer ifcplusplus
@Yorik
The linking error is allready fixed. I get a error at start up now. See the third post in thread. Because I have been playing a lot there are more than one repo. Take this source https://gitorious.org/ifcplusplus/ifcplusplus-sm
The linking error is allready fixed. I get a error at start up now. See the third post in thread. Because I have been playing a lot there are more than one repo. Take this source https://gitorious.org/ifcplusplus/ifcplusplus-sm
Re: IFC Viewer ifcplusplus
Ah... should have read better
Let's try...
Let's try...
Re: IFC Viewer ifcplusplus
Ah indeed, runtime error:
Unfortunately it is mentioned in the README, and apparently the author found no solution...
Code: Select all
[xcb] Unknown request in queue while dequeuing
[xcb] Most likely this is a multi-threaded client and XInitThreads has not been called
[xcb] Aborting, sorry about that.
IfcPlusPlusViewer: ../../src/xcb_io.c:179: dequeue_pending_request: Assertion `!xcb_xlib_unknown_req_in_deq' failed.
Aborted
Re: IFC Viewer ifcplusplus
That was me, it ist my repository. The original code of the ifcplusplus fork is on github (https://github.com/sylvainmarie/IFCPlusPlus). I took the code from github and had to made a few changes to get it compiled on my linux (debian wheezy) machine.yorik wrote:Unfortunately it is mentioned in the README, and apparently the author found no solution...
Bernd