yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #00984
Re: yade install help
Hi Vaclav,
I am running with the debug option on. It says that it doesn't detect
foreach.hpp in the boost library:
/"In file included from core/BodyContainer.hpp:16,
from core/BodyContainer.cpp:11:
/home/benjamin/Desktop/yade/build-svn1342/include/yade-svn1342/yade/lib-serialization/Serializable.hpp:15:29:
error: boost/foreach.hpp: No such file or directory
" etc...
/
but I found it in boost/test/util. So to see that it was just a problem
of library location, I copy paste it in boost/ and then it says. This
first problem diseapear, but now it says:
/"usr/include/features.h:150:1: warning: this is the location of the
previous definition
/home/benjamin/Desktop/yade/build-svn1342/include/yade-svn1342/yade/lib-serialization/Serializable.hpp:
In member function 'void Serializable::registerAttribute(const
std::string&, Type&)':
/home/benjamin/Desktop/yade/build-svn1342/include/yade-svn1342/yade/lib-serialization/Serializable.hpp:75:
error: expected primary-expression before 'a'
/home/benjamin/Desktop/yade/build-svn1342/include/yade-svn1342/yade/lib-serialization/Serializable.hpp:75:
error: there are no arguments to 'BOOST_FOREACH' that depend on a
template parameter, so a declaration of 'BOOST_FOREACH' must be available
/home/benjamin/Desktop/yade/build-svn1342/include/yade-svn1342/yade/lib-serialization/Serializable.hpp:75:
error: (if you use '-fpermissive', G++ will accept your code, but
allowing the use of an undeclared name is deprecated)
/home/benjamin/Desktop/yade/build-svn1342/include/yade-svn1342/yade/lib-serialization/Serializable.hpp:75:
error: expected `;' before '{' token
/home/benjamin/Desktop/yade/build-svn1342/include/yade-svn1342/yade/lib-serialization/Serializable.hpp:
In member function 'void Serializable::registerAttribute(const
std::string&, Type&)':
/home/benjamin/Desktop/yade/build-svn1342/include/yade-svn1342/yade/lib-serialization/Serializable.hpp:75:
error: expected primary-expression before 'a'
" etc...etc...
/
And then it fails...
Do you have any idea of what is happening?
Sincerely,
Ben
Václav S wrote:
>> I also tried to install a newer version from svn folders but I didn't find
>> out how to install it. Every time I run the latest version there is errors
>> during the building process.
>>
>>
> More precisely? You can improve Yade by telling us what kind of problems
> do you have and I will fix wiki so that other people don't face the same
> problem again.
>
> For the original problem: make sure you have the "gdb" (debugger)
> package installed and that you build with debug=1 (implicit value). If
> you run yade from terminal, it will output backtrace when it crashes,
> which helps to find out what happened very quickly.
>
> Regards, Vaclav
>
>
> _______________________________________________
> Yade-users mailing list
> Yade-users@xxxxxxxxxxxxxxxx
> https://lists.berlios.de/mailman/listinfo/yade-users
>
_______________________________________________
Yade-users mailing list
Yade-users@xxxxxxxxxxxxxxxx
https://lists.berlios.de/mailman/listinfo/yade-users
Follow ups
References