Comments (11)
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.
It appears to be a name clash between thebefore
macro defined in AMNLLexer.h
and before
function define in Boost.
from europa.
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
europa/src/PLASMA/CMakeLists.txt
Line 58 in 89fa262
from europa.
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.
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.
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.
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.
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.
Ack, I'm sorry, I dropped this right on the floor. What version of CMake are you using?
from europa.
cmake version 3.9.3
Thanks
from europa.
Any news?
from europa.
Related Issues (20)
- Set up some sort of continuous integration HOT 1
- Better NDDL error reporting in PSUI
- Clarify if singleton base domain means "specified"
- Redundancies (and lack of type-safety) in ConstraintEngine::ChangeType and DomainListener::ChangeType HOT 2
- Complete quoting for parameters of some CMake commands
- reserved identifier violation HOT 2
- Remove unnecessary null pointer checks HOT 3
- Learn More Link 404 HOT 1
- How to build head of master?
- Cannot run program "jam" (in directory "/home/ubuntu/europa/src/PLASMA" HOT 10
- Symbol not found when launching europa. HOT 3
- Is this project maintained? HOT 4
- DYLD environment variable woes on OS X Sierra when running Ant: Library not loaded libANML_g.dylib HOT 5
- Potential bug in InputHandler.java
- Links for Barreiro and Tristan Smith broken on "What is Europa" page
- Figures are missing from wiki pages
- The documentation link is broken
- Original Error: Error during checkout at ./autobuild line 370.
- Rover core dumps HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from europa.