MyPaint version pre-alpha preview

Hi @CandyFace
Is there a way for me to build your mypaint-version-pencil2D in windows?

@kaiko Not currently, I rely on precompiled libmypaint binaries and I only have those for Mac OS atm.

I’m working no getting a setup for windows so that I can make it work but it might take some time. I will let you know when/if I get it working.

It might be possible to compile if you adventurous:

  1. download the source code from my branch
  2. copy the 3rdlib folder and everything in it from feeef branch and replace the 3rdlib folder from my branch.
  3. Run qmake in qt creator
  4. Build.

It might work.

1 Like

Oh, I was so trilled with the idea of getting this working :smile:… but it didn’t . I followed your indication and there was so many errors displayed on the qtcreator…

Thank you anyway @CandyFace :grinning:

@kaiko Ah my bad… you should not have replaced everything in 3rdlib, try to only replace libmypaint folder and try again. I forgot that there are several things changed in /src so that definitely won’t work. Would you mind sending log of the compilation too?

1 Like

@CandyFace. Didn’t work Less errors but not able to build pencil2d
I do not know how to get a Log of the compilation. I will copy paste all teh information I got

Thanks for the help

COMPILE OUT:
16:00:44: Running steps for project pencil2d…
16:00:44: Starting: “C:\Qt\5.9.7\mingw53_32\bin\qmake.exe” E:\NOVOS\PENCIL\CandyFace-pencil-implement_mypaint\pencil-implement_mypaint\pencil2d.pro -spec win32-g++ “CONFIG+=debug” “CONFIG+=qml_debug”
Info: creating stash file E:\NOVOS\PENCIL\CandyFace-pencil-implement_mypaint\build-pencil2d-Desktop_Qt_5_9_7_MinGW_32bit-Debug.qmake.stash
16:00:45: The process “C:\Qt\5.9.7\mingw53_32\bin\qmake.exe” exited normally.
16:00:45: Starting: “C:\Qt\Tools\mingw530_32\bin\mingw32-make.exe” -f E:/NOVOS/PENCIL/CandyFace-pencil-implement_mypaint/build-pencil2d-Desktop_Qt_5_9_7_MinGW_32bit-Debug/Makefile qmake_all
cd 3rdlib\qtmypaint\ && C:\Qt\5.9.7\mingw53_32\bin\qmake.exe -o Makefile E:\NOVOS\PENCIL\CandyFace-pencil-implement_mypaint\pencil-implement_mypaint\3rdlib\qtmypaint\qtmypaint.pro -spec win32-g++ “CONFIG+=debug” “CONFIG+=qml_debug”
cd 3rdlib\qtmypaint\ && C:/Qt/Tools/mingw530_32/bin/mingw32-make -f Makefile qmake_all
mingw32-make[1]: Entering directory ‘E:/NOVOS/PENCIL/CandyFace-pencil-implement_mypaint/build-pencil2d-Desktop_Qt_5_9_7_MinGW_32bit-Debug/3rdlib/qtmypaint’
cd json-c\ && C:\Qt\5.9.7\mingw53_32\bin\qmake.exe -o Makefile E:\NOVOS\PENCIL\CandyFace-pencil-implement_mypaint\pencil-implement_mypaint\3rdlib\qtmypaint\json-c\json-c.pro -spec win32-g++ “CONFIG+=debug” “CONFIG+=qml_debug”
testing win32
1 file(s) copied.
Project MESSAGE: config.h moved to correct folder
Project MESSAGE: config.h moved to correct folder
cd json-c\ && C:/Qt/Tools/mingw530_32/bin/mingw32-make -f Makefile qmake_all
mingw32-make[2]: Entering directory ‘E:/NOVOS/PENCIL/CandyFace-pencil-implement_mypaint/build-pencil2d-Desktop_Qt_5_9_7_MinGW_32bit-Debug/3rdlib/qtmypaint/json-c’
mingw32-make[2]: Nothing to be done for ‘qmake_all’.
mingw32-make[2]: Leaving directory ‘E:/NOVOS/PENCIL/CandyFace-pencil-implement_mypaint/build-pencil2d-Desktop_Qt_5_9_7_MinGW_32bit-Debug/3rdlib/qtmypaint/json-c’
cd libmypaint\ && C:\Qt\5.9.7\mingw53_32\bin\qmake.exe -o Makefile E:\NOVOS\PENCIL\CandyFace-pencil-implement_mypaint\pencil-implement_mypaint\3rdlib\qtmypaint\libmypaint\libmypaint.pro -spec win32-g++ “CONFIG+=debug” “CONFIG+=qml_debug”
cd libmypaint\ && C:/Qt/Tools/mingw530_32/bin/mingw32-make -f Makefile qmake_all
mingw32-make[2]: Entering directory ‘E:/NOVOS/PENCIL/CandyFace-pencil-implement_mypaint/build-pencil2d-Desktop_Qt_5_9_7_MinGW_32bit-Debug/3rdlib/qtmypaint/libmypaint’
mingw32-make[2]: Nothing to be done for ‘qmake_all’.
mingw32-make[2]: Leaving directory ‘E:/NOVOS/PENCIL/CandyFace-pencil-implement_mypaint/build-pencil2d-Desktop_Qt_5_9_7_MinGW_32bit-Debug/3rdlib/qtmypaint/libmypaint’
cd src\ && C:\Qt\5.9.7\mingw53_32\bin\qmake.exe -o Makefile E:\NOVOS\PENCIL\CandyFace-pencil-implement_mypaint\pencil-implement_mypaint\3rdlib\qtmypaint\src\src.pro -spec win32-g++ “CONFIG+=debug” “CONFIG+=qml_debug”
cd src\ && C:/Qt/Tools/mingw530_32/bin/mingw32-make -f Makefile qmake_all
mingw32-make[2]: Entering directory ‘E:/NOVOS/PENCIL/CandyFace-pencil-implement_mypaint/build-pencil2d-Desktop_Qt_5_9_7_MinGW_32bit-Debug/3rdlib/qtmypaint/src’
mingw32-make[2]: Nothing to be done for ‘qmake_all’.
mingw32-make[2]: Leaving directory ‘E:/NOVOS/PENCIL/CandyFace-pencil-implement_mypaint/build-pencil2d-Desktop_Qt_5_9_7_MinGW_32bit-Debug/3rdlib/qtmypaint/src’
mingw32-make[1]: Leaving directory ‘E:/NOVOS/PENCIL/CandyFace-pencil-implement_mypaint/build-pencil2d-Desktop_Qt_5_9_7_MinGW_32bit-Debug/3rdlib/qtmypaint’
cd core_lib\ && C:\Qt\5.9.7\mingw53_32\bin\qmake.exe -o Makefile E:\NOVOS\PENCIL\CandyFace-pencil-implement_mypaint\pencil-implement_mypaint\core_lib\core_lib.pro -spec win32-g++ “CONFIG+=debug” “CONFIG+=qml_debug”
cd core_lib\ && C:/Qt/Tools/mingw530_32/bin/mingw32-make -f Makefile qmake_all
mingw32-make[1]: Entering directory ‘E:/NOVOS/PENCIL/CandyFace-pencil-implement_mypaint/build-pencil2d-Desktop_Qt_5_9_7_MinGW_32bit-Debug/core_lib’
mingw32-make[1]: Nothing to be done for ‘qmake_all’.
mingw32-make[1]: Leaving directory ‘E:/NOVOS/PENCIL/CandyFace-pencil-implement_mypaint/build-pencil2d-Desktop_Qt_5_9_7_MinGW_32bit-Debug/core_lib’
cd app\ && C:\Qt\5.9.7\mingw53_32\bin\qmake.exe -o Makefile E:\NOVOS\PENCIL\CandyFace-pencil-implement_mypaint\pencil-implement_mypaint\app\app.pro -spec win32-g++ “CONFIG+=debug” “CONFIG+=qml_debug”
cd app\ && C:/Qt/Tools/mingw530_32/bin/mingw32-make -f Makefile qmake_all
mingw32-make[1]: Entering directory ‘E:/NOVOS/PENCIL/CandyFace-pencil-implement_mypaint/build-pencil2d-Desktop_Qt_5_9_7_MinGW_32bit-Debug/app’
mingw32-make[1]: Nothing to be done for ‘qmake_all’.
mingw32-make[1]: Leaving directory ‘E:/NOVOS/PENCIL/CandyFace-pencil-implement_mypaint/build-pencil2d-Desktop_Qt_5_9_7_MinGW_32bit-Debug/app’
cd tests\ && C:\Qt\5.9.7\mingw53_32\bin\qmake.exe -o Makefile E:\NOVOS\PENCIL\CandyFace-pencil-implement_mypaint\pencil-implement_mypaint\tests\tests.pro -spec win32-g++ “CONFIG+=debug” “CONFIG+=qml_debug”
cd tests\ && C:/Qt/Tools/mingw530_32/bin/mingw32-make -f Makefile qmake_all
mingw32-make[1]: Entering directory ‘E:/NOVOS/PENCIL/CandyFace-pencil-implement_mypaint/build-pencil2d-Desktop_Qt_5_9_7_MinGW_32bit-Debug/tests’
mingw32-make[1]: Nothing to be done for ‘qmake_all’.
mingw32-make[1]: Leaving directory ‘E:/NOVOS/PENCIL/CandyFace-pencil-implement_mypaint/build-pencil2d-Desktop_Qt_5_9_7_MinGW_32bit-Debug/tests’
16:00:58: The process “C:\Qt\Tools\mingw530_32\bin\mingw32-make.exe” exited normally.
16:00:58: Starting: “C:\Qt\Tools\mingw530_32\bin\mingw32-make.exe” -j8
cd 3rdlib\qtmypaint\ && ( if not exist Makefile C:\Qt\5.9.7\mingw53_32\bin\qmake.exe -o Makefile E:\NOVOS\PENCIL\CandyFace-pencil-implement_mypaint\pencil-implement_mypaint\3rdlib\qtmypaint\qtmypaint.pro -spec win32-g++ “CONFIG+=debug” “CONFIG+=qml_debug” ) && C:/Qt/Tools/mingw530_32/bin/mingw32-make -f Makefile
mingw32-make[1]: Entering directory ‘E:/NOVOS/PENCIL/CandyFace-pencil-implement_mypaint/build-pencil2d-Desktop_Qt_5_9_7_MinGW_32bit-Debug/3rdlib/qtmypaint’
cd json-c\ && ( if not exist Makefile C:\Qt\5.9.7\mingw53_32\bin\qmake.exe -o Makefile E:\NOVOS\PENCIL\CandyFace-pencil-implement_mypaint\pencil-implement_mypaint\3rdlib\qtmypaint\json-c\json-c.pro -spec win32-g++ “CONFIG+=debug” “CONFIG+=qml_debug” ) && C:/Qt/Tools/mingw530_32/bin/mingw32-make -f Makefile
mingw32-make[2]: Entering directory ‘E:/NOVOS/PENCIL/CandyFace-pencil-implement_mypaint/build-pencil2d-Desktop_Qt_5_9_7_MinGW_32bit-Debug/3rdlib/qtmypaint/json-c’
C:/Qt/Tools/mingw530_32/bin/mingw32-make -f Makefile.Debug
mingw32-make[3]: Entering directory ‘E:/NOVOS/PENCIL/CandyFace-pencil-implement_mypaint/build-pencil2d-Desktop_Qt_5_9_7_MinGW_32bit-Debug/3rdlib/qtmypaint/json-c’
gcc -c -fno-keep-inline-dllexport -std=c99 -D_XOPEN_SOURCE=600 -g -Wall -W -Wextra -DUNICODE -D_UNICODE -DWIN32 -DQT_QML_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I…\pencil-implement_mypaint\3rdlib\qtmypaint\json-c -I. -IC:\Qt\5.9.7\mingw53_32\include -IC:\Qt\5.9.7\mingw53_32\include\QtGui -IC:\Qt\5.9.7\mingw53_32\include\QtANGLE -IC:\Qt\5.9.7\mingw53_32\include\QtCore -Idebug -IC:\Qt\5.9.7\mingw53_32\mkspecs\win32-g++ -o debug\arraylist.o …\pencil-implement_mypaint\3rdlib\qtmypaint\json-c\arraylist.c
gcc -c -fno-keep-inline-dllexport -std=c99 -D_XOPEN_SOURCE=600 -g -Wall -W -Wextra -DUNICODE -D_UNICODE -DWIN32 -DQT_QML_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I…\pencil-implement_mypaint\3rdlib\qtmypaint\json-c -I. -IC:\Qt\5.9.7\mingw53_32\include -IC:\Qt\5.9.7\mingw53_32\include\QtGui -IC:\Qt\5.9.7\mingw53_32\include\QtANGLE -IC:\Qt\5.9.7\mingw53_32\include\QtCore -Idebug -IC:\Qt\5.9.7\mingw53_32\mkspecs\win32-g++ -o debug\debug.o …\pencil-implement_mypaint\3rdlib\qtmypaint\json-c\debug.c
gcc -c -fno-keep-inline-dllexport -std=c99 -D_XOPEN_SOURCE=600 -g -Wall -W -Wextra -DUNICODE -D_UNICODE -DWIN32 -DQT_QML_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I…\pencil-implement_mypaint\3rdlib\qtmypaint\json-c -I. -IC:\Qt\5.9.7\mingw53_32\include -IC:\Qt\5.9.7\mingw53_32\include\QtGui -IC:\Qt\5.9.7\mingw53_32\include\QtANGLE -IC:\Qt\5.9.7\mingw53_32\include\QtCore -Idebug -IC:\Qt\5.9.7\mingw53_32\mkspecs\win32-g++ -o debug\json_c_version.o …\pencil-implement_mypaint\3rdlib\qtmypaint\json-c\json_c_version.c
gcc -c -fno-keep-inline-dllexport -std=c99 -D_XOPEN_SOURCE=600 -g -Wall -W -Wextra -DUNICODE -D_UNICODE -DWIN32 -DQT_QML_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I…\pencil-implement_mypaint\3rdlib\qtmypaint\json-c -I. -IC:\Qt\5.9.7\mingw53_32\include -IC:\Qt\5.9.7\mingw53_32\include\QtGui -IC:\Qt\5.9.7\mingw53_32\include\QtANGLE -IC:\Qt\5.9.7\mingw53_32\include\QtCore -Idebug -IC:\Qt\5.9.7\mingw53_32\mkspecs\win32-g++ -o debug\json_object.o …\pencil-implement_mypaint\3rdlib\qtmypaint\json-c\json_object.c
gcc -c -fno-keep-inline-dllexport -std=c99 -D_XOPEN_SOURCE=600 -g -Wall -W -Wextra -DUNICODE -D_UNICODE -DWIN32 -DQT_QML_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I…\pencil-implement_mypaint\3rdlib\qtmypaint\json-c -I. -IC:\Qt\5.9.7\mingw53_32\include -IC:\Qt\5.9.7\mingw53_32\include\QtGui -IC:\Qt\5.9.7\mingw53_32\include\QtANGLE -IC:\Qt\5.9.7\mingw53_32\include\QtCore -Idebug -IC:\Qt\5.9.7\mingw53_32\mkspecs\win32-g++ -o debug\json_object_iterator.o …\pencil-implement_mypaint\3rdlib\qtmypaint\json-c\json_object_iterator.c
gcc -c -fno-keep-inline-dllexport -std=c99 -D_XOPEN_SOURCE=600 -g -Wall -W -Wextra -DUNICODE -D_UNICODE -DWIN32 -DQT_QML_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I…\pencil-implement_mypaint\3rdlib\qtmypaint\json-c -I. -IC:\Qt\5.9.7\mingw53_32\include -IC:\Qt\5.9.7\mingw53_32\include\QtGui -IC:\Qt\5.9.7\mingw53_32\include\QtANGLE -IC:\Qt\5.9.7\mingw53_32\include\QtCore -Idebug -IC:\Qt\5.9.7\mingw53_32\mkspecs\win32-g++ -o debug\json_tokener.o …\pencil-implement_mypaint\3rdlib\qtmypaint\json-c\json_tokener.c
gcc -c -fno-keep-inline-dllexport -std=c99 -D_XOPEN_SOURCE=600 -g -Wall -W -Wextra -DUNICODE -D_UNICODE -DWIN32 -DQT_QML_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I…\pencil-implement_mypaint\3rdlib\qtmypaint\json-c -I. -IC:\Qt\5.9.7\mingw53_32\include -IC:\Qt\5.9.7\mingw53_32\include\QtGui -IC:\Qt\5.9.7\mingw53_32\include\QtANGLE -IC:\Qt\5.9.7\mingw53_32\include\QtCore -Idebug -IC:\Qt\5.9.7\mingw53_32\mkspecs\win32-g++ -o debug\json_util.o …\pencil-implement_mypaint\3rdlib\qtmypaint\json-c\json_util.c
…\pencil-implement_mypaint\3rdlib\qtmypaint\json-c\json_object.c: In function ‘json_object_boolean_to_json_string’:
…\pencil-implement_mypaint\3rdlib\qtmypaint\json-c\json_object.c:450:31: warning: unused parameter ‘level’ [-Wunused-parameter]
int level,
^
…\pencil-implement_mypaint\3rdlib\qtmypaint\json-c\json_object.c:451:31: warning: unused parameter ‘flags’ [-Wunused-parameter]
int flags)
^
…\pencil-implement_mypaint\3rdlib\qtmypaint\json-c\json_object.c: In function ‘json_object_int_to_json_string’:
…\pencil-implement_mypaint\3rdlib\qtmypaint\json-c\json_object.c:492:27: warning: unused parameter ‘level’ [-Wunused-parameter]
int level,
^
…\pencil-implement_mypaint\3rdlib\qtmypaint\json-c\json_object.c:493:27: warning: unused parameter ‘flags’ [-Wunused-parameter]
int flags)
^
…\pencil-implement_mypaint\3rdlib\qtmypaint\json-c\json_object.c: In function ‘json_object_double_to_json_string’:
…\pencil-implement_mypaint\3rdlib\qtmypaint\json-c\json_object.c:583:30: warning: unused parameter ‘level’ [-Wunused-parameter]
int level,
^
…\pencil-implement_mypaint\3rdlib\qtmypaint\json-c\json_object.c: In function ‘json_object_userdata_to_json_string’:
…\pencil-implement_mypaint\3rdlib\qtmypaint\json-c\json_object.c:652:30: warning: unused parameter ‘level’ [-Wunused-parameter]
struct printbuf *pb, int level, int flags)
^
…\pencil-implement_mypaint\3rdlib\qtmypaint\json-c\json_object.c:652:41: warning: unused parameter ‘flags’ [-Wunused-parameter]
struct printbuf *pb, int level, int flags)
^
…\pencil-implement_mypaint\3rdlib\qtmypaint\json-c\json_object.c: In function ‘json_object_free_userdata’:
…\pencil-implement_mypaint\3rdlib\qtmypaint\json-c\json_object.c:659:52: warning: unused parameter ‘jso’ [-Wunused-parameter]
void json_object_free_userdata(struct json_object *jso, void userdata)
^
…\pencil-implement_mypaint\3rdlib\qtmypaint\json-c\json_object.c: In function ‘json_object_string_to_json_string’:
…\pencil-implement_mypaint\3rdlib\qtmypaint\json-c\json_object.c:718:30: warning: unused parameter ‘level’ [-Wunused-parameter]
int level,
^
…\pencil-implement_mypaint\3rdlib\qtmypaint\json-c\json_object.c:719:30: warning: unused parameter ‘flags’ [-Wunused-parameter]
int flags)
^
gcc -c -fno-keep-inline-dllexport -std=c99 -D_XOPEN_SOURCE=600 -g -Wall -W -Wextra -DUNICODE -D_UNICODE -DWIN32 -DQT_QML_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I…\pencil-implement_mypaint\3rdlib\qtmypaint\json-c -I. -IC:\Qt\5.9.7\mingw53_32\include -IC:\Qt\5.9.7\mingw53_32\include\QtGui -IC:\Qt\5.9.7\mingw53_32\include\QtANGLE -IC:\Qt\5.9.7\mingw53_32\include\QtCore -Idebug -IC:\Qt\5.9.7\mingw53_32\mkspecs\win32-g++ -o debug\libjson.o …\pencil-implement_mypaint\3rdlib\qtmypaint\json-c\libjson.c
…\pencil-implement_mypaint\3rdlib\qtmypaint\json-c\json_object_iterator.c: In function ‘json_object_iter_end’:
…\pencil-implement_mypaint\3rdlib\qtmypaint\json-c\json_object_iterator.c:87:48: warning: unused parameter ‘obj’ [-Wunused-parameter]
json_object_iter_end(const struct json_object
obj)
^
gcc -c -fno-keep-inline-dllexport -std=c99 -D_XOPEN_SOURCE=600 -g -Wall -W -Wextra -DUNICODE -D_UNICODE -DWIN32 -DQT_QML_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I…\pencil-implement_mypaint\3rdlib\qtmypaint\json-c -I. -IC:\Qt\5.9.7\mingw53_32\include -IC:\Qt\5.9.7\mingw53_32\include\QtGui -IC:\Qt\5.9.7\mingw53_32\include\QtANGLE -IC:\Qt\5.9.7\mingw53_32\include\QtCore -Idebug -IC:\Qt\5.9.7\mingw53_32\mkspecs\win32-g++ -o debug\linkhash.o …\pencil-implement_mypaint\3rdlib\qtmypaint\json-c\linkhash.c
gcc -c -fno-keep-inline-dllexport -std=c99 -D_XOPEN_SOURCE=600 -g -Wall -W -Wextra -DUNICODE -D_UNICODE -DWIN32 -DQT_QML_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I…\pencil-implement_mypaint\3rdlib\qtmypaint\json-c -I. -IC:\Qt\5.9.7\mingw53_32\include -IC:\Qt\5.9.7\mingw53_32\include\QtGui -IC:\Qt\5.9.7\mingw53_32\include\QtANGLE -IC:\Qt\5.9.7\mingw53_32\include\QtCore -Idebug -IC:\Qt\5.9.7\mingw53_32\mkspecs\win32-g++ -o debug\printbuf.o …\pencil-implement_mypaint\3rdlib\qtmypaint\json-c\printbuf.c
gcc -c -fno-keep-inline-dllexport -std=c99 -D_XOPEN_SOURCE=600 -g -Wall -W -Wextra -DUNICODE -D_UNICODE -DWIN32 -DQT_QML_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I…\pencil-implement_mypaint\3rdlib\qtmypaint\json-c -I. -IC:\Qt\5.9.7\mingw53_32\include -IC:\Qt\5.9.7\mingw53_32\include\QtGui -IC:\Qt\5.9.7\mingw53_32\include\QtANGLE -IC:\Qt\5.9.7\mingw53_32\include\QtCore -Idebug -IC:\Qt\5.9.7\mingw53_32\mkspecs\win32-g++ -o debug\random_seed.o …\pencil-implement_mypaint\3rdlib\qtmypaint\json-c\random_seed.c
…\pencil-implement_mypaint\3rdlib\qtmypaint\json-c\printbuf.c: In function ‘sprintbuf’:
…\pencil-implement_mypaint\3rdlib\qtmypaint\json-c\printbuf.c:170:16: warning: implicit declaration of function ‘vasprintf’ [-Wimplicit-function-declaration]
if((size = vasprintf(&t, msg, ap)) < 0) { va_end(ap); return -1; }
^
del debug\libjson-c.a 2>NUL
ar -M < object_script.libjson-c.Debug
mingw32-make[3]: Leaving directory ‘E:/NOVOS/PENCIL/CandyFace-pencil-implement_mypaint/build-pencil2d-Desktop_Qt_5_9_7_MinGW_32bit-Debug/3rdlib/qtmypaint/json-c’
mingw32-make[2]: Leaving directory ‘E:/NOVOS/PENCIL/CandyFace-pencil-implement_mypaint/build-pencil2d-Desktop_Qt_5_9_7_MinGW_32bit-Debug/3rdlib/qtmypaint/json-c’
cd libmypaint\ && ( if not exist Makefile C:\Qt\5.9.7\mingw53_32\bin\qmake.exe -o Makefile E:\NOVOS\PENCIL\CandyFace-pencil-implement_mypaint\pencil-implement_mypaint\3rdlib\qtmypaint\libmypaint\libmypaint.pro -spec win32-g++ “CONFIG+=debug” “CONFIG+=qml_debug” ) && C:/Qt/Tools/mingw530_32/bin/mingw32-make -f Makefile
mingw32-make[2]: Entering directory ‘E:/NOVOS/PENCIL/CandyFace-pencil-implement_mypaint/build-pencil2d-Desktop_Qt_5_9_7_MinGW_32bit-Debug/3rdlib/qtmypaint/libmypaint’
C:/Qt/Tools/mingw530_32/bin/mingw32-make -f Makefile.Debug
mingw32-make[3]: Entering directory ‘E:/NOVOS/PENCIL/CandyFace-pencil-implement_mypaint/build-pencil2d-Desktop_Qt_5_9_7_MinGW_32bit-Debug/3rdlib/qtmypaint/libmypaint’
g++ -shared -Wl,-subsystem,windows -mthreads -Wl,–out-implib,debug\libmypaint.a -o debug\mypaint.dll -L…\json-c -ljson-c -LC:\Qt\5.9.7\mingw53_32\lib C:\Qt\5.9.7\mingw53_32\lib\libQt5Guid.a C:\Qt\5.9.7\mingw53_32\lib\libQt5Cored.a
C:/Qt/Tools/mingw530_32/bin/…/lib/gcc/i686-w64-mingw32/5.3.0/…/…/…/…/i686-w64-mingw32/bin/ld.exe: cannot find -ljson-c
collect2.exe: error: ld returned 1 exit status
Makefile.Debug:73: recipe for target ‘debug\mypaint.dll’ failed
mingw32-make[3]: Leaving directory ‘E:/NOVOS/PENCIL/CandyFace-pencil-implement_mypaint/build-pencil2d-Desktop_Qt_5_9_7_MinGW_32bit-Debug/3rdlib/qtmypaint/libmypaint’
Makefile:36: recipe for target ‘debug’ failed
mingw32-make[2]: Leaving directory ‘E:/NOVOS/PENCIL/CandyFace-pencil-implement_mypaint/build-pencil2d-Desktop_Qt_5_9_7_MinGW_32bit-Debug/3rdlib/qtmypaint/libmypaint’
mingw32-make[3]: *** [debug\mypaint.dll] Error 1
mingw32-make[2]: *** [debug] Error 2
Makefile:85: recipe for target ‘sub-libmypaint-make_first-ordered’ failed
mingw32-make[1]: Leaving directory ‘E:/NOVOS/PENCIL/CandyFace-pencil-implement_mypaint/build-pencil2d-Desktop_Qt_5_9_7_MinGW_32bit-Debug/3rdlib/qtmypaint’
Makefile:43: recipe for target ‘sub-3rdlib-qtmypaint-make_first-ordered’ failed
mingw32-make[1]: *** [sub-libmypaint-make_first-ordered] Error 2
mingw32-make: *** [sub-3rdlib-qtmypaint-make_first-ordered] Error 2
16:01:00: The process “C:\Qt\Tools\mingw530_32\bin\mingw32-make.exe” exited with code 2.
Error while building/deploying project pencil2d (kit: Desktop Qt 5.9.7 MinGW 32bit)
When executing step “Make”
16:01:00: Elapsed time: 00:16.


ISSUES:

COMPILE OUTPUT:

GENERAL MESSAGES:

There is two Compile-Output information: I think they are the same, but in any case…

Well, lets all have a drink now!
:smile:

@kaiko Thanks for the log :slight_smile: I’ve made a decent amount of changes since then, could you try to get the latest changes and compile it without changing anything now.

It probably still won’t work, but I’m hoping to see a clearer image through your logs.

btw. when you build the project, make sure to right-click and select “run qmake” on pencil2d project, before pressing build.

1 Like

Here it is @CandyFace

02:34:30: Running steps for project pencil2d…

02:34:30: Configuration unchanged, skipping qmake step.

02:34:30: Starting: “C:\Qt\Tools\mingw530_32\bin\mingw32-make.exe” -j8

cd 3rdlib\qtmypaint\ && ( if not exist Makefile C:\Qt\5.9.7\mingw53_32\bin\qmake.exe -o Makefile E:\NOVOS\PENCIL\CandyFace-pencil-implement_mypaint\pencil-implement_mypaint\3rdlib\qtmypaint\qtmypaint.pro -spec win32-g++ “CONFIG+=debug” “CONFIG+=qml_debug” ) && C:/Qt/Tools/mingw530_32/bin/mingw32-make -f Makefile

mingw32-make[1]: Entering directory ‘E:/NOVOS/PENCIL/CandyFace-pencil-implement_mypaint/build-pencil2d-Desktop_Qt_5_9_7_MinGW_32bit-Debug/3rdlib/qtmypaint’

cd json-c\ && ( if not exist Makefile C:\Qt\5.9.7\mingw53_32\bin\qmake.exe -o Makefile E:\NOVOS\PENCIL\CandyFace-pencil-implement_mypaint\pencil-implement_mypaint\3rdlib\qtmypaint\json-c\json-c.pro -spec win32-g++ “CONFIG+=debug” “CONFIG+=qml_debug” ) && C:/Qt/Tools/mingw530_32/bin/mingw32-make -f Makefile

mingw32-make[2]: Entering directory ‘E:/NOVOS/PENCIL/CandyFace-pencil-implement_mypaint/build-pencil2d-Desktop_Qt_5_9_7_MinGW_32bit-Debug/3rdlib/qtmypaint/json-c’

C:/Qt/Tools/mingw530_32/bin/mingw32-make -f Makefile.Debug

mingw32-make[3]: Entering directory ‘E:/NOVOS/PENCIL/CandyFace-pencil-implement_mypaint/build-pencil2d-Desktop_Qt_5_9_7_MinGW_32bit-Debug/3rdlib/qtmypaint/json-c’

mingw32-make[3]: Nothing to be done for ‘first’.

mingw32-make[3]: Leaving directory ‘E:/NOVOS/PENCIL/CandyFace-pencil-implement_mypaint/build-pencil2d-Desktop_Qt_5_9_7_MinGW_32bit-Debug/3rdlib/qtmypaint/json-c’

mingw32-make[2]: Leaving directory ‘E:/NOVOS/PENCIL/CandyFace-pencil-implement_mypaint/build-pencil2d-Desktop_Qt_5_9_7_MinGW_32bit-Debug/3rdlib/qtmypaint/json-c’

cd libmypaint\ && ( if not exist Makefile C:\Qt\5.9.7\mingw53_32\bin\qmake.exe -o Makefile E:\NOVOS\PENCIL\CandyFace-pencil-implement_mypaint\pencil-implement_mypaint\3rdlib\qtmypaint\libmypaint\libmypaint.pro -spec win32-g++ “CONFIG+=debug” “CONFIG+=qml_debug” ) && C:/Qt/Tools/mingw530_32/bin/mingw32-make -f Makefile

mingw32-make[2]: Entering directory ‘E:/NOVOS/PENCIL/CandyFace-pencil-implement_mypaint/build-pencil2d-Desktop_Qt_5_9_7_MinGW_32bit-Debug/3rdlib/qtmypaint/libmypaint’

C:/Qt/Tools/mingw530_32/bin/mingw32-make -f Makefile.Debug

mingw32-make[3]: Entering directory ‘E:/NOVOS/PENCIL/CandyFace-pencil-implement_mypaint/build-pencil2d-Desktop_Qt_5_9_7_MinGW_32bit-Debug/3rdlib/qtmypaint/libmypaint’

g++ -shared -Wl,-subsystem,windows -mthreads -Wl,–out-implib,debug\libmypaint.a -o debug\mypaint.dll -L…\json-c -ljson-c -LC:\Qt\5.9.7\mingw53_32\lib C:\Qt\5.9.7\mingw53_32\lib\libQt5Guid.a C:\Qt\5.9.7\mingw53_32\lib\libQt5Cored.a

C:/Qt/Tools/mingw530_32/bin/…/lib/gcc/i686-w64-mingw32/5.3.0/…/…/…/…/i686-w64-mingw32/bin/ld.exe: cannot find -ljson-c

collect2.exe: error: ld returned 1 exit status

Makefile.Debug:73: recipe for target ‘debug\mypaint.dll’ failed

mingw32-make[3]: Leaving directory ‘E:/NOVOS/PENCIL/CandyFace-pencil-implement_mypaint/build-pencil2d-Desktop_Qt_5_9_7_MinGW_32bit-Debug/3rdlib/qtmypaint/libmypaint’

Makefile:36: recipe for target ‘debug’ failed

mingw32-make[2]: Leaving directory ‘E:/NOVOS/PENCIL/CandyFace-pencil-implement_mypaint/build-pencil2d-Desktop_Qt_5_9_7_MinGW_32bit-Debug/3rdlib/qtmypaint/libmypaint’

Makefile:85: recipe for target ‘sub-libmypaint-make_first-ordered’ failed

mingw32-make[1]: Leaving directory ‘E:/NOVOS/PENCIL/CandyFace-pencil-implement_mypaint/build-pencil2d-Desktop_Qt_5_9_7_MinGW_32bit-Debug/3rdlib/qtmypaint’

mingw32-make[3]: *** [debug\mypaint.dll] Error 1

mingw32-make[2]: *** [debug] Error 2

mingw32-make[1]: *** [sub-libmypaint-make_first-ordered] Error 2

Makefile:43: recipe for target ‘sub-3rdlib-qtmypaint-make_first-ordered’ failed

mingw32-make: *** [sub-3rdlib-qtmypaint-make_first-ordered] Error 2

02:34:32: The process “C:\Qt\Tools\mingw530_32\bin\mingw32-make.exe” exited with code 2.

Error while building/deploying project pencil2d (kit: Desktop Qt 5.9.7 MinGW 32bit)

When executing step “Make”

02:34:32: Elapsed time: 00:02.


I made what you have suggested above but without succeed.

@kaiko good news, you should be able to compile it now :wink:

Only bitmap layer works, no fill (yet) but selection works, polyline is WIP, you can pan and zoom but rotation is still horribly broken :stuck_out_tongue:

@CandyFace So, if I clone your branch from Github, it should compile? Or is something from feeef’s account needed too?

It should compile and run if you clone my branch

Hi @CandyFace, I have been silently paying attention to your branch and about this dawn I managed to build Pencil2D. I was like WHOOO when it opened but there were no brush engine :sweat_smile:
So I am happy to go and check it now

Thank you!

@CandyFace
I have tested your branch and I am not able to work with it at the moment, there is some strange behaviors it is a WIP as you said. There is a bug that keeps closing pencil2D unexpectedly (hitting ALT after laying a line over the canvas)

Still I can see you have been working with this branch and so thank you for your help :slight_smile:

@kaiko Strange, did the pull the latest changes from yesterday? I had a bug where the color information didn’t get send to Mypaint but that’s fixed now. It is unstable though but I haven’t been able to crash the application just by painting using the drawing tools and staying on bitmap layer. Polyline is broken and will crash the application if used currently. Colorpicker doesn’t work either, nor fill tool.

Btw. the paint library relies heavily on compiler optimisation, so you should compile as “release” to get the best performance. There’s a huge difference in using the debug and release build.

@CandyFace
Here it is what is happening.
Two issues:
1- pencil2d crashes when using the Smudge smooth (?) tool (using shortcut ALT)
2- dragging the smudge tool over a painted area will make the paint disappear temporarily

Thank you. I believe those are the only issues I have noticed.

@kaiko Aha… I’ve forgotten to fix smudge tool so that’s why it crashes. The shortcuts for changing the variation of smudging will not work for now because it’s basically changing of brush. I’ve fixed the second issue and will update my branch later tonight. :slight_smile:

@CandyFace
I build your last update and I have test it (smudge crash was fixed) but I am not sure if you want me to show you other issues that I found.

BTW, the second issue is still there, thought more subtle: dragging the tool slowwllllyyy it works OK, with speed white squares keeps flashing

1 Like

@kaiko You’re welcome to mention all of the issues you’ve experienced :slight_smile:

Interesting that you still experience the second issue… I’ve just pushed some updates regarding painting and the color picker, maybe that’ll fix it. There was also a flickering issue that happened because the canvas would temporarily refresh but not repaint but that should also be fixed now.

if you can still reproduce the flashing, don’t hesitate to record a session of it :wink:

@CandyFace , so here they are :smile:

  1. Issue with the Slide-value of the drawing tools.
    Even the brush-slide shows a value it will not be applied to the strokes till you somehow select it on the slide-bar (or change it to a different one)

  1. When using the Pen tool and selecting the Hand, it will make all lines disappear. It doesn’t happen when using the Brush tool

  1. The New feature doesn’t work since all lines are still present in the new canvas.
    Another issue is that there is no warning about saving changes before selecting New

Imprint