Open DeKasClimber opened 6 years ago
Why not using the pre built libraries? Go to https://github.com/KhronosGroup/OpenCOLLADA/releases and click on OpenCollada for windows.
Thanks for the quick response. I'm usiing linux mint. But maybe the response is the same (I see a built for ubuntu) what is the prefered location to put the built librarie?
Sorry, I read your question backward. Yes we also have a pre-build for ubuntu.
Here's what the job script does:
#sudo apt-get install g++
#sudo apt-get install libxml2-dev
#sudo apt-get install libpcre3 libpcre3-dev
cd $WORKSPACE
#make sure we don't have dependencies into plugin folders
rm -rf COLLADAMax
rm -rf COLLADAMaya
rm -rf build
mkdir build
cd build
cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX=. ../
make -j5
and then it collects the artifacts with a ant script:
<delete dir="jenkins-artifacts" verbose="true"/>
<mkdir dir="jenkins-artifacts" />
<copy todir="jenkins-artifacts" verbose="true" overwrite="true" force="true">
<fileset dir="build" includes="bin/**,lib/**" />
</copy>
<chmod file="jenkins-artifacts/bin/**" perm="744"/>
I feel like stupid... When I downloaded the "openCOLLADA-ubuntu_v1.6.62" I have a zip that I do not have any idea where to put it nor what to do with it.. I do not see which script to run. The $workspace is new to me as well.. it seems to me that I'm missing some fundamental linux skills to find a way to open an ifc file..
I used the Solibri Model Viewer in Windows. I want to have an alternative in Linux. All alternative solutions work with ifcOpenShell.
I tried to follow the installation steps and in step 3) OpenCollada is installed.
When running the sudo make -j command in the terminal I do have an undefined reference and I do not know how to solve it at the moment.
I followed the steps explained here but the error happens when I run the make -j command:
$ sudo apt-get install libpcre3-dev libxml2-dev $ git clone https://github.com/KhronosGroup/OpenCOLLADA.git $ cd OpenCOLLADA Using a known good revision, but HEAD should work too: $ git checkout 064a60b65c2c31b94f013820856bc84fb1937cc6 $ mkdir build && cd build $ cmake .. $ make -j $ sudo make install
It is a bit frustrating as I am not at the point that I can install ifc. It is the one application I still use Windows for. I would like to find a proper solution for viewing 3D ifc models.
Anybody has an idea?
Terminal dump: