Giter Site home page Giter Site logo

libbats's People

Contributors

sgvandijk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

libbats's Issues

Compiling problem with libxml2

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 toxmlXPathFreeObject'
../../libbats.so: undefined reference to xmlNewDoc' ../../libbats.so: undefined reference toxmlXPathEvalExpression'
../../libbats.so: undefined reference to xmlFree' ../../libbats.so: undefined reference toxmlFreeDoc'
../../libbats.so: undefined reference to xmlCreateFileParserCtxt' ../../libbats.so: undefined reference toxmlResetLastError'
../../libbats.so: undefined reference to xmlNodeGetContent' ../../libbats.so: undefined reference toxmlCheckVersion'
../../libbats.so: undefined reference to xmlCleanupParser' ../../libbats.so: undefined reference toxmlHasProp'
../../libbats.so: undefined reference to xmlXPathNewContext' ../../libbats.so: undefined reference toxmlGetProp'
../../libbats.so: undefined reference to xmlParserGetDirectory' ../../libbats.so: undefined reference toxmlXPathFreeContext'
../../libbats.so: undefined reference to xmlXIncludeProcessFlags' ../../libbats.so: undefined reference toxmlParseDocument'
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

error while making the project

Ubuntu 12.04 Precise 32-Bit

G++ version:
g++ (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3

primo@ubuntu:/Documents/libbats$ cmake .
-- 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:
/Documents/libbats$ make -j4
[ 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 tagAUTOLINK_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 tagHTML_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 tagUML_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

Seg fault when running helloworld

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

Build Error on Debian7.1

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.