Pixtudio compilation error

Issue #26 resolved
Benjamin Hoffmann created an issue

When I try to compile Pixtudio, I get this error :

c_main.c
In file included from C:/Creations/Programmation/VideoGames/BennuGD/Pixtudio/Sources/pixtudio/core/include/monolithic_includes.h:79:0,
                 from C:/Creations/Programmation/VideoGames/BennuGD/Pixtudio/Sources/pixtudio/core/include/loadlib.h:50,
                 from C:/Creations/Programmation/VideoGames/BennuGD/Pixtudio/Sources/pixtudio/projects/QTCreator/../../core/pxtb/src/c_main.c:30:
C:/Creations/Programmation/VideoGames/BennuGD/Pixtudio/Sources/pixtudio/modules/mod_curl/mod_curl_symbols.h:28:23: fatal error: curl/curl.h: No such file or directory
compilation terminated.

I have followed instructions from https://pixtudio.org/. By the way, I think the gcc installation is missing in your tutorial. Here is the missing command line : For 64bits

pacman -S mingw-w64-x86_64-gcc

For 32bits

pacman -S mingw-w64-i686-gccc

I will be happy to contribute to Pixtudio development ! You are doing a great job !

Comments (4)

  1. Joseba Echevarria García repo owner

    Thanks for reporting!

    I'd say the gcc line was present in the build instructions, at least for 32bits. It is, now.

    Captura de pantalla 2016-01-31 a las 14.44.06.png

    Also, I have removed mod_curl from the default compilation since it's not yet working properly, as reported in #16 (commit 828881d).

    I have also updated the "Windows 10" section of the pixtudio.org site (commit 9de688b). Please note that I have added two more dependencies to the instructions:

    • mingw32/mingw-w64-i686-cmake: Since I'm going to deprecate the static Makefiles soon. The CMake-based build system is ready, but I want to test it a bit more before removing the static makefiles.
    • mingw32/mingw-w64-i686-freetype: Since I'm working on adding font rendering through FreeType (including TTF fonts, see #23). This is already working in prototype form, but I still need to integrate support into mod_map/mod_text and fix some rough edges.

    I have performed a clean installation of MSYS2+Mingw64-w32 in a Windows 10 computer folllowing the instructions posted in pixtudio.org and the current code compilles, so I'm closing the issue. Please let me know if it is not fully resolved.

  2. Log in to comment