Hi Scuri, "Or the shortcut "Developer Command Prompt for VS 2017"." Yes this, this is being done. But the compilation still stop at iup_array.c
Thanks. Ranier Vilela ________________________________________ De: Antonio Scuri <antonio.sc...@gmail.com> Enviado: segunda-feira, 4 de novembro de 2019 15:09 Para: IUP discussion list. Assunto: Re: [Iup-users] IUP Compilation with msvc 2017 Hi, The folders are not being created because the GNU mkdir must be installed. The cmd internal mkdir will not work. For now, our build system is based on GNU, so we need GNU compatible tools. We are considering moving to CMake in a near future. But now you will need to download MSYS too. See: http://www.msys2.org/ Also when building for Visual C++ in the command line you will need to run vcvars*.bat or VsDevCmd.bat before. Or the shortcut "Developer Command Prompt for VS 2017". Best, Scuri Em seg., 4 de nov. de 2019 às 10:31, Ranier VF <ranier_...@hotmail.com<mailto:ranier_...@hotmail.com>> escreveu: Hi, Some progress, after creating manually all obj and lib. E:\dll\iup\iup>win-make --debug GNU Make 4.1 Built for i686-w64-mingw32 Copyright (C) 1988-2014 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Reading makefiles... Updating goal targets.... File 'do_all' does not exist. File 'iup' does not exist. Must remake target 'iup'. GNU Make 4.1 Built for i686-w64-mingw32 Copyright (C) 1988-2014 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Reading makefiles... Updating goal targets.... File 'iup' does not exist. Must remake target 'iup'. GNU Make 4.1 Built for i686-w64-mingw32 Copyright (C) 1988-2014 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Reading makefiles... Updating goal targets.... File 'build' does not exist. File 'tecmake' does not exist. File 'print-start' does not exist. Must remake target 'print-start'. ''; echo 'Tecmake: Starting [ iup:dll15 ]' Successfully remade target file 'print-start'. File 'system-check' does not exist. Must remake target 'system-check'. Successfully remade target file 'system-check'. File 'directories' does not exist. Must remake target 'directories'. Successfully remade target file 'directories'. File 'dynamic-lib' does not exist. File '../lib/dll15/iup.dll' does not exist. File '../obj/dll15/iup_array.obj' does not exist. Must remake target '../obj/dll15/iup_array.obj'. ''; echo Tecmake: compiling iup_array.c ... c:/progra~2/micros~2/2017/community/bin/Hostx86/x86/cl -nologo -c -Fo../obj/dll 15/ -W3 -EHsc -MD -O2 -GL -I../include -I. -Iwin/wdl -Iwin -I../etc -Ic:/progra~ 2/wi3cf2~1/10/include/10.0.17134.0/ucrt -Ic:/progra~2/wi3cf2~1/10/include/10.0.1 7134.0/shared -Ic:/progra~2/wi3cf2~1/10/include/10.0.17134.0/um -Ic:/progra~2/mi cros~2/2017/community/include -DCOBJMACROS -D_UNICODE -DUSE_NEW_DRAW -D_WIN32_W INNT=0x0501 -D_WIN32_IE=0x600 -DWINVER=0x0501 -DNOTREEVIEW -DUNICODE -DIUP_DLL - DTEC_UNAME=dll15 -DTEC_SYSNAME=Win32 -DTEC_LITTLEENDIAN -DTEC_32 -DWIN32 -DMSVC1 5 -D_CRT_SECURE_NO_DEPRECATE -D_CPP_NARROW_INLINES_DEFINED -DNDEBUG iup_array.c process_begin: CreateProcess(NULL, c:/progra~2/micros~2/2017/community/bin/Hostx 86/x86/cl -nologo -c -Fo../obj/dll15/ -W3 -EHsc -MD -O2 -GL -I../include -I. -Iw in/wdl -Iwin -I../etc -Ic:/progra~2/wi3cf2~1/10/include/10.0.17134.0/ucrt -Ic:/p rogra~2/wi3cf2~1/10/include/10.0.17134.0/shared -Ic:/progra~2/wi3cf2~1/10/includ e/10.0.17134.0/um -Ic:/progra~2/micros~2/2017/community/include -DCOBJMACROS -D_ UNICODE -DUSE_NEW_DRAW -D_WIN32_WINNT=0x0501 -D_WIN32_IE=0x600 -DWINVER=0x0501 - DNOTREEVIEW -DUNICODE -DIUP_DLL -DTEC_UNAME=dll15 -DTEC_SYSNAME=Win32 -DTEC_LITT LEENDIAN -DTEC_32 -DWIN32 -DMSVC15 -D_CRT_SECURE_NO_DEPRECATE -D_CPP_NARROW_INLI NES_DEFINED -DNDEBUG iup_array.c, ...) failed. make (e=2): O sistema nÒo pode encontrar o arquivo especificado. ../tecmakewin.mak:1706: recipe for target '../obj/dll15/iup_array.obj' failed win-make[2]: *** [../obj/dll15/iup_array.obj] Error 2 makefile:12: recipe for target 'iup' failed win-make[1]: *** [iup] Error 2 makefile:9: recipe for target 'iup' failed win-make: *** [iup] Error 2 File iup_array.c is under src directory, but makefile do not fill the src dir, why? Thanks. Ranier Vilela ________________________________________ De: Ranier VF <ranier_...@hotmail.com<mailto:ranier_...@hotmail.com>> Enviado: segunda-feira, 4 de novembro de 2019 12:59 Para: IUP discussion list. Assunto: Re: [Iup-users] IUP Compilation with msvc 2017 Hi, trying with debug enabled. E:\dll\iup\iup>make --debug GNU Make 3.81 Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. This program built for i386-pc-mingw32 Reading makefiles... Updating goal targets.... File `do_all' does not exist. File `iup' does not exist. Must remake target `iup'. GNU Make 3.81 Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. This program built for i386-pc-mingw32 Reading makefiles... Updating goal targets.... File `iup' does not exist. Must remake target `iup'. GNU Make 3.81 Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. This program built for i386-pc-mingw32 Reading makefiles... Updating goal targets.... File `build' does not exist. File `tecmake' does not exist. File `print-start' does not exist. Must remake target `print-start'. ''; echo 'Tecmake: Starting [ iup:dll15 ]' Successfully remade target file `print-start'. File `system-check' does not exist. Must remake target `system-check'. Successfully remade target file `system-check'. File `directories' does not exist. File `../obj/dll15' does not exist. Must remake target `../obj/dll15'. if [ ! -d ../obj/dll15 ] ; then mkdir -p ../obj/dll15 ; fi ! foi inesperado neste momento. make[2]: *** [../obj/dll15] Error 255 make[1]: *** [iup] Error 2 make: *** [iup] Error 2 E:\dll\iup\iup> ________________________________________ De: Ranier VF <ranier_...@hotmail.com<mailto:ranier_...@hotmail.com>> Enviado: segunda-feira, 4 de novembro de 2019 11:22 Para: IUP discussion list. Assunto: [Iup-users] IUP Compilation with msvc 2017 Hi Scuri, Windows 64 bits msvc 2017 set TEC_UNAME=dll15 set VC15=c:/progra~2/micros~2/2017/community/vc set NO_DEPEND=Yes ''; echo 'Tecmake: Starting [ iup:dll15 ]' if [ ! -d ../obj/dll15 ] ; then mkdir -p ../obj/dll15 ; fi ! foi inesperado neste momento. ../tecmakewin.mak:1662: recipe for target '../obj/dll15' failed win-make[2]: *** [../obj/dll15] Error 255 makefile:12: recipe for target 'iup' failed win-make[1]: *** [iup] Error 2 makefile:9: recipe for target 'iup' failed win-make: *** [iup] Error 2 I will start from beginning. mkdir -p does not work on windows shell, the parameter -p is invalid. Meantime, creating manually ../obj/dll15 the expression "if [ ! -d ../obj/dll15 ]" also fails! Can you take a look? Thanks. Ranier Vilela _______________________________________________ Iup-users mailing list Iup-users@lists.sourceforge.net<mailto:Iup-users@lists.sourceforge.net> https://lists.sourceforge.net/lists/listinfo/iup-users _______________________________________________ Iup-users mailing list Iup-users@lists.sourceforge.net<mailto:Iup-users@lists.sourceforge.net> https://lists.sourceforge.net/lists/listinfo/iup-users _______________________________________________ Iup-users mailing list Iup-users@lists.sourceforge.net<mailto:Iup-users@lists.sourceforge.net> https://lists.sourceforge.net/lists/listinfo/iup-users _______________________________________________ Iup-users mailing list Iup-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/iup-users