GDevelop est open source !

Ca ne compile donc pas avec la version 3.0 que tu viens de télécharger. Essaie de “virer” la version 2.9 avant de retenter : pour récupérer les libs, wxWidgets fournit un outil qui s’appelle wx-config et qui est utilisé par cmake.

Fait wx-config --list pour voir les libs wxWidgets installés (affiche ici le résultat). Fait wx-config --help et essaie de trouver l’option qui permet de rendre l’utilisation de la version 3 par défaut, et non pas la 2.9.x

[code]valentin@DELL-VALENTIN:~$ wx-config --list

Default config is gtk2-unicode-3.0

Default config will be used for output

Alternate matches:
gtk2-unicode-2.9
gtk3-unicode-2.9

valentin@DELL-VALENTIN:~$[/code]

Et je peux virer les autres (si je trouve quel paquet est installé sans faire de merde), parce que de toutes façon je n’ai pas besoin de wxWidgets pour mes développements perso :wink:

EDIT: Le seul paquet installé était libwxbase3.0-dev
Pour les autres je sais pas d’où ils sortent…

EDIT2:
j’ai refait un coup de cmake, et j’obtiens ceci a la compil:

valentin@DELL-VALENTIN:~/gd$ make CMAKE_BUILD_TYPE is empty, assuming build type is Release -- Found wxWidgets: TRUE -- Found PkgConfig: /usr/bin/pkg-config (found version "0.26") -- checking for module 'gtk+-3.0' -- found gtk+-3.0, version 3.10.8 -- Configuring done -- Generating done -- Build files have been written to: /home/valentin/gd Scanning dependencies of target GDCore [ 0%] Building CXX object Core/CMakeFiles/GDCore.dir/GDCore/Serialization/Serializer.cpp.o [ 1%] Building CXX object Core/CMakeFiles/GDCore.dir/GDCore/Serialization/SerializerElement.cpp.o [ 1%] Building CXX object Core/CMakeFiles/GDCore.dir/GDCore/Serialization/SerializerValue.cpp.o [ 1%] Building CXX object Core/CMakeFiles/GDCore.dir/GDCore/IDE/ResourcesMergingHelper.cpp.o [ 1%] Building CXX object Core/CMakeFiles/GDCore.dir/GDCore/IDE/ProjectExporter.cpp.o [ 1%] Building CXX object Core/CMakeFiles/GDCore.dir/GDCore/IDE/ProjectResourcesAdder.cpp.o [ 1%] Building CXX object Core/CMakeFiles/GDCore.dir/GDCore/IDE/EventsChangesNotifier.cpp.o In file included from /home/valentin/gd/Core/GDCore/IDE/EventsChangesNotifier.cpp:10:0: /home/valentin/gd/Core/./GDCore/Events/Builtin/LinkEvent.h: In constructor ‘gd::LinkEvent::LinkEvent()’: /home/valentin/gd/Core/./GDCore/Events/Builtin/LinkEvent.h:21:134: warning: large integer implicitly truncated to unsigned type [-Woverflow] LinkEvent() : BaseEvent(), includeAll(true), includeStart(std::string::npos), includeEnd(std::string::npos), linkWasInvalid(false) {}; ^ /home/valentin/gd/Core/./GDCore/Events/Builtin/LinkEvent.h:21:134: warning: large integer implicitly truncated to unsigned type [-Woverflow] [ 1%] Building CXX object Core/CMakeFiles/GDCore.dir/GDCore/IDE/ResourcesAbsolutePathChecker.cpp.o [ 2%] Building CXX object Core/CMakeFiles/GDCore.dir/GDCore/IDE/ProjectResourcesCopier.cpp.o [ 2%] Building CXX object Core/CMakeFiles/GDCore.dir/GDCore/IDE/EventsVariablesFinder.cpp.o [ 2%] Building CXX object Core/CMakeFiles/GDCore.dir/GDCore/IDE/ExpressionsCorrectnessTesting.cpp.o [ 2%] Building CXX object Core/CMakeFiles/GDCore.dir/GDCore/IDE/ArbitraryResourceWorker.cpp.o [ 2%] Building CXX object Core/CMakeFiles/GDCore.dir/GDCore/IDE/Dialogs/EditComment.cpp.o [ 2%] Building CXX object Core/CMakeFiles/GDCore.dir/GDCore/IDE/Dialogs/PropertyDescriptor.cpp.o [ 2%] Building CXX object Core/CMakeFiles/GDCore.dir/GDCore/IDE/Dialogs/EditStrExpressionDialog.cpp.o [ 2%] Building CXX object Core/CMakeFiles/GDCore.dir/GDCore/IDE/Dialogs/ObjectListDialogsHelper.cpp.o [ 3%] Building CXX object Core/CMakeFiles/GDCore.dir/GDCore/IDE/Dialogs/ResourceLibraryDialog.cpp.o [ 3%] Building CXX object Core/CMakeFiles/GDCore.dir/GDCore/IDE/Dialogs/ChooseAutomatismTypeDialog.cpp.o [ 3%] Building CXX object Core/CMakeFiles/GDCore.dir/GDCore/IDE/Dialogs/EditForEachEvent.cpp.o [ 3%] Building CXX object Core/CMakeFiles/GDCore.dir/GDCore/IDE/Dialogs/ChooseVariableDialog.cpp.o [ 3%] Building CXX object Core/CMakeFiles/GDCore.dir/GDCore/IDE/Dialogs/ProjectExtensionsDialog.cpp.o [ 3%] Building CXX object Core/CMakeFiles/GDCore.dir/GDCore/IDE/Dialogs/DndResourcesEditor.cpp.o [ 3%] Building CXX object Core/CMakeFiles/GDCore.dir/GDCore/IDE/Dialogs/InstancesAdvancedPasteDialog.cpp.o [ 4%] Building CXX object Core/CMakeFiles/GDCore.dir/GDCore/IDE/Dialogs/LayersEditorPanel.cpp.o [ 4%] Building CXX object Core/CMakeFiles/GDCore.dir/GDCore/IDE/Dialogs/EditLayerDialog.cpp.o [ 4%] Building CXX object Core/CMakeFiles/GDCore.dir/GDCore/IDE/Dialogs/ObjectsPropgridHelper.cpp.o [ 4%] Building CXX object Core/CMakeFiles/GDCore.dir/GDCore/IDE/Dialogs/ResourcesEditor.cpp.o In file included from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:30:0, from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gtk/gtk.h:30, from /home/valentin/gd/Core/GDCore/IDE/Dialogs/ResourcesEditor.cpp:55: /usr/include/gtk-3.0/gdk/gdktypes.h:127:39: error: conflicting declaration ‘typedef struct _GdkWindow GdkWindow’ typedef struct _GdkWindow GdkWindow; ^ In file included from /usr/local/include/wx-3.0/wx/treectrl.h:18:0, from /home/valentin/gd/Core/./GDCore/IDE/Dialogs/ResourcesEditor.h:10, from /home/valentin/gd/Core/GDCore/IDE/Dialogs/ResourcesEditor.cpp:8: /usr/local/include/wx-3.0/wx/defs.h:3414:33: error: ‘GdkWindow’ has a previous declaration as ‘typedef struct _GdkDrawable GdkWindow’ typedef struct _GdkDrawable GdkWindow; ^ make[2]: *** [Core/CMakeFiles/GDCore.dir/GDCore/IDE/Dialogs/ResourcesEditor.cpp.o] Erreur 1 make[1]: *** [Core/CMakeFiles/GDCore.dir/all] Erreur 2 make: *** [all] Erreur 2 valentin@DELL-VALENTIN:~/gd$
Donc là ça utilise bien tout en version 3.0, mais ça marche pas non plus…

C’est bien la version 3 mais c’est GTK2 alors que la version de GTK utilisé par CMake pour la construction de GD est gtk±3.0.
Avec wxWidgets 3, refait un :

./configure --enable-ribbon --enable-webview

Vérifie qu’il te dit bien qu’il va utiliser GTK3. Si oui, fait :

make sudo make install

Ensuite vérifie avec :

wx-config --list

que la version par défaut est gtk3-unicode-3.0.
Si c’est bon, compile GD.

[code]checking build system type… x86_64-unknown-linux-gnu
checking host system type… x86_64-unknown-linux-gnu
checking for --disable-gui… no
checking for --enable-monolithic… no
checking for --enable-plugins… no
checking for --without-subdirs… no
checking for --enable-official_build… no
checking for --disable-all-features… no
checking for --enable-universal… no
checking for --enable-nanox… no
checking for --enable-gpe… no
checking for toolkit… gtk
checking for --with-libpng… yes
checking for --with-libjpeg… yes
checking for --with-libtiff… yes
checking for --without-libjbig… no
checking for --without-liblzma… no
checking for --with-libxpm… yes
checking for --with-libiconv… yes
checking for --with-libmspack… no
checking for --without-gtkprint… no
checking for --with-gnomevfs… no
checking for --with-libnotify… yes
checking for --with-hildon… no
checking for --with-opengl… auto
checking for --with-dmalloc… no
checking for --with-sdl… no
checking for --with-regex… yes
checking for --with-zlib… yes
checking for --with-expat… yes
checking for --with-macosx-sdk…
checking for --with-macosx-version-min…
checking for --enable-debug… default
checking for --disable-debug_flag… no
checking for --enable-debug_info… no
checking for --enable-debug_gdb… no
checking for --enable-debug_cntxt… no
checking for --enable-mem_tracing… no
checking for --disable-shared… no
checking for --enable-stl… no
checking for --enable-std_containers… no
checking for --enable-std_iostreams… yes
checking for --enable-std_string… yes
checking for --enable-std_string_conv_in_wxstring… no
checking for --disable-unicode… no
checking for --enable-mslu… no
checking for --enable-utf8… no
checking for --enable-utf8only… no
checking for --enable-extended_rtti… no
checking for --disable-optimise… no
checking for --enable-profile… no
checking for --enable-no_rtti… no
checking for --enable-no_exceptions… no
checking for --enable-permissive… no
checking for --enable-no_deps… no
checking for --disable-vararg_macros… no
checking for --enable-universal_binary… no
checking for --enable-macosx_arch… no
checking for --enable-compat26… no
checking for --disable-compat28… no
checking for --disable-rpath… no
checking for --enable-objc_uniquifying… no
checking for --disable-visibility… no
checking for --disable-tls… no
checking for --enable-intl… yes
checking for --enable-xlocale… yes
checking for --enable-config… yes
checking for --enable-protocols… yes
checking for --enable-ftp… yes
checking for --enable-http… yes
checking for --enable-fileproto… yes
checking for --enable-sockets… yes
checking for --enable-ipv6… no
checking for --enable-ole… yes
checking for --enable-dataobj… yes
checking for --enable-ipc… yes
checking for --enable-baseevtloop… yes
checking for --enable-epollloop… yes
checking for --enable-selectloop… yes
checking for --enable-any… yes
checking for --enable-apple_ieee… yes
checking for --enable-arcstream… yes
checking for --enable-base64… yes
checking for --enable-backtrace… yes
checking for --enable-catch_segvs… yes
checking for --enable-cmdline… yes
checking for --enable-datetime… yes
checking for --enable-debugreport… yes
checking for --enable-dialupman… yes
checking for --enable-dynlib… yes
checking for --enable-dynamicloader… yes
checking for --enable-exceptions… yes
checking for --enable-ffile… yes
checking for --enable-file… yes
checking for --enable-filehistory… yes
checking for --enable-filesystem… yes
checking for --enable-fontenum… yes
checking for --enable-fontmap… yes
checking for --enable-fs_archive… yes
checking for --enable-fs_inet… yes
checking for --enable-fs_zip… yes
checking for --enable-fsvolume… yes
checking for --enable-fswatcher… yes
checking for --enable-geometry… yes
checking for --enable-log… yes
checking for --enable-longlong… yes
checking for --enable-mimetype… yes
checking for --enable-printfposparam… yes
checking for --enable-snglinst… yes
checking for --enable-sound… yes
checking for --enable-stdpaths… yes
checking for --enable-stopwatch… yes
checking for --enable-streams… yes
checking for --enable-sysoptions… yes
checking for --enable-tarstream… yes
checking for --enable-textbuf… yes
checking for --enable-textfile… yes
checking for --enable-timer… yes
checking for --enable-variant… yes
checking for --enable-zipstream… yes
checking for --enable-url… yes
checking for --enable-protocol… yes
checking for --enable-protocol_http… yes
checking for --enable-protocol_ftp… yes
checking for --enable-protocol_file… yes
checking for --enable-threads… yes
checking for --enable-iniconf… no
checking for --enable-regkey… yes
checking for --enable-docview… yes
checking for --enable-help… yes
checking for --enable-mshtmlhelp… yes
checking for --enable-html… yes
checking for --enable-htmlhelp… yes
checking for --enable-xrc… yes
checking for --enable-aui… yes
checking for --enable-propgrid… yes
checking for --enable-ribbon… yes
checking for --enable-stc… yes
checking for --enable-constraints… yes
checking for --enable-loggui… yes
checking for --enable-logwin… yes
checking for --enable-logdialog… yes
checking for --enable-mdi… yes
checking for --enable-mdidoc… yes
checking for --enable-mediactrl… auto
checking for --enable-gstreamer8… no
checking for --enable-richtext… yes
checking for --enable-postscript… yes
checking for --enable-printarch… yes
checking for --enable-svg… yes
checking for --enable-webkit… yes
checking for --enable-webview… yes
checking for --enable-graphics_ctx… yes
checking for --enable-clipboard… yes
checking for --enable-dnd… yes
checking for --disable-controls… no
checking for --enable-markup… yes
checking for --enable-accel… yes
checking for --enable-animatectrl… yes
checking for --enable-bannerwindow… yes
checking for --enable-artstd… yes
checking for --enable-arttango… auto
checking for --enable-bmpbutton… yes
checking for --enable-bmpcombobox… yes
checking for --enable-button… yes
checking for --enable-calendar… yes
checking for --enable-caret… yes
checking for --enable-checkbox… yes
checking for --enable-checklst… yes
checking for --enable-choice… yes
checking for --enable-choicebook… yes
checking for --enable-collpane… yes
checking for --enable-colourpicker… yes
checking for --enable-combobox… yes
checking for --enable-comboctrl… yes
checking for --enable-commandlinkbutton… yes
checking for --enable-dataviewctrl… yes
checking for --enable-datepick… yes
checking for --enable-detect_sm… yes
checking for --enable-dirpicker… yes
checking for --enable-display… yes
checking for --enable-editablebox… yes
checking for --enable-filectrl… yes
checking for --enable-filepicker… yes
checking for --enable-fontpicker… yes
checking for --enable-gauge… yes
checking for --enable-grid… yes
checking for --enable-headerctrl… yes
checking for --enable-hyperlink… yes
checking for --enable-imaglist… yes
checking for --enable-infobar… yes
checking for --enable-listbook… yes
checking for --enable-listbox… yes
checking for --enable-listctrl… yes
checking for --enable-notebook… yes
checking for --enable-notifmsg… yes
checking for --enable-odcombobox… yes
checking for --enable-popupwin… yes
checking for --enable-prefseditor… yes
checking for --enable-radiobox… yes
checking for --enable-radiobtn… yes
checking for --enable-richmsgdlg… yes
checking for --enable-richtooltip… yes
checking for --enable-rearrangectrl… yes
checking for --enable-sash… yes
checking for --enable-scrollbar… yes
checking for --enable-searchctrl… yes
checking for --enable-slider… yes
checking for --enable-spinbtn… yes
checking for --enable-spinctrl… yes
checking for --enable-splitter… yes
checking for --enable-statbmp… yes
checking for --enable-statbox… yes
checking for --enable-statline… yes
checking for --enable-stattext… yes
checking for --enable-statusbar… yes
checking for --enable-taskbaricon… yes
checking for --enable-tbarnative… yes
checking for --enable-textctrl… yes
checking for --enable-datepick… yes
checking for --enable-tipwindow… yes
checking for --enable-togglebtn… yes
checking for --enable-toolbar… yes
checking for --enable-toolbook… yes
checking for --enable-treebook… yes
checking for --enable-treectrl… yes
checking for --enable-treelist… yes
checking for --enable-commondlg… yes
checking for --enable-aboutdlg… yes
checking for --enable-choicedlg… yes
checking for --enable-coldlg… yes
checking for --enable-filedlg… yes
checking for --enable-finddlg… yes
checking for --enable-fontdlg… yes
checking for --enable-dirdlg… yes
checking for --enable-msgdlg… yes
checking for --enable-numberdlg… yes
checking for --enable-splash… yes
checking for --enable-textdlg… yes
checking for --enable-tipdlg… yes
checking for --enable-progressdlg… yes
checking for --enable-wizarddlg… yes
checking for --enable-menus… yes
checking for --enable-miniframe… yes
checking for --enable-tooltips… yes
checking for --enable-splines… yes
checking for --enable-mousewheel… yes
checking for --enable-validators… yes
checking for --enable-busyinfo… yes
checking for --enable-hotkey… auto
checking for --enable-joystick… yes
checking for --enable-metafile… auto
checking for --enable-dragimage… yes
checking for --enable-accessibility… no
checking for --enable-uiactionsim… yes
checking for --enable-dctransform… yes
checking for --enable-webviewwebkit… yes
checking for --enable-palette… yes
checking for --enable-image… yes
checking for --enable-gif… yes
checking for --enable-pcx… yes
checking for --enable-tga… yes
checking for --enable-iff… yes
checking for --enable-pnm… yes
checking for --enable-xpm… yes
checking for --enable-ico_cur… yes
checking for --enable-dccache… yes
checking for --enable-ps-in-msw… yes
checking for --enable-ownerdrawn… yes
checking for --enable-uxtheme… yes
checking for --enable-wxdib… yes
checking for --enable-webviewie… yes
checking for --enable-autoidman… no
checking for gcc… gcc
checking whether the C compiler works… yes
checking for C compiler default output file name… a.out
checking for suffix of executables…
checking whether we are cross compiling… no
checking for suffix of object files… o
checking whether we are using the GNU C compiler… yes
checking whether gcc accepts -g… yes
checking for gcc option to accept ISO C89… none needed
checking whether we are using the Intel C compiler… no
checking how to run the C preprocessor… gcc -E
checking for grep that handles long lines and -e… /bin/grep
checking for egrep… /bin/grep -E
checking whether gcc needs -traditional… no
checking for g++… g++
checking whether we are using the GNU C++ compiler… yes
checking whether g++ accepts -g… yes
checking whether we are using the Intel C++ compiler… no
checking whether we are using the Sun C++ compiler… no
checking for ar… ar
checking for ANSI C header files… yes
checking for sys/types.h… yes
checking for sys/stat.h… yes
checking for stdlib.h… yes
checking for string.h… yes
checking for memory.h… yes
checking for strings.h… yes
checking for inttypes.h… yes
checking for stdint.h… yes
checking for unistd.h… yes
checking for langinfo.h… yes
checking for wchar.h… yes
checking for sys/select.h… yes
checking for cxxabi.h… yes
checking for an ANSI C-conforming const… yes
checking for inline… inline
checking size of short… 2
checking size of void *… 8
checking size of int… 4
checking size of long… 8
checking size of size_t… 8
checking size of long long… 8
checking size of wchar_t… 4
checking for va_copy… yes
checking whether the compiler supports variadic macros… yes
checking for _FILE_OFFSET_BITS value needed for large files… 64
checking if large file support is available… yes
checking for _LARGEFILE_SOURCE value needed for large files… no
checking whether byte ordering is bigendian… no
checking for iostream… yes
checking if C++ compiler supports the explicit keyword… yes
checking for std::wstring in … yes
checking for std::istream… yes
checking for std::ostream… yes
checking how to run the C++ preprocessor… g++ -E
checking type_traits usability… no
checking type_traits presence… no
checking for type_traits… no
checking tr1/type_traits usability… yes
checking tr1/type_traits presence… yes
checking for tr1/type_traits… yes
checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins… yes
checking for libraries directories… /usr/lib/x86_64-linux-gnu /usr/lib
checking for cos… no
checking for floor… no
checking if floating point functions link without -lm… no
checking for sin… yes
checking for ceil… yes
checking if floating point functions link with -lm… yes
checking for strtoull… yes
configure: WARNING: Defaulting to the builtin regex library for Unicode build.
checking for zlib.h >= 1.1.4… yes
checking for zlib.h… (cached) yes
checking for deflate in -lz… yes
checking for png.h > 0.90… yes
checking for png.h… (cached) yes
checking for png_sig_cmp in -lpng… yes
checking for jpeglib.h… yes
checking for jpeg_read_header in -ljpeg… yes
checking for tiffio.h… no
configure: WARNING: system tiff library not found, will use built-in instead
checking for lzma_code in -llzma… no
checking for jbg_dec_init in -ljbig… no
checking for expat.h… yes
checking if expat.h is valid C++ header… yes
checking for XML_ParserCreate in -lexpat… yes
checking for GTK+ version…
checking for pkg-config… /usr/bin/pkg-config
checking for GTK+ - version >= 2.6.0… no
*** Could not run GTK+ test program, checking why…
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occurred. This usually means GTK+ is incorrectly installed.
checking for pkg-config… (cached) /usr/bin/pkg-config
checking for GTK+ - version >= 3.0.0… yes (version 3.10.8)
checking for X11/Xlib.h… yes
checking for X11/XKBlib.h… yes
checking for Xxf86vm… yes
checking for X11/extensions/xf86vmode.h… yes
checking for SM… yes
checking for OpenGL headers… found in /usr/include
checking for GL/gl.h… yes
checking for GL/glu.h… yes
checking for GL… yes
checking for GLU… yes
checking if the linker accepts --version-script… yes
checking for symbols visibility support… yes
checking for broken libstdc++ visibility… no
checking for mode_t… yes
checking for off_t… yes
checking for pid_t… yes
checking for size_t… yes
checking for ssize_t… yes
checking if size_t is unsigned int… no
checking if size_t is unsigned long… yes
checking if wchar_t is separate type… yes
checking for pw_gecos in struct passwd… yes
checking for wcslen… yes
checking for wcsftime… yes
checking for strnlen… yes
checking for wcsdup… yes
checking for wcsnlen… yes
checking for wcscasecmp… yes
checking for wcsncasecmp… yes
checking for mbstate_t… yes
checking for wcsrtombs… yes
checking for snprintf… yes
checking for vsnprintf… yes
checking for vsscanf… yes
checking for vsnprintf declaration… yes
checking if vsnprintf declaration is broken… no
checking for snprintf declaration… yes
checking if snprintf supports positional arguments… yes
checking for vsscanf declaration… yes
checking if vsscanf() declaration is broken… no
checking for putws… no
checking for fputws… yes
checking for wprintf… yes
checking for vswprintf… yes
checking for vswscanf… yes
checking for _vsnwprintf… no
checking for fsync… yes
checking for round… yes
checking for iconv… yes
checking if iconv needs const… no
checking for sigaction… yes
checking for sa_handler type… int
checking for backtrace() in <execinfo.h>… checking for library containing backtrace… none required
yes
checking for __cxa_demangle() in <cxxabi.h>… yes
checking for mkstemp… yes
checking for statfs… yes
checking for statfs declaration… yes
checking for fcntl… yes
checking for setenv… yes
checking for unsetenv… yes
checking for nanosleep… yes
checking for uname… yes
checking for strtok_r… yes
checking for inet_addr… yes
checking for inet_aton… yes
checking for fdopen… yes
checking for sysconf… yes
checking for getpwuid_r… yes
checking for getgrgid_r… yes
checking whether pthreads work with -pthread… yes
checking if more special flags are required for pthreads… no
checking for pthread_setconcurrency… yes
checking for pthread_cleanup_push/pop… yes
checking for sched.h… yes
checking for sched_yield… yes
checking for pthread_attr_getschedpolicy… yes
checking for pthread_attr_setschedparam… yes
checking for sched_get_priority_max… yes
checking for pthread_cancel… yes
checking for pthread_mutex_timedlock… yes
checking for pthread_attr_setstacksize… yes
checking for pthread_mutexattr_t… yes
checking for pthread_mutexattr_settype declaration… yes
checking for __thread keyword… yes
checking if gcc accepts -dumpversion option… yes
checking gxx version… 4.8
checking whether __thread support in g++ is usable… yes, it works
checking for abi::__forced_unwind() in <cxxabi.h>… yes
checking for localtime_r… yes
checking for gmtime_r… yes
checking how many arguments gethostbyname_r() takes… six
checking how many arguments getservbyname_r() takes… six
checking for dlopen… no
checking for dlopen in -ldl… yes
checking for dlerror… no
checking for dlerror in -ldl… yes
checking for sys/inotify.h… yes
checking for SNDCTL_DSP_SPEED in sys/soundcard.h… yes
checking pkg-config is at least version 0.9.0… yes
checking for GTKPRINT… yes
checking for LIBNOTIFY… checking for LIBNOTIFY… configure: WARNING: libnotify not found, wxNotificationMessage will use generic implementation.
checking for locale_t… yes
checking for sys/epoll.h… yes
checking for gettimeofday… yes
checking whether gettimeofday takes two arguments… yes
checking for timezone variable in <time.h>… timezone
checking for localtime… yes
checking for tm_gmtoff in struct tm… yes
checking for setpriority… yes
checking for socket… yes
checking what is the type of the third argument of getsockname… socklen_t
checking what is the type of the fifth argument of getsockopt… socklen_t
checking for linux/joystick.h… yes
checking for python… /usr/bin/python
checking for WEBKIT… configure: WARNING: webkitgtk not found.
configure: WARNING: WebKit not available, disabling wxWebView
checking for CAIRO… yes
checking for cairo_push_group… yes
checking for GST… configure: WARNING: GStreamer 0.10 not available, falling back to 0.8
checking for GST… configure: WARNING: GStreamer 0.8/0.10 not available.
configure: WARNING: GStreamer not available… disabling wxMediaCtrl
checking CXXWARNINGS for gcc -Woverloaded-virtual… -Woverloaded-virtual
checking for gcc precompiled header bug… no
checking for a BSD-compatible install… /usr/bin/install -c
checking for ranlib… ranlib
checking whether ln -s works… yes
checking whether make sets $(MAKE)… yes
checking for ar… (cached) ar
checking for strip… strip
checking for nm… nm
checking if make is GNU make… yes
checking for dependency tracking method… gcc
checking if the compiler supports precompiled headers… yes
checking whether make sets $(MAKE)… (cached) yes
checking for cppunit-config… no
checking for Cppunit - version >= 1.8.0… no
configure: creating ./config.status
config.status: creating lib/wx/config/gtk3-unicode-3.0
config.status: creating lib/wx/config/inplace-gtk3-unicode-3.0
config.status: creating utils/ifacecheck/rungccxml.sh
config.status: creating version-script
config.status: creating Makefile
config.status: creating samples/xrc/Makefile
config.status: creating samples/wrapsizer/Makefile
config.status: creating samples/wizard/Makefile
config.status: creating samples/widgets/Makefile
config.status: creating samples/vscroll/Makefile
config.status: creating samples/validate/Makefile
config.status: creating samples/uiaction/Makefile
config.status: creating samples/typetest/Makefile
config.status: creating samples/treelist/Makefile
config.status: creating samples/treectrl/Makefile
config.status: creating samples/toolbar/Makefile
config.status: creating samples/thread/Makefile
config.status: creating samples/text/Makefile
config.status: creating samples/taskbar/Makefile
config.status: creating samples/taborder/Makefile
config.status: creating samples/svg/Makefile
config.status: creating samples/stc/Makefile
config.status: creating samples/statbar/Makefile
config.status: creating samples/splitter/Makefile
config.status: creating samples/splash/Makefile
config.status: creating samples/sound/Makefile
config.status: creating samples/sockets/Makefile
config.status: creating samples/shaped/Makefile
config.status: creating samples/scroll/Makefile
config.status: creating samples/sashtest/Makefile
config.status: creating samples/richtext/Makefile
config.status: creating samples/ribbon/Makefile
config.status: creating samples/render/Makefile
config.status: creating samples/propgrid/Makefile
config.status: creating samples/printing/Makefile
config.status: creating samples/popup/Makefile
config.status: creating samples/opengl/penguin/Makefile
config.status: creating samples/opengl/isosurf/Makefile
config.status: creating samples/opengl/cube/Makefile
config.status: creating samples/opengl/Makefile
config.status: creating samples/notebook/Makefile
config.status: creating samples/minimal/Makefile
config.status: creating samples/menu/Makefile
config.status: creating samples/mdi/Makefile
config.status: creating samples/listctrl/Makefile
config.status: creating samples/layout/Makefile
config.status: creating samples/keyboard/Makefile
config.status: creating samples/joytest/Makefile
config.status: creating samples/ipc/Makefile
config.status: creating samples/internat/Makefile
config.status: creating samples/image/Makefile
config.status: creating samples/html/zip/Makefile
config.status: creating samples/html/widget/Makefile
config.status: creating samples/html/virtual/Makefile
config.status: creating samples/html/test/Makefile
config.status: creating samples/html/printing/Makefile
config.status: creating samples/html/helpview/Makefile
config.status: creating samples/html/help/Makefile
config.status: creating samples/html/about/Makefile
config.status: creating samples/html/Makefile
config.status: creating samples/htlbox/Makefile
config.status: creating samples/help/Makefile
config.status: creating samples/grid/Makefile
config.status: creating samples/fswatcher/Makefile
config.status: creating samples/font/Makefile
config.status: creating samples/exec/Makefile
config.status: creating samples/except/Makefile
config.status: creating samples/event/Makefile
config.status: creating samples/erase/Makefile
config.status: creating samples/drawing/Makefile
config.status: creating samples/dragimag/Makefile
config.status: creating samples/docview/Makefile
config.status: creating samples/dnd/Makefile
config.status: creating samples/display/Makefile
config.status: creating samples/dialup/Makefile
config.status: creating samples/dialogs/Makefile
config.status: creating samples/debugrpt/Makefile
config.status: creating samples/dataview/Makefile
config.status: creating samples/controls/Makefile
config.status: creating samples/console/Makefile
config.status: creating samples/config/Makefile
config.status: creating samples/combo/Makefile
config.status: creating samples/collpane/Makefile
config.status: creating samples/clipboard/Makefile
config.status: creating samples/caret/Makefile
config.status: creating samples/calendar/Makefile
config.status: creating samples/aui/Makefile
config.status: creating samples/artprov/Makefile
config.status: creating samples/animate/Makefile
config.status: creating samples/Makefile
config.status: creating demos/bombs/Makefile
config.status: creating demos/Makefile
config.status: creating demos/forty/Makefile
config.status: creating demos/life/Makefile
config.status: creating demos/fractal/Makefile
config.status: creating demos/poem/Makefile
config.status: creating utils/Makefile
config.status: creating utils/wxrc/Makefile
config.status: creating utils/helpview/Makefile
config.status: creating utils/helpview/src/Makefile
config.status: creating utils/hhp2cached/Makefile
config.status: creating utils/emulator/Makefile
config.status: creating utils/emulator/src/Makefile
config.status: creating utils/screenshotgen/Makefile
config.status: creating utils/screenshotgen/src/Makefile
config.status: creating utils/execmon/Makefile
config.status: creating utils/ifacecheck/src/Makefile
config.status: creating lib/wx/include/gtk3-unicode-3.0/wx/setup.h
config.status: executing wx-config commands
=== configuring in src/tiff (/home/valentin/gd/ExtLibs/wxWidgets/src/tiff)
configure: running /bin/bash ./configure --disable-option-checking ‘–prefix=/usr/local’ ‘–enable-ribbon’ ‘–enable-webview’ --cache-file=/dev/null --srcdir=.
checking build system type… x86_64-unknown-linux-gnu
checking host system type… x86_64-unknown-linux-gnu
checking for a BSD-compatible install… /usr/bin/install -c
checking whether build environment is sane… yes
checking for a thread-safe mkdir -p… /bin/mkdir -p
checking for gawk… no
checking for mawk… mawk
checking whether make sets $(MAKE)… yes
checking whether to enable maintainer-specific portions of Makefiles… no
checking for gcc… gcc
checking whether the C compiler works… yes
checking for C compiler default output file name… a.out
checking for suffix of executables…
checking whether we are cross compiling… no
checking for suffix of object files… o
checking whether we are using the GNU C compiler… yes
checking whether gcc accepts -g… yes
checking for gcc option to accept ISO C89… none needed
checking for style of include used by make… GNU
checking dependency style of gcc… gcc3
checking whether gcc and cc understand -c and -o together… yes
checking for C compiler warning flags… -Wall -W
checking whether ln -s works… yes
checking how to print strings… printf
checking for a sed that does not truncate output… /bin/sed
checking for grep that handles long lines and -e… /bin/grep
checking for egrep… /bin/grep -E
checking for fgrep… /bin/grep -F
checking for ld used by gcc… /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld… yes
checking for BSD- or MS-compatible name lister (nm)… /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface… BSD nm
checking the maximum length of command line arguments… 1572864
checking whether the shell understands some XSI constructs… yes
checking whether the shell understands “+=”… yes
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format… func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format… func_convert_file_noop
checking for /usr/bin/ld option to reload object files… -r
checking for objdump… objdump
checking how to recognize dependent libraries… pass_all
checking for dlltool… no
checking how to associate runtime and link libraries… printf %s\n
checking for ar… ar
checking for archiver @FILE support… @
checking for strip… strip
checking for ranlib… ranlib
checking command to parse /usr/bin/nm -B output from gcc object… ok
checking for sysroot… no
checking for mt… mt
checking if mt is a manifest tool… no
checking how to run the C preprocessor… gcc -E
checking for ANSI C header files… yes
checking for sys/types.h… yes
checking for sys/stat.h… yes
checking for stdlib.h… yes
checking for string.h… yes
checking for memory.h… yes
checking for strings.h… yes
checking for inttypes.h… yes
checking for stdint.h… yes
checking for unistd.h… yes
checking for dlfcn.h… yes
checking for objdir… .libs
checking if gcc supports -fno-rtti -fno-exceptions… no
checking for gcc option to produce PIC… -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works… yes
checking if gcc static flag -static works… yes
checking if gcc supports -c -o file.o… yes
checking if gcc supports -c -o file.o… (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries… yes
checking whether -lc should be explicitly linked in… no
checking dynamic linker characteristics… GNU/Linux ld.so
checking how to hardcode library paths into programs… immediate
checking whether stripping libraries is possible… yes
checking if libtool supports shared libraries… yes
checking whether to build shared libraries… yes
checking whether to build static libraries… yes
checking for g++… g++
checking whether we are using the GNU C++ compiler… yes
checking whether g++ accepts -g… yes
checking dependency style of g++… gcc3
checking how to run the C++ preprocessor… g++ -E
checking for ld used by g++… /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld… yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries… yes
checking for g++ option to produce PIC… -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works… yes
checking if g++ static flag -static works… yes
checking if g++ supports -c -o file.o… yes
checking if g++ supports -c -o file.o… (cached) yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries… yes
checking dynamic linker characteristics… (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs… immediate
checking whether make supports nested variables… yes
checking for sin in -lm… yes
checking assert.h usability… yes
checking assert.h presence… yes
checking for assert.h… yes
checking fcntl.h usability… yes
checking fcntl.h presence… yes
checking for fcntl.h… yes
checking io.h usability… no
checking io.h presence… no
checking for io.h… no
checking limits.h usability… yes
checking limits.h presence… yes
checking for limits.h… yes
checking malloc.h usability… yes
checking malloc.h presence… yes
checking for malloc.h… yes
checking search.h usability… yes
checking search.h presence… yes
checking for search.h… yes
checking sys/time.h usability… yes
checking sys/time.h presence… yes
checking for sys/time.h… yes
checking for unistd.h… (cached) yes
checking for an ANSI C-conforming const… yes
checking for inline… inline
checking whether byte ordering is bigendian… no
checking for off_t… yes
checking for size_t… yes
checking whether time.h and sys/time.h may both be included… yes
checking whether struct tm is in sys/time.h or time.h… time.h
checking size of signed short… 2
checking size of unsigned short… 2
checking size of signed int… 4
checking size of unsigned int… 4
checking size of signed long… 8
checking size of unsigned long… 8
checking size of signed long long… 8
checking size of unsigned long long… 8
checking size of unsigned char *… 8
checking for signed 8-bit type… signed char
checking for unsigned 8-bit type… unsigned char
checking for signed 16-bit type… signed short
checking for unsigned 16-bit type… unsigned short
checking for signed 32-bit type… signed int
checking for unsigned 32-bit type… unsigned int
checking for signed 64-bit type… signed long
checking for unsigned 64-bit type… unsigned long
checking for signed size type… signed long
checking for ptrdiff_t… yes
checking for pointer difference type… ptrdiff_t
checking for int8… no
checking for int16… no
checking for int32… no
checking for floor… yes
checking for isascii… yes
checking for memmove… yes
checking for memset… yes
checking for mmap… yes
checking for pow… yes
checking for setmode… no
checking for sqrt… yes
checking for strchr… yes
checking for strrchr… yes
checking for strstr… yes
checking for strtol… yes
checking for strtoull… yes
checking for getopt… yes
checking for strcasecmp… yes
checking for strtoul… yes
checking for strtoull… (cached) yes
checking for lfind… yes
checking native cpu bit order… lsb2msb
checking for special C compiler options needed for large files… no
checking for _FILE_OFFSET_BITS value needed for large files… no
checking for inflateEnd in -lz… yes
checking zlib.h usability… yes
checking zlib.h presence… yes
checking for zlib.h… yes
checking for jpeg_read_scanlines in -ljpeg… yes
checking jpeglib.h usability… yes
checking jpeglib.h presence… yes
checking for jpeglib.h… yes
checking for jbg_dec_init in -ljbig… no
checking jbig.h usability… no
checking jbig.h presence… no
checking for jbig.h… no
checking for lzma_code in -llzma… no
checking lzma.h usability… no
checking lzma.h presence… no
checking for lzma.h… no
checking for X… libraries , headers
checking for gethostbyname… yes
checking for connect… yes
checking for remove… yes
checking for shmat… yes
checking for IceConnectionNumber in -lICE… yes
checking for the pthreads library -lpthreads… no
checking whether pthreads work without any flags… no
checking whether pthreads work with -Kthread… no
checking whether pthreads work with -kthread… no
checking for the pthreads library -llthread… no
checking whether pthreads work with -pthread… yes
checking for joinable pthread attribute… PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads… no
checking whether we are using the Microsoft C compiler… no
checking GL/gl.h usability… yes
checking GL/gl.h presence… yes
checking for GL/gl.h… yes
checking OpenGL/gl.h usability… no
checking OpenGL/gl.h presence… no
checking for OpenGL/gl.h… no
checking windows.h usability… no
checking windows.h presence… no
checking for windows.h… no
checking for OpenGL library… -lGL
checking GL/glu.h usability… yes
checking GL/glu.h presence… yes
checking for GL/glu.h… yes
checking OpenGL/glu.h usability… no
checking OpenGL/glu.h presence… no
checking for OpenGL/glu.h… no
checking for OpenGL Utility library… -lGLU
checking for varargs GLU tesselator callback function type… no
checking GL/glut.h usability… no
checking GL/glut.h presence… no
checking for GL/glut.h… no
checking GLUT/glut.h usability… no
checking GLUT/glut.h presence… no
checking for GLUT/glut.h… no
checking for GLUT library… no
checking that generated files are newer than configure… done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating build/Makefile
config.status: creating contrib/Makefile
config.status: creating contrib/addtiffo/Makefile
config.status: creating contrib/dbs/Makefile
config.status: creating contrib/dbs/xtiff/Makefile
config.status: creating contrib/iptcutil/Makefile
config.status: creating contrib/mfs/Makefile
config.status: creating contrib/pds/Makefile
config.status: creating contrib/ras/Makefile
config.status: creating contrib/stream/Makefile
config.status: creating contrib/tags/Makefile
config.status: creating contrib/win_dib/Makefile
config.status: creating html/Makefile
config.status: creating html/images/Makefile
config.status: creating html/man/Makefile
config.status: creating libtiff-4.pc
config.status: creating libtiff/Makefile
config.status: creating man/Makefile
config.status: creating port/Makefile
config.status: creating test/Makefile
config.status: creating tools/Makefile
config.status: creating libtiff/tif_config.h
config.status: libtiff/tif_config.h is unchanged
config.status: creating libtiff/tiffconf.h
config.status: libtiff/tiffconf.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands

Libtiff is now configured for x86_64-unknown-linux-gnu

Installation directory: /usr/local
Documentation directory: ${prefix}/share/doc/tiff-4.0.3
C compiler: gcc -g -O2 -Wall -W
C++ compiler: g++ -g -O2
Enable runtime linker paths: no
Enable linker symbol versioning: no
Support Microsoft Document Imaging: yes
Use win32 IO: no

Support for internal codecs:
CCITT Group 3 & 4 algorithms: yes
Macintosh PackBits algorithm: yes
LZW algorithm: yes
ThunderScan 4-bit RLE algorithm: yes
NeXT 2-bit RLE algorithm: yes
LogLuv high dynamic range encoding: yes

Support for external codecs:
ZLIB support: yes
Pixar log-format algorithm: yes
JPEG support: yes
Old JPEG support: yes
JPEG 8/12 bit dual mode: no
ISO JBIG support: no
LZMA2 support: no

C++ support: yes

OpenGL support: no

Configured wxWidgets 3.0.1 for `x86_64-unknown-linux-gnu’

Which GUI toolkit should wxWidgets use? GTK+ 3 with support for GTK+ printing libnotify
Should wxWidgets be compiled into single library? no
Should wxWidgets be linked as a shared library? yes
Should wxWidgets support Unicode? yes (using wchar_t)
What level of wxWidgets compatibility should be enabled?
wxWidgets 2.6 no
wxWidgets 2.8 yes
Which libraries should wxWidgets use?
STL no
jpeg sys
png sys
regex builtin
tiff builtin
zlib sys
expat sys
libmspack no
sdl no
[/code]

Voici déjà le résultat du ./configure [blablabla], comme ça tu peux voir si y a pas de pb avec.

Après pour le reste, j’att que ça aie fini de compiler, sachant que de toute façon c’est déjà ce que j’avais fait avant donc je ne m’attends pas a des miracles…

GTK+ 3 donc c’est ce qui faut, vu que le CMake va utiliser GTK3 aussi.
make et sudo make install ensuite. Vérifie avec wx-config --list que ça utilise par défaut gtk3-unicode-3.0 (colle ici ce que donne la commande pour plus de sureté).

Ensuite, relance la compile de GD :slight_smile:

[code]root@DELL-VALENTIN:~/gd/ExtLibs/wxWidgets# wx-config --list

Default config is gtk3-unicode-3.0

Default config will be used for output

Alternate matches:
gtk2-unicode-2.9
gtk2-unicode-3.0
gtk3-unicode-2.9

root@DELL-VALENTIN:~/gd/ExtLibs/wxWidgets#
[/code]

Je teste…

[ 19%] Building CXX object Core/CMakeFiles/GDCore.dir/GDCore/BuiltinExtensions/CommonInstructionsExtension.cpp.o In file included from /home/valentin/gd/Core/GDCore/BuiltinExtensions/CommonInstructionsExtension.cpp:15:0: /home/valentin/gd/Core/./GDCore/Events/Builtin/LinkEvent.h: In constructor ‘gd::LinkEvent::LinkEvent()’: /home/valentin/gd/Core/./GDCore/Events/Builtin/LinkEvent.h:21:134: warning: large integer implicitly truncated to unsigned type [-Woverflow] LinkEvent() : BaseEvent(), includeAll(true), includeStart(std::string::npos), includeEnd(std::string::npos), linkWasInvalid(false) {}; ^ /home/valentin/gd/Core/./GDCore/Events/Builtin/LinkEvent.h:21:134: warning: large integer implicitly truncated to unsigned type [-Woverflow] [ 19%] Building CXX object Core/CMakeFiles/GDCore.dir/GDCore/BuiltinExtensions/AdvancedExtension.cpp.o [ 19%] Building CXX object Core/CMakeFiles/GDCore.dir/GDCore/BuiltinExtensions/KeyboardExtension.cpp.o [ 19%] Building CXX object Core/CMakeFiles/GDCore.dir/GDCore/BuiltinExtensions/VariablesExtension.cpp.o [ 19%] Building CXX object Core/CMakeFiles/GDCore.dir/GDCore/BuiltinExtensions/StringInstructionsExtension.cpp.o [ 19%] Building CXX object Core/CMakeFiles/GDCore.dir/GDCore/Tools/Log.cpp.o [ 19%] Building CXX object Core/CMakeFiles/GDCore.dir/GDCore/Tools/DynamicLibrariesTools.cpp.o [ 20%] Building CXX object Core/CMakeFiles/GDCore.dir/GDCore/Tools/Locale/LocaleManager.cpp.o [ 20%] Building CXX object Core/CMakeFiles/GDCore.dir/GDCore/Tools/VersionWrapper.cpp.o [ 20%] Building CXX object Core/CMakeFiles/GDCore.dir/GDCore/Tools/HelpFileAccess.cpp.o Linking CXX shared library ../Binaries/Output/Release_Linux/libGDCore.so /usr/bin/ld: ne peut trouver -lwx_gtk3u_webview-3.0 collect2: error: ld returned 1 exit status make[2]: *** [Binaries/Output/Release_Linux/libGDCore.so] Erreur 1 make[1]: *** [Core/CMakeFiles/GDCore.dir/all] Erreur 2 make: *** [all] Erreur 2

Fantastique ! Ça a pratiquement marché :mrgreen:
Le problème de compatibilité est réglé ! Donc il faudra que mette à jour la doc pour faire télécharger wxWidgets 3 (c’est une bonne chose de mettre à jour cette lib, ça va apporter des corrections de bugs :slight_smile: )

Par contre donc, il n’a toujours pas compilé webview, donc ça a planté au linking! Je l’avais pas vu mais en effet en re-regardant le configure:

checking for WEBKIT... configure: WARNING: webkitgtk not found. configure: WARNING: WebKit not available, disabling wxWebView

Voilà le soucis qui nous reste. T’a bien libwebkitgtk-3.0-dev et les bibliothèques du genre d’installés ? :slight_smile:

Salut, j’ai pas le droit d’avoir une réponse de ta part 4ian ? :frowning:

J’ai réussi à compiler Game Develop sur Windows, mais je voudrais savoir s’il y a des scripts à exécuter après la compilations pour copier les includes, les fichiers du compilateur dans le dossier de Game Develop ? (car c’est un peu long à faire à la main)

@Victor :

Sur windows, lance IDE/scripts/UpdateHeadersAndPCHRelease.bat pour copier tous les fichiers includes nécessaires pour GDCpp. Il faut aussi le compilateur en effet, j’hésite à le rajouter dans le git… Pour le moment, copie le dossier MinGW32 (depuis une installation récente de GD par exemple ou depuis ton installation à toi) dans le dossier Binaries\Output\Release_Windows\CppPlatform.

Sur linux, il y a IDE/scripts/UpdateHeadersAndPCHRelease.sh pour copier tous les includes nécessaires pour GDCpp. Pas besoin de compilateur car celui du système est utilisé.

Pourrais tu me dire les étapes où tu a buté pour que je les documente plus ? (En plus de ces scripts non documentés).

@Crone123 : Je suis entrain d’installer une VM Ubuntu 14.04 pour compiler GD dessus.

@Dayvid: Je vais bientôt faire un sujet sur la nouveauté lié à Game Develop (ce n’est pas une nouveauté dans GD, mais un projet annexe lié). :slight_smile:

Il faudrait aussi préciser qu’il faut copier les fichiers libsfml-audio.a (et les autres) dans le dossier de Game Develop pour que la compilation marche. De plus, les headers de Boost ne sont pas copiés automatiquement.

D’ailleurs, avec le C++11, il n’y aurait pas moyen de se débarrasser de Boost ? (il faudrait évidemment mettre à jour le compilateur, MinGW 4.5 commence à dater, je vais faire des essais de compilation avec TDM-GCC 4.8.1).

D’ailleurs, pour le compilateur, il faut faire gaffe à l’installer en mode “Hors ligne” pour ne pas télécharger la dernière version de GCC.

EDIT : Est-ce qu’il serait pertinent de créer une section sur le forum liée au développement de GD (sur le forum anglais bien sûr) ?

EDIT 2 : J’ai réussi à compiler GD avec MinGW 4.8.1 et WxWidgets 3.0.1, j’ai du modifier les chemins d’inclusion pour les headers de GCC 4.8.1 et désactiver des macros de Windows (CreateEvent qui était en conflit avec gd::Project et gd::Platform, et CopyFile). Je peux faire une pull request si tu veux, les modifs sont actuellement disponible sur une branche séparée : https://github.com/victorlevasseur/GD/tree/gcc-4.8.1

Merci Victor :slight_smile:
Pour le headers de boost, le script doit pourtant lancer une commande qui copie les headers nécessaires… (la commande c’est bcp). Pour les fichiers .a oui en effet, il faudrait faire un script qui copie les dlls ou les .so après recompilations des libs.

Super pour TDM-GCC 4.8.1! Je pense qu’on peut garder ce pull request au chaud. Une fois la prochaine version en ligne, je passerai un peu de temps à, premièrement, upgrader vers cette version (il s’agit de recompiler les libs donc) et puis après se passer de boost.
Je préfère fair ça après la prochaine sortie car ça implique quand même pas mal de modifs.

Pour la commande bcp, elle n’est justement pas trouvée donc c’est surement pour cela que ça ne marche pas.

Sinon, j’ai eu quand même quelques soucis avec la compilation de WxWidgets, notamment un fichier objet qu’il ne trouve pas (coredll_headerctlg.o) alors qu’un fichier dont le nom ressemble beaucoup (coredll_headerctrlg.o) existe et permet de le remplacer (en le renommant, et là, le linkage fonctionne bien). J’ai demandé d’où peut venir ce problème sur le forum de WxWidgets.

Game Develop compile en C++11 mais en utilisant un peu plus que la norme (à cause de WxWidgets). Ca compile avec :

-std=gnu++11
[/code] mais pas avec[code]
-std=c++11

(il faut d’ailleurs aussi compiler WxWidgets avec cette options en utilisant CXX_FLAGS=-std=gnu++11.

Salut,
Désolé du temps de réponse, mais comme je l’ai dit plus tôt j’étais partit une semaine en vacances…je suis rentré y a environ 1h…

Non je ne pense pas, je regarde ça tout de suite :slight_smile:

@victor : Oui ce point là m’embête un peu plus, car autant passer à C++11 pas de problème, autant ça m’embête un peu d’utiliser gnu++11, pour deux raisons : ça pourrait casser avec d’autres compilateurs comme clang (même si ça m’étonnerait, clang supporte bien tout maintenant), et j’ai un peu peur de casser wxWidgets (du moins ça a pas du être beaucoup testé avec ce flag).

Dans tous les cas le travail là dessus n’est pas perdu, si y a pas de soucis je mettrai à jour tout ça avec ton commit :slight_smile:

@Crone123 : pas de soucis évidemment ! :slight_smile: Installe la lib si tu peux, puis relance encore une fois le

./configure --enable-ribbon --enable-webview make sudo make install

J’ai mis à jour la page de documentation pour builder wxWidgets et SFML (notamment j’ai rajouté les dépendances) : 4ian.github.io/GD-Documentation/ … linux.html

C’est surtout WxWidgets qui avait besoin de ce flag, pas Game Develop en soi. Sinon, cela déclenchait des erreurs pour Scintilla lors de la compilation de WxWidgets et des erreurs avec les macros wxMkDir (RecursiveMkDir.cpp) et wxStat (pour wxStedit) de WxWigdets.

En essayant de compiler Game Develop sur Arch Linux, je me suis rendu compte que SFMLLinux.7z n’est toujours pas la bonne version (4ian.github.io/GD-Documentation/ … linux.html).

En effet, je corrige ça demain.

Voilà le résultat de ma compilation sur Arch Linux :
Game Develop fonctionne mais :

  • Les phrases contenant des accents ne sont pas chargée par la traduction française (et GD m’avertit qu’il n’est pas capable de charger la locale fr_FR, c’est d’ailleurs le cas pour toutes les locales, même si l’anglais marche bien)
  • Il faut compiler wxWidgets en ajoutant CXX=“g++ -fno-devirtualize” et ajouter ce flag dans CMakeLists.txt de GD (à cause d’un bug de GCC 4.9.1 qui devrait être corrigé pour GCC 4.9.2)
  • SFML dans GD ne fonctionne pas bien, on voit juste la couleur de fond de la scène quand on l’édite