Ah oui, j’ai zappé ces params désolé (en + j’avais vu ça dans la ligne de commande du tuto, pourquoi je ne les ai pas mis, mystère…)
Je ré-essaye avec ça de suite
Ah oui, j’ai zappé ces params désolé (en + j’avais vu ça dans la ligne de commande du tuto, pourquoi je ne les ai pas mis, mystère…)
Je ré-essaye avec ça de suite
Pour répondre à Dayvid sinon, je lâche pas le développement de GD, je pense que l’ouverture open source peut aider toute la communauté à rendre le logiciel meilleur !
Je vais pas tarder à présenter un projet annexe basé sur Game Develop, ça va envoyer
Ah quand même depuis le temps que j’attends ta réponse 4ian
Oula alors ça c’est une nouvelle de dingue, que nous prépare tu toi hein
Alors j’imagine un truc ou on peut créer aussi bien des applications que des jeux et ont peut créer nos propres extension simplement !
Un truc ressemblant à GD mais en encore mieux
Le soucis 4ian, j’aimerais bien t’aider mais tu sais que en C++ je vaux à peut prêt comme toi en astronomie (Dis au pif)
Sa veux dire que j’y connais quedale donc comment tu veux que je t’aide moi ?
Bon bin tien nous au courent, surtout moi lol, j’ai hate de voir se que tu prépare là !
Pour que 4ian dise → ça va envoyer
C’est que c’est très probablement un truc de ouf
Toujours la même erreur, j’ai pourtant bien recompilé WxWidgets avec les bons param, et réinstallé.
ça bloque toujours exactement au même endroit, il ne trouve pas le truc a linker…
Tu peux afficher ici le résultat de ./configure --enable-ribbon --enable-webview ?
[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 --without-gnomeprint… 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-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 strcasecmp() in string.h… yes
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 wcsdup… yes
checking for wcsftime… yes
checking for strnlen… 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 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-2.9
config.status: creating lib/wx/config/inplace-gtk3-unicode-2.9
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/preferences/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-2.9/wx/setup.h
config.status: lib/wx/include/gtk3-unicode-2.9/wx/setup.h is unchanged
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 2.9.5 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 la copie de la sortie standard
Voilà le soucis
Il faut surement installer cette lib : sudo apt-get install libwebkitgtk-3.0-0
(ou tout autre paquet plus récent libwebkitgtk-xxx)
valentin@DELL-VALENTIN:~/gd/ExtLibs/wxWidgets$ sudo apt-get install libwebkitgtk-3.0-0
[sudo] password for valentin:
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
libwebkitgtk-3.0-0 est déjà la plus récente version disponible.
Le paquet suivant a été installé automatiquement et n'est plus nécessaire :
firefox-locale-fr
Veuillez utiliser « apt-get autoremove » pour le supprimer.
0 mis à jour, 0 nouvellement installés, 0 à enlever et 1 non mis à jour.
Déjà installé, par contre, le paquet libwebkitgtk-dev ne l’était pas, je teste avec ça
Du coup faudrait peut être rajouter cette dépendance dans le cmake, histoire de ne pas se faire avoir bêtement…
EDIT:
Un truc qui ne bloque pas la compilation:
[ 41%] make[2]: *** Pas de règle pour fabriquer la cible « Extensions/ParticleSystem/SPARK/lib/gcc/static/libSPARK_GL.a », nécessaire pour « Binaries/Output/Release_Linux/CppPlatform/Extensions/Runtime/ParticleSystem.xgdl ». Arrêt.
Et un truc qui bloque la compilation:
[ 44%] Building CXX object Core/CMakeFiles/GDCore.dir/GDCore/Tools/VersionWrapper.cpp.o
[ 44%] 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-2.9
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
valentin@DELL-VALENTIN:~/gd$
Cette fois ci ça bloque a 44%, autrement dit, c’est beaucoup mieux passé que la fois d’avant
Merci
Oui voilà, c’est ce qu’il faut.
Maintenant que c’est installé, assure toi de bien avoir refait un ./configure --enable-ribbon --enable-webview puis make et make install de wxWidgets.
Durant le configure, assure toi que
checking for WEBKIT... configure: WARNING: webkitgtk not found.
configure: WARNING: WebKit not available, disabling wxWebView
n’apparait pas (sinon ça veut dire qu’il désactive la compilation de wx_gtk3u_webview-2.9 d’où ton soucis!).
En cas de doute, recolle ici le résultat du configure.
Oui je te l’avais dit plus haut : va dans Extensions/CmakeLists.txt et supprime la ligne comportant ADD_SUBDIRECTORY(ParticleSystem)
Salut,
Alors là je ne comprends plus rien
[ 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-2.9/wx/treectrl.h:19: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-2.9/wx/defs.h:3342: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$
Y a un conflit de déclaration, et j’ai pourtant fait un make clean, et tout recompilé proprement avant de ré-installer la bibliothèque.
Y aurait t-il un conflit entre la bibliothèque utilisée par GD et une autre version déjà installée?
Merci
T’y est pour rien, je pense que GTK3 et wxWidgets 3 sont encore un peu en développement donc ça peut coincer :
Refait (encore) un configure mais cette fois :
./configure --with-gtk=2 --enable-ribbon --enable-webview
puis make et make install de wxWidgets.
Si ça marche je metterai ça dans la documentation. Merci pour ta patience !
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-2.9/wx/treectrl.h:19: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-2.9/wx/defs.h:3342: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
Toujours un pb…
J’ai recompilé WxWidgets avec ta commande (j’ai tout clean avant), j’ai installé WxWidgets avec sudo make install, j’ai clean la compil de gd, et j’ai fait make pour voir, et on en arrive là…
Si tu as d’autres idées n’hésites pas a proposer, je peux tester.
Et pas de soucis sinon, j’ai du temps devant moi pour faire des tests
Par contre, samedi je pars en vacances, donc a partir de samedi je serais pas dispo avant le 2 août au soir… (je préviens, des fois qu’on se demande pourquoi je ne réponds plus )
Merci
EDIT: Y aurait t-il fallu faire a nouveau un cmake pour GD, ou le make clean est normalement suffisant?
Il y a un problème avec la configuration que tu as faites car l’erreur parle encore de GTK3, tu as bien les bibliothèques de dev de GTK2 ?
root@DELL-VALENTIN:~/gd# apt-get install libgtk2.0-dev
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
libgtk2.0-dev est déjà la plus récente version disponible.
Oui je les ai
Je refait un cmake avec le dossier de gd, et je compile pour voir … (make clean avant de compiler)
EDIT:
Non, ça veut toujours pas…
valentin@DELL-VALENTIN:~/gd$ make
[ 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-2.9/wx/treectrl.h:19: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-2.9/wx/defs.h:3342: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
J’ai compilé WxWidgets avec la commande de 4ian (la dernière) après avoir tout clean.
Je l’ai installée, ensuite j’ai clean le dossier de GD (make clean) et j’ai relancé un cmake depuis gd/Binaries/.build
Puis, make depuis le dossier de gd et ça me donnne ce que vous voyez au dessus…
Et oui, ça parle de GTK-3, mais n’y aurait t-il pas un problème du genre: Conflit entre GTK3-dev et GTK2-dev, ce qui fait que l’inclusion inclus le mauvais? Ou le genre…
D’ailleurs, les dernières version d’Ubuntu ne sont pas passées entièrement a GTK3?
Merci
Tu peux afficher le résultat du configure ?
Pour:
./configure --with-gtk=2 --enable-ribbon --enable-webview
J’ai:
[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 --without-gnomeprint… 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-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 strcasecmp() in string.h… yes
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… yes (version 2.24.23)
checking if GTK+ is version >= 2.18… yes
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 wcsdup… yes
checking for wcsftime… yes
checking for strnlen… 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 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 LIBGNOMEPRINTUI… no
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… yes
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/gtk2-unicode-2.9
config.status: creating lib/wx/config/inplace-gtk2-unicode-2.9
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/webview/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/preferences/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/gtk2-unicode-2.9/wx/setup.h
config.status: lib/wx/include/gtk2-unicode-2.9/wx/setup.h is unchanged
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’ ‘–with-gtk=2’ ‘–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 2.9.5 for `x86_64-unknown-linux-gnu’
Which GUI toolkit should wxWidgets use? GTK+ 2 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]
Après ça, comme je l’ai dit, j’ai recompilé entièrement et j’ai fais le sudo make install avant de recompiler entièrement GD…
Si tu vois quelque chose, n’hésite pas a proposer pour que je teste
Merci
Essaie en supprimant le paquet de développement de GTK3.
Avec libgtk2.0-dev installé, et libgtk3.0-dev supprimé:
[ 4%] Building CXX object Core/CMakeFiles/GDCore.dir/GDCore/IDE/Dialogs/ResourcesEditor.cpp.o
/home/valentin/gd/Core/GDCore/IDE/Dialogs/ResourcesEditor.cpp:55:21: fatal error: gtk/gtk.h: Aucun fichier ou dossier de ce type
#include <gtk/gtk.h>
^
compilation terminated.
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
Donc je pense qu’il ne prends pas du tout en compte GTK 2.0…ou quelque chose dans le genre…
Je vais essayer de recompiler intégralement le bordel pour voir…
J’ai recompilé WxWidgets, et j’ai recompilé entièrement GD, sans libgtk3.0-dev installé, et avec libgtk2.0-dev installé:
[ 12%] Building CXX object Core/CMakeFiles/GDCore.dir/GDCore/IDE/Dialogs/EditRepeatEvent.cpp.o
/home/valentin/gd/Core/GDCore/IDE/Dialogs/ResourcesEditor.cpp:55:21: fatal error: gtk/gtk.h: Aucun fichier ou dossier de ce type
#include <gtk/gtk.h>
^
compilation terminated.
Donc ça ne marche pas, il faut utiliser GTK3 je pense
Supprime le dossier de wxWidgets téléchargé depuis compilgames.net et télécharge la dernière version ici : wxwidgets.org/ (Prend la 3.0.1, source pour linux).
Extrait là et fait un :
./configure --enable-ribbon --enable-webview
make
make install
Vu que c’est la dernière version, j’espère que l’incompatibilité est reglée, et comme c’est la suite de la branche 2.9.x, j’ose espérer que ça compilera avec le code actuel de GD. Sinon je l’adapterai.
Avec la dernière version du site officiel:
valentin@DELL-VALENTIN:~/gd$ make
[ 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-2.9/wx/treectrl.h:19: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-2.9/wx/defs.h:3342: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$
Par contre je vois que l’include se fait au niveau de /usr/local/include, est-ce bien là que ça doit inclure, ou ça m’inclus une mauvaise version pré-compilée?