Dear Dragan
I use Ubuntu 18.04 and have installed DAE Tools as follows:
[...]
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
DEAL_II_COMPONENT_MESH_CONVERTER
DEAL_II_COMPONENT_PARAMETER_GUI
DEAL_II_C_FLAGS
DEAL_II_WITH_MUMPS
-- Build files have been written to: /home/chanbum/Downloads/daetools-1.9.0-gnu_linux/daetools/trunk/deal.II
[*] Done!
compile_libraries.sh: 584: cd: can't cd to boost
[...]
make[1]: Entering directory '/home/chanbum/Downloads/daetools-1.9.0-gnu_linux/daetools/trunk/fmi_ws'
rm -f release/dllmain.o release/auxiliary.o release/fmi_component.o release/daetools_fmi_cs.o
rm -f ~ core .core
make[1]: Leaving directory '/home/chanbum/Downloads/daetools-1.9.0-gnu_linux/daetools/trunk/fmi_ws'
make: Leaving directory '/home/chanbum/Downloads/daetools-1.9.0-gnu_linux/daetools/trunk'
[*] Compiling the project...
make: Entering directory '/home/chanbum/Downloads/daetools-1.9.0-gnu_linux/daetools/trunk'
cd Config/ && ( test -e Makefile || /usr/lib/qt5/bin/qmake -o Makefile /home/chanbum/Downloads/daetools-1.9.0-gnu_linux/daetools/trunk/Config/Config.pro CONFIG+=release CONFIG+=silent CONFIG+=shellCompile customPython=/usr/bin/python -spec linux-g++ ) && make -f Makefile
make[1]: Entering directory '/home/chanbum/Downloads/daetools-1.9.0-gnu_linux/daetools/trunk/Config'
mkdir -p -p ../daetools-package/daetools/solibs/Linux_x86_64/lib
mkdir -p -p ../daetools-package/daetools/solibs/Linux_x86_64/bin
mkdir -p -p ../daetools-package/daetools/solibs/Linux_x86_64/py27
mkdir -p -p ../daetools-dev/Linux_x86_64/bin
mkdir -p -p ../daetools-dev/include
mkdir -p -p ../daetools-dev/Linux_x86_64/lib
mkdir -p -p ../daetools-dev/Linux_x86_64/py27
compiling config.cpp
compiling dllmain.cpp
compiling stdafx.cpp
config.cpp:17:10: fatal error: boost/property_tree/ptree.hpp: No such file or directory
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
Makefile:367: recipe for target 'release/config.o' failed
make[1]: *** [release/config.o] Error 1
make[1]: Leaving directory '/home/chanbum/Downloads/daetools-1.9.0-gnu_linux/daetools/trunk/Config'
Makefile:58: recipe for target 'sub-Config-make_first-ordered' failed
make: *** [sub-Config-make_first-ordered] Error 2
It seems to me that the script, go to "trunk/Config/" directory and try to compile; yet, the script cannot carry out
Should I modify qmake flag?
It would be really great if you can help me to solve this problem.
Best regards
Chanbum
Anonymous
Hi Chanbum,
There are many changes since 1.9.0, incompatible and unfinished. Just checkout revision 755 and it should be fine.
Cheers
Dragan
Thank you for quick response!
Could you explain about "revision 755"? sorry about my naive question..
Best regards
Chanbum
Hi,
No problem, you're welcome.
Just use svn checkout -r 755 svn://svn.code.sf.net/p/daetools/code daetools" to get revision 755. This is the version 1.9.0. Or, you can download the zip archive from http://www.daetools.com/downloads.html.
Cheers
Dragan
Hi Dragan
Thank you for your comments. However, I couldn't make it again.
The procedure I did this time as follows:
I got the source code via "svn checkout -r 755 svn://svn.code.sf.net/p/daetools/code daetools" and followed the same precedure as decrived above.
"sh compile_libraries.sh all"
"sh compile.sh all", it gives me error that
adouble.h:44:10: fatal error: OpenCS/opencs.h: No such file or directory
#include <opencs opencs.h="">
^~~~~~~~~~~~~~~~~
compilation terminated.</opencs>
Is OpenCS/opencs.h compulsory?
Best regards
Chanbum
Hi Chanbum,
No problem.
The compilation requires some headers which are located in OpenCS/build/include directory so compilation of OpenCS is required. Just do the following:
after sh compile_libraries.sh all.
This should actually be included in the all option. Thank you for discovering it. I'll add it to the documenation too.
Cheers
Dragan
Hi Dragan
Thank you for your comments.
I have deleted the packages and tried to install again from scrach. I faced error during compiling libraries (especially deal.ii). Here is my precedure as follows:
Then, it gives me error during compiling dael.ii that:
[...]
home/chanbum/daetools/trunk/deal.II/include/deal.II/base/utilities.h:677:17: warning: this statement may fall through [-Wimplicit-fallthrough=]
++first;
^~
/home/chanbum/daetools/trunk/deal.II/include/deal.II/base/utilities.h:678:15: note: here
case 2:
^~~~
/home/chanbum/daetools/trunk/deal.II/include/deal.II/base/utilities.h:681:17: warning: this statement may fall through [-Wimplicit-fallthrough=]
++first;
^~
/home/chanbum/daetools/trunk/deal.II/include/deal.II/base/utilities.h:682:15: note: here
case 1:
^~~~
[ 73%] Built target obj_numerics_release
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2
The same error occurs, when I compile from daetools-1.9.0-gnu_linux.tar.gz file.
I thought that I can compile deal.ii previously. I don't know why deal.ii is not compiled..
Secondly, it says in the "Getting DAE Tools" page,
"After compilation, the shared libraries will be located in trunk/daetools-package/daetools/solibs directory."
When I compile individual libraries, for instance compiling boost by typing "sh compiling_libraries.sh boost", I couln't find any files in the directory (After compilation, the shared libraries will be located in trunk/daetools-package/daetools/solibs), only "init.py" and Linux_x86_64 directory.
Do I miss some intermediate steps to compile the libraries? By the way, when I type "sh compile_libraries.sh ipopt", it says, "Unrecognized solver: ipopt". Is that related?
Best regards
Chanbum