When building the IUP main DLL I couldn't add a extra target to the Makefile so you will have to do it manually. Go to the folder "iup/src" then do:
move /y ..\lib\mingw4_64\libiupstub.a ..\lib\dllw4_64 And you will be able to build applications that use the IUP DLL. Best, Scuri On Sat, May 31, 2014 at 3:48 PM, Victor Bombi <[email protected]> wrote: > Hello, > > trying to compile in mingw (altered Makefile not to make iupweb) I get error > on iupview > > $ make > > Tecmake: Starting [ iup:dllw4 ] > > Tecmake: Starting [ iupcd:dllw4 ] > > Tecmake: Starting [ iupcontrols:dllw4 ] > > Tecmake: Starting [ iupgl:dllw4 ] > > Tecmake: Starting [ iup_pplot:dllw4 ] > > Tecmake: Starting [ iup_mglplot:dllw4 ] > > Tecmake: Starting [ iup_scintilla:dllw4 ] > > Tecmake: Starting [ iupim:dllw4 ] > > Tecmake: Starting [ iupimglib:dllw4 ] > > Tecmake: Starting [ iupole:dllw4 ] > > Tecmake: Starting [ iuptuio:dllw4 ] > ../tecmakewin.mak:1507: ledc.wdep: No such file or directory > Tecmake: Building Dependencies ... (can be slow) > > Tecmake: Starting [ ledc:dllw4 ] > if [ ! -d ../obj/ledc/Win32 ] ; then mkdir -p ../obj/ledc/Win32 ; fi > > Tecmake: compiling lex.yy.c ... > C:/mingw32-4.8.2-posix-dwarf/bin/gcc -c -Wall -O2 -I. > -IC:/mingw32-4.8.2-posix-dwarf/include > -DLUA > _BUILD_AS_DLL -DLUA_LIB -DTEC_UNAME=dllw4 -DTEC_SYSNAME=Win32 > -DTEC_LITTLEENDIAN > -DTEC_32 -DWIN32 -D > NDEBUG -o ../obj/ledc/Win32/lex.yy.o lex.yy.c > lex.yy.c: In function 'yylex': > lex.yy.c:617:1: warning: label 'find_rule' defined but not used > [-Wunused-label] > yy_lp = yy_accept[yy_current_state]; > ^ > ledc.l: At top level: > lex.yy.c:1566:14: warning: 'yy_flex_realloc' defined but not used > [-Wunused-function] > #ifdef YY_USE_PROTOS > ^ > lex.yy.c:1049:13: warning: 'yyunput' defined but not used > [-Wunused-function] > #ifdef YY_USE_PROTOS > ^ > lex.yy.c:1097:12: warning: 'input' defined but not used [-Wunused-function] > #else > ^ > > Tecmake: compiling y.tab.c ... > C:/mingw32-4.8.2-posix-dwarf/bin/gcc -c -Wall -O2 -I. > -IC:/mingw32-4.8.2-posix-dwarf/include > -DLUA > _BUILD_AS_DLL -DLUA_LIB -DTEC_UNAME=dllw4 -DTEC_SYSNAME=Win32 > -DTEC_LITTLEENDIAN > -DTEC_32 -DWIN32 -D > NDEBUG -o ../obj/ledc/Win32/y.tab.o y.tab.c > y.tab.c: In function 'yyparse': > y.tab.c:274:5: warning: suggest parentheses around assignment used as truth > value [-Wparentheses] > > ^ > y.tab.c:277:9: warning: implicit declaration of function 'yylex' > [-Wimplicit-function-declaration] > *yyssp = yystate = 0; > ^ > y.tab.c:322:1: warning: label 'yyerrlab' defined but not used > [-Wunused-label] > #endif > ^ > y.tab.c:317:1: warning: label 'yynewerror' defined but not used > [-Wunused-label] > goto yyreduce; > ^ > y.tab.c: At top level: > y.tab.c:2:13: warning: 'yysccsid' defined but not used [-Wunused-variable] > static char yysccsid[] = "@(#)yaccpar 1.9 (Berkeley) 02/21/93"; > ^ > > Tecmake: compiling ledc.c ... > C:/mingw32-4.8.2-posix-dwarf/bin/gcc -c -Wall -O2 -I. > -IC:/mingw32-4.8.2-posix-dwarf/include > -DLUA > _BUILD_AS_DLL -DLUA_LIB -DTEC_UNAME=dllw4 -DTEC_SYSNAME=Win32 > -DTEC_LITTLEENDIAN > -DTEC_32 -DWIN32 -D > NDEBUG -o ../obj/ledc/Win32/ledc.o ledc.c > > Tecmake: linking ledc.exe ... > C:/mingw32-4.8.2-posix-dwarf/bin/gcc -o ../bin/Win32/ledc.exe > ../obj/ledc/Win32/lex.yy.o ../obj/ledc > /Win32/y.tab.o > ./obj/ledc/Win32/ledc.o -Wl,-subsystem,console > -LC:/mingw32-4.8.2-posix-dwarf/lib > -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -luuid > -lole32 -loleaut32 -l > comctl32 > > Tecmake: Application (../bin/Win32/ledc.exe) Done. > > > Tecmake: generating script ledc.bat > > Tecmake: Starting [ iupview:dllw4 ] > > Tecmake: linking iupview.exe ... > C:/mingw32-4.8.2-posix-dwarf/bin/g++ -o ../bin/Win32/iupview.exe > ../obj/iupview/Win32/iup_view.o ../ > obj/iupview/Win32/iup.res -Wl,-subsystem,windows -L../lib/dllw4 > -L../../cd/lib/dllw4 > -L../../im/li > b/dllw4 -LC:/mingw32-4.8.2-posix-dwarf/lib -liupim -liupimglib -liupcontrols > -liupcd -liup -liupgl - > liupstub -lcd -lfreetype6 -lim -lzlib1 -lglaux -lglu32 -lopengl32 -lkernel32 > -luser32 -lgdi32 -lwins > pool -lcomdlg32 -ladvapi32 -lshell32 -luuid -lole32 -loleaut32 -lcomctl32 > c:/mingw32-4.8.2-posix-dwarf/bin/../lib/gcc/i686-w64-mingw32/4.8.2/../../../../i686-w64-mingw32/bin/ > ld.exe: cannot find -liupstub > collect2.exe: error: ld returned 1 exit status > make[2]: *** [../bin/Win32/iupview.exe] Error 1 > make[1]: *** [iupview] Error 2 > make: *** [iupview] Error 2 > > thanks > victor > > > ------------------------------------------------------------------------------ > Time is money. Stop wasting it! Get your web API in 5 minutes. > www.restlet.com/download > http://p.sf.net/sfu/restlet > _______________________________________________ > Iup-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/iup-users > ------------------------------------------------------------------------------ Time is money. Stop wasting it! Get your web API in 5 minutes. www.restlet.com/download http://p.sf.net/sfu/restlet _______________________________________________ Iup-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/iup-users
