problème lors de la compilation de hedgewars

Bonjour!
(je poste ici, hésitant avec suport debian, mais comme ce n’est pas forcément relatif à debian… bref, si les modérateurs jugent que ce post n’est pas à sa place, ils savent ce qu’il leur reste à faire :slightly_smiling: )
Je souhaite compiler la dernière version de hedgewars, tant pour m’apprendre à compiler que pour rapporter d’éventuels bugs aux développeurs.
Cependant, je rencontre un souci juste à la fin de la compilation. On dirait que cela vient du free pascal compiler. Est-ce parce que je suis en 64bits?
voici le message :

Linking CXX executable ../bin/hedgewars [ 99%] Built target hedgewars Scanning dependencies of target hwengine [ 99%] Generating ../bin/hwengine Error: Illegal parameter: -Nu Error: /usr/bin/ppcx64 returned an error exitcode (normal if you did not specify a source file to be compiled) make[2]: *** [bin/hwengine] Erreur 1 make[1]: *** [hedgewars/CMakeFiles/hwengine.dir/all] Erreur 2 make: *** [all] Erreur 2
Merci d’avance pour les idées.

tu as utiliser quoi comme commande pour lancer la compil ?

make, tout simplement.
En fait, la compilation se passe ainsi :
On lance d’abord cmake, avec les paramètres souhaités.
Ensuite, on fait un make, et il s’occupe de tout.
Le -Nu semble être un paramètre passé au compilateur pascal, mais il ne le connait pas…

À quoi ressemble le fichier Makefile produit par cmake ?

Le voici : [code]# CMAKE generated file: DO NOT EDIT!

Generated by “Unix Makefiles” Generator, CMake Version 2.8

Default target executed when no arguments are given to make.

default_target: all
.PHONY : default_target

#=============================================================================

Special targets provided by cmake.

Disable implicit rules so canoncical targets will work.

.SUFFIXES:

Remove some rules from gmake that .SUFFIXES does not remove.

SUFFIXES =

.SUFFIXES: .hpux_make_needs_suffix_list

Suppress display of executed commands.

$(VERBOSE).SILENT:

A target that is always out of date.

cmake_force:
.PHONY : cmake_force

#=============================================================================

Set environment variables for the build.

The shell in which to execute make rules.

SHELL = /bin/sh

The CMake executable.

CMAKE_COMMAND = /usr/bin/cmake

The command to remove a file.

RM = /usr/bin/cmake -E remove -f

The top-level source directory on which CMake was run.

CMAKE_SOURCE_DIR = /home/xavier/Jeux/hedgewars-src-0.9.12

The top-level build directory on which CMake was run.

CMAKE_BINARY_DIR = /home/xavier/Jeux/hedgewars-src-0.9.12

#=============================================================================

Targets provided globally by CMake.

Special rule for the target edit_cache

edit_cache:
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan “Running interactive CMake command-line interface…”
/usr/bin/cmake -i .
.PHONY : edit_cache

Special rule for the target edit_cache

edit_cache/fast: edit_cache
.PHONY : edit_cache/fast

Special rule for the target install

install: preinstall
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan “Install the project…”
/usr/bin/cmake -P cmake_install.cmake
.PHONY : install

Special rule for the target install

install/fast: preinstall/fast
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan “Install the project…”
/usr/bin/cmake -P cmake_install.cmake
.PHONY : install/fast

Special rule for the target install/local

install/local: preinstall
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan “Installing only the local directory…”
/usr/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake
.PHONY : install/local

Special rule for the target install/local

install/local/fast: install/local
.PHONY : install/local/fast

Special rule for the target install/strip

install/strip: preinstall
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan “Installing the project stripped…”
/usr/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake
.PHONY : install/strip

Special rule for the target install/strip

install/strip/fast: install/strip
.PHONY : install/strip/fast

Special rule for the target list_install_components

list_install_components:
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan “Available install components are: “Unspecified””
.PHONY : list_install_components

Special rule for the target list_install_components

list_install_components/fast: list_install_components
.PHONY : list_install_components/fast

Special rule for the target package

package: preinstall
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan “Run CPack packaging tool…”
/usr/bin/cpack --config ./CPackConfig.cmake
.PHONY : package

Special rule for the target package

package/fast: package
.PHONY : package/fast

Special rule for the target package_source

package_source:
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan “Run CPack packaging tool for source…”
/usr/bin/cpack --config ./CPackSourceConfig.cmake /home/xavier/Jeux/hedgewars-src-0.9.12/CPackSourceConfig.cmake
.PHONY : package_source

Special rule for the target package_source

package_source/fast: package_source
.PHONY : package_source/fast

Special rule for the target rebuild_cache

rebuild_cache:
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan “Running CMake to regenerate build system…”
/usr/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
.PHONY : rebuild_cache

Special rule for the target rebuild_cache

rebuild_cache/fast: rebuild_cache
.PHONY : rebuild_cache/fast

The main all target

all: cmake_check_build_system
$(CMAKE_COMMAND) -E cmake_progress_start /home/xavier/Jeux/hedgewars-src-0.9.12/CMakeFiles /home/xavier/Jeux/hedgewars-src-0.9.12/CMakeFiles/progress.marks
$(MAKE) -f CMakeFiles/Makefile2 all
$(CMAKE_COMMAND) -E cmake_progress_start /home/xavier/Jeux/hedgewars-src-0.9.12/CMakeFiles 0
.PHONY : all

The main clean target

clean:
$(MAKE) -f CMakeFiles/Makefile2 clean
.PHONY : clean

The main clean target

clean/fast: clean
.PHONY : clean/fast

Prepare targets for installation.

preinstall: all
$(MAKE) -f CMakeFiles/Makefile2 preinstall
.PHONY : preinstall

Prepare targets for installation.

preinstall/fast:
$(MAKE) -f CMakeFiles/Makefile2 preinstall
.PHONY : preinstall/fast

clear depends

depend:
$(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1
.PHONY : depend

#=============================================================================

Target rules for targets named hedgewars

Build rule for target.

hedgewars: cmake_check_build_system
$(MAKE) -f CMakeFiles/Makefile2 hedgewars
.PHONY : hedgewars

fast build rule for target.

hedgewars/fast:
$(MAKE) -f QTfrontend/CMakeFiles/hedgewars.dir/build.make QTfrontend/CMakeFiles/hedgewars.dir/build
.PHONY : hedgewars/fast

#=============================================================================

Target rules for targets named hwengine

Build rule for target.

hwengine: cmake_check_build_system
$(MAKE) -f CMakeFiles/Makefile2 hwengine
.PHONY : hwengine

fast build rule for target.

hwengine/fast:
$(MAKE) -f hedgewars/CMakeFiles/hwengine.dir/build.make hedgewars/CMakeFiles/hwengine.dir/build
.PHONY : hwengine/fast

Help Target

help:
@echo “The following are some of the valid targets for this Makefile:”
@echo “… all (the default if no target is provided)”
@echo “… clean”
@echo “… depend”
@echo “… edit_cache”
@echo “… install”
@echo “… install/local”
@echo “… install/strip”
@echo “… list_install_components”
@echo “… package”
@echo “… package_source”
@echo “… rebuild_cache”
@echo “… hedgewars”
@echo “… hwengine”
.PHONY : help

#=============================================================================

Special targets to cleanup operation of make.

Special rule to run CMake to check the build system integrity.

No rule that depends on this can have commands that come from listfiles

because they might be regenerated.

cmake_check_build_system:
$(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
.PHONY : cmake_check_build_system

[/code]