Hi, That error occurred because the IUP from CVS depends on the CD from CVS too.
Best, Scuri > -----Original Message----- > From: Victor Bombi [mailto:son...@telefonica.net] > Sent: segunda-feira, 26 de maio de 2014 07:56 > To: IUP discussion list. > Subject: Re: [Iup-users] HDC_WMPAINT > > In cvs there are two folders in iup: iup and iup2 I used iup. > this is make output > > $ make > > Tecmake: Starting [ iup:dllw4 ] > > Tecmake: Starting [ iupcd:dllw4 ] > > Tecmake: compiling iup_cd.c ... > C:/mingw32-4.8.2-posix-dwarf/bin/gcc -c -Wall -O2 -I../include - > I../../cd/inclu de -IC:/mingw32-4.8.2-posix-dwarf/include - > DCD_NO_OLD_INTERFACE -DTEC_UNAME=dll > w4 -DTEC_SYSNAME=Win32 -DTEC_LITTLEENDIAN -DTEC_32 -DWIN32 - > DNDEBUG -o ../obj/iu pcd/dllw4/iup_cd.o iup_cd.c > iup_cd.c: In function 'cdContextIup': > iup_cd.c:84:31: warning: assignment from incompatible pointer type > [enabled by d efault] > cdIupContext.cxCreateCanvas = cdcreatecanvasIUP; > ^ > iup_cd.c: In function 'cdContextIupDBuffer': > iup_cd.c:125:38: warning: assignment from incompatible pointer type > [enabled by default] > cdIupContextDBuffer.cxCreateCanvas = cdcreatecanvasIUP_DBUFFER; > ^ > iup_cd.c: In function 'cdContextIupDBufferRGB': > iup_cd.c:166:41: warning: assignment from incompatible pointer type > [enabled by default] > cdIupContextDBufferRGB.cxCreateCanvas = > cdcreatecanvasIUP_DBUFFERRGB; > ^ > > Tecmake: linking iupcd.dll ... > C:/mingw32-4.8.2-posix-dwarf/bin/gcc -shared -o ../lib/dllw4/iupcd.dll -Wl,-- > out -implib=../lib/dllw4/libiupcd.a ../obj/iupcd/dllw4/iup_cd.o > upcd.def -L../ > lib/dllw4 -L../../cd/lib/dllw4 -LC:/mingw32-4.8.2-posix-dwarf/lib -liup -lcd -lf > reetype6 -lzlib1 -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 - > l > shell32 -luuid -lole32 -loleaut32 -lcomctl32 > > Tecmake: Dynamic Library (../lib/dllw4/iupcd.dll) Done > > ../tecmakewin.mak:1507: iupcontrols.wdep: No such file or directory > Tecmake: Building Dependencies ... (can be slow) > > Tecmake: Starting [ iupcontrols:dllw4 ] > if [ ! -d ../obj/iupcontrols/dllw4 ] ; then mkdir -p > ../obj/iupcontrols/dllw4 ; > fi > > Tecmake: compiling iup_cdutil.c ... > C:/mingw32-4.8.2-posix-dwarf/bin/gcc -c -Wall -O2 -I../include -I../src -I. > -I. > ./../cd/include -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 > - > DNDEBUG -o ../obj/iupcontrols/dllw4/iup_cdutil.o iup_cdutil.c > iup_cdutil.c: In function 'cdIupDrawImage': > iup_cdutil.c:287:7: warning: variable 'size' set but not used > [-Wunused-but-set- > variable] > int size, plane_size, depth; > ^ > > Tecmake: compiling iup_gauge.c ... > C:/mingw32-4.8.2-posix-dwarf/bin/gcc -c -Wall -O2 -I../include -I../src -I. > -I. > ./../cd/include -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 > - > DNDEBUG -o ../obj/iupcontrols/dllw4/iup_gauge.o iup_gauge.c > iup_gauge.c: In function 'iGaugeMapMethod': > iup_gauge.c:333:40: error: 'CD_IUPDBUFFER' undeclared (first use in this > functio > n) > ih->data->cddbuffer = cdCreateCanvas(CD_IUPDBUFFER, ih); > ^ > iup_gauge.c:333:40: note: each undeclared identifier is reported only once > for e ach function it appears in > make[2]: *** [../obj/iupcontrols/dllw4/iup_gauge.o] Error 1 > make[1]: *** [iupcontrols] Error 2 > make: *** [iupcontrols] Error 2 > > ----- Original Message ----- > From: "Antonio Scuri" <antonio.sc...@gmail.com> > To: "'IUP discussion list.'" <iup-users@lists.sourceforge.net> > Sent: Wednesday, May 21, 2014 10:07 PM > Subject: Re: [Iup-users] HDC_WMPAINT > > > > Hi, > > > > I just fixed and committed to CVS a bug that affected the retrieve of an > > attribute that was not a string in Lua. > > > > Best, > > Scuri > > > >> -----Original Message----- > >> From: Victor Bombi [mailto:son...@telefonica.net] > >> Sent: quarta-feira, 21 de maio de 2014 14:20 > >> To: IUP discussion list. > >> Subject: [Iup-users] HDC_WMPAINT > >> > >> Hello, > >> > >> In windows I am trying to use > >> > >> BOOL __stdcall wglUseFontOutlinesA( > >> HDC hdc, > >> DWORD first, > >> DWORD count, > >> DWORD listBase, > >> FLOAT deviation, > >> FLOAT extrusion, > >> int format, > >> GLYPHMETRICSFLOAT* lpgmf) > >> > >> with luajit ffi but glcanvas.HDC_WMPAINT is nil (even inside drawing > >> function) > >> > >> any ideas? > >> Thanks > >> victor > >> > >> > >> > > ---------------------------------------------------------------------------- > > -- > >> "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE > >> Instantly run your Selenium tests across 300+ browser/OS combos. > >> Get unparalleled scalability from the best Selenium testing platform > > available > >> Simple to use. Nothing to install. Get started now for free." > >> http://p.sf.net/sfu/SauceLabs > >> _______________________________________________ > >> Iup-users mailing list > >> Iup-users@lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/iup-users > > > > > > > > ---------------------------------------------------------------------------- -- > > "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE > > Instantly run your Selenium tests across 300+ browser/OS combos. > > Get unparalleled scalability from the best Selenium testing platform > > available > > Simple to use. Nothing to install. Get started now for free." > > http://p.sf.net/sfu/SauceLabs > > _______________________________________________ > > Iup-users mailing list > > Iup-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/iup-users > > > ---------------------------------------------------------------------------- -- > The best possible search technologies are now affordable for all companies. > Download your FREE open source Enterprise Search Engine today! > Our experts will assist you in its installation for $59/mo, no commitment. > Test it for FREE on our Cloud platform anytime! > http://pubads.g.doubleclick.net/gampad/clk?id=145328191&iu=/4140/ostg.c > lktrk > _______________________________________________ > Iup-users mailing list > Iup-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/iup-users ------------------------------------------------------------------------------ The best possible search technologies are now affordable for all companies. Download your FREE open source Enterprise Search Engine today! Our experts will assist you in its installation for $59/mo, no commitment. Test it for FREE on our Cloud platform anytime! http://pubads.g.doubleclick.net/gampad/clk?id=145328191&iu=/4140/ostg.clktrk _______________________________________________ Iup-users mailing list Iup-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/iup-users