Git Product home page Git Product logo

Comments (11)

miatauro-NASA avatar miatauro-NASA commented on July 29, 2024 1

Just to let you know that I'm still looking at this. I'm pretty baffled by it, though, since unjar is defined in EuropaModule.cmake

from europa.

rvlander avatar rvlander commented on July 29, 2024

It appears to be a name clash between thebefore macro defined in AMNLLexer.h and before function define in Boost.

from europa.

miatauro-NASA avatar miatauro-NASA commented on July 29, 2024

You're the first person in a while to try to compile that particular ANML implementation. If you aren't going to use ANML (and I recommend you don't, at least not that one), you can comment it out at

add_subdirectory(ANML)

from europa.

rvlander avatar rvlander commented on July 29, 2024

Compilation still fails but in another place:

     [exec] PlanDatabase/base/PlanDatabase.cc:552:99: error: pas de fonction correspondant à l'appel « make_pair<EUROPA::ObjectId, std::pair<EUROPA::Id<EUROPA::Token>, EUROPA::Id<EUROPA::Token> > >(EUROPA::ObjectId&, const std::pair<EUROPA::Id<EUROPA::Token>, EUROPA::Id<EUROPA::Token> >&) »
     [exec] NDDL/base/NDDL3Lexer.cpp:5030:75: error: « strdup » n'a pas été déclaré dans cette portée

There seems to have a problem with template resolution (Boost version issue?).
Also strdup was not declared in NDDL3Lexer.cpp

I am trying to compile the master branch, is it a good idea? Anyway, I have the same errors with the last tagged version.

from europa.

miatauro-NASA avatar miatauro-NASA commented on July 29, 2024

make_pair has been in the Standard since C++03 or before, so I can't imagine how or why it can't resolve that template, and it doesn't seem like it should be a Boost issue. strdup is in cstring. I'll hopefully have some time to install a GCC that new soon and really dig into it, because I haven't tried compiling Europa with a C++14-compliant (and defaulting) compiler. In the meantime, can you try compiling with an earlier standard? Either -std=c++11 or -std=c++03?

from europa.

rvlander avatar rvlander commented on July 29, 2024

In fact, modifying the CMake config file did not change anything since using (like in the build documentation)

ant release-dist

means that we use Jam (and not CMake) as a build manager.

These two compiling failures appears alternatively in a random fashion. Using c++11 or c++03 standards does not change anything.

from europa.

miatauro-NASA avatar miatauro-NASA commented on July 29, 2024

The Jam/ant/etc. build is being deprecated. Please give the CMake build a try, which... I apparently failed to put documentation for on the wiki. I could swear I had. I'll create an issue for that.
Long story short, make sure you have the prerequisites installed. Then, from the Europa repository root:

mkdir build
cd build
cmake ..
make
make install

That will build 64-bit debug shared libraries. If you want something else, you can add arguments to the cmake run:

  • -DOPTIMIZE=TRUE/FALSE for optimized/debug (default debug)
  • -DSHARED=TRUE/FALSE for shared or static libraries (default shared)
  • -DSIXTYFOUR=TRUE/FALSE for 64- or 32-bit libraries (default based on CMAKE_SYSTEM_PROCESSOR)

from europa.

rvlander avatar rvlander commented on July 29, 2024

cmake command fails:

CMake Error at src/PLASMA/CMakeLists.txt:45 (else):
  A duplicate ELSE command was found inside an IF block.

If I remove the offending else block then I have the following error:

CMake Error at src/Java/JavaUI/CMakeLists.txt:20 (unjar):
  Unknown CMake command "unjar".

from europa.

miatauro-NASA avatar miatauro-NASA commented on July 29, 2024

Ack, I'm sorry, I dropped this right on the floor. What version of CMake are you using?

from europa.

rvlander avatar rvlander commented on July 29, 2024
cmake version 3.9.3

Thanks

from europa.

rvlander avatar rvlander commented on July 29, 2024

Any news?

from europa.

Related Issues (20)

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.