sgvandijk / libbats Goto Github PK
View Code? Open in Web Editor NEWRoboCup 3D Soccer Simulation C++ agent base library
License: GNU General Public License v3.0
RoboCup 3D Soccer Simulation C++ agent base library
License: GNU General Public License v3.0
Hi. I got the latest version of libbats(3.0) and I encountered an error during make it:
Scanning dependencies of target helloworld
[ 95%] Building CXX object examples/helloworld/CMakeFiles/helloworld.dir/helloworld.cc.o
[ 96%] Building CXX object examples/helloworld/CMakeFiles/helloworld.dir/HelloWorldAgent/init.cc.o
[ 96%] Building CXX object examples/helloworld/CMakeFiles/helloworld.dir/HelloWorldAgent/think.cc.o
Linking CXX executable helloworld
../../libbats.so: undefined reference to xmlCtxtUseOptions' ../../libbats.so: undefined reference to
xmlXPathFreeObject'
../../libbats.so: undefined reference to xmlNewDoc' ../../libbats.so: undefined reference to
xmlXPathEvalExpression'
../../libbats.so: undefined reference to xmlFree' ../../libbats.so: undefined reference to
xmlFreeDoc'
../../libbats.so: undefined reference to xmlCreateFileParserCtxt' ../../libbats.so: undefined reference to
xmlResetLastError'
../../libbats.so: undefined reference to xmlNodeGetContent' ../../libbats.so: undefined reference to
xmlCheckVersion'
../../libbats.so: undefined reference to xmlCleanupParser' ../../libbats.so: undefined reference to
xmlHasProp'
../../libbats.so: undefined reference to xmlXPathNewContext' ../../libbats.so: undefined reference to
xmlGetProp'
../../libbats.so: undefined reference to xmlParserGetDirectory' ../../libbats.so: undefined reference to
xmlXPathFreeContext'
../../libbats.so: undefined reference to xmlXIncludeProcessFlags' ../../libbats.so: undefined reference to
xmlParseDocument'
collect2: error: ld returned 1 exit status
make[2]: *** [examples/helloworld/helloworld] Error 1
make[1]: *** [examples/helloworld/CMakeFiles/helloworld.dir/all] Error 2
make: *** [all] Error 2
Ubuntu 12.04 Precise 32-Bit
G++ version:
g++ (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3
primo@ubuntu:/Documents/libbats$ cmake ./Documents/libbats$ make -j4
-- Found SigC++
-- checking for module 'gtkmm-2.4'
-- package 'gtkmm-2.4' not found
-- GtkDebugger will not be built
-- Configuring done
-- Generating done
-- Build files have been written to: /home/primo/Documents/libbats
primo@ubuntu:
[ 1%] Generating manual with pdfLaTeX
[ 2%] Generating API documentation with Doxygen
warning: ignoring unsupported tag MARKDOWN_SUPPORT =' at line 253, file /home/primo/Documents/libbats/Doxyfile warning: ignoring unsupported tag
AUTOLINK_SUPPORT =' at line 260, file /home/primo/Documents/libbats/Doxyfile
warning: ignoring unsupported tag EXTRACT_PACKAGE =' at line 373, file /home/primo/Documents/libbats/Doxyfile warning: ignoring unsupported tag
HTML_EXTRA_STYLESHEET =' at line 922, file /home/primo/Documents/libbats/Doxyfile
warning: ignoring unsupported tag HTML_INDEX_NUM_ENTRIES =' at line 979, file /home/primo/Documents/libbats/Doxyfile warning: ignoring unsupported tag
UML_LIMIT_NUM_FIELDS =' at line 1684, file /home/primo/Documents/libbats/Doxyfile
warning: the dot tool could not be found at /usr/bin/
This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian)
entering extended mode
[ 3%] [ 3%] Building CXX object CMakeFiles/bats.dir/Math/cartesianToPolar.cc.o
Building CXX object CMakeFiles/bats.dir/Conf/Conf.cc.o
This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian)
entering extended mode
/home/primo/Documents/libbats/Conf/Conf.cc: In constructor ‘bats::Conf::Conf(const string&)’:
/home/primo/Documents/libbats/Conf/Conf.cc:13:5: error: type ‘bats::Conf’ is not a direct base of ‘bats::Conf’
make[2]: *** [CMakeFiles/bats.dir/Conf/Conf.cc.o] Error 1
make[2]: *** Waiting for unfinished jobs....
[ 3%] Built target manual
make[1]: *** [CMakeFiles/bats.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 3%] Built target doc
make: *** [all] Error 2
When I run ./helloworld from terminal, it is giving segmentation fault.
The below output is using gdb:
(gdb) run helloworld
Starting program: /home/primo/Documents/libbats/examples/helloworld/helloworld helloworld
Socket: 9
Program received signal SIGSEGV, Segmentation fault.
0xb7dae672 in std::__shared_ptr<bats::AST::Node, (__gnu_cxx::_Lock_policy)2>::get() const () from /home/primo/Documents/libbats/libbats.so
Operating system: Ubuntu 12.04 precise
Compiler Version: gcc 4.7 , g++4.7
I failed to make.
I did cmake . and make in root directory of libbats.
Error message said configure.hh is not found.
What should I do before cmake?
In file included from /home/libbats/HumanoidAgent/startUp.cc:1:0:
/home/libbats/HumanoidAgent/humanoidagent.ih:18:24: fatal error: configure.hh: そのようなファイルやディレクトリはありません
compilation terminated.
make[2]: *** [CMakeFiles/bats.dir/HumanoidAgent/startUp.cc.o] エラー 1
make[1]: *** [CMakeFiles/bats.dir/all] エラー 2
make: *** [all] エラー 2
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.