Giter Club home page Giter Club logo

Comments (9)

liavt avatar liavt commented on June 7, 2024

If you want to view the exact errors go to Travis.ci/liavt/MACE

from mace.

liavt avatar liavt commented on June 7, 2024

For clang the issue is that stl is not being included. I will work on the Travis config to fix that.however gcc fails to compile Sdl for some reason

from mace.

sharhar avatar sharhar commented on June 7, 2024

After looking at the error messages of each compiler I think I now what the problem is.
First, when building with gcc you have to use the c++ version. The command for it is g++. Same thing with clang, the command is clang++. I want to see if this fixes it.

from mace.

sharhar avatar sharhar commented on June 7, 2024

If that's not the problem with clang then I think we should look into the error: "implicit instantiation of undefined template". It's the only error that's generated when building with clang.

from mace.

liavt avatar liavt commented on June 7, 2024

implicit instantiation of undefined template - looking it up, not supported by all compilers. Thats probably why it works with Visual Studio. I will try to fix that.

g++ and clang++ - How would you do that? I just call make. Do I need to specify a parameter to CMake or the Makefile itself?

from mace.

sharhar avatar sharhar commented on June 7, 2024

I looked at the build logs again. It was using the correct commands (g++ and clang++). Not quite sure what the problem is with g++. I'll try to build on my linux machine to see if I get some more info.

from mace.

sharhar avatar sharhar commented on June 7, 2024

Found this post on stack exchange: http://stackoverflow.com/questions/12797051/implicit-instantiation-of-undefined-template-when-forward-declaring-template-c

This should help us fix the clang errors.

from mace.

liavt avatar liavt commented on June 7, 2024

Try it now. I think it was the unit testing for Vector that was breaking it.

from mace.

sharhar avatar sharhar commented on June 7, 2024

That's not the issue. Also, get on steam so we can try to figure this out together. One last thing, enable sudo in travis. it needs it for sudo add-apt-repository

from mace.

Related Issues (9)

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.