nanogui: Thread: amd64, freetype and t1lib


[<<] [<] Page 1 of 1 [>] [>>]
Subject: amd64, freetype and t1lib
From: sibu xolo ####@####.####
Date: 21 May 2011 02:33:05 -0000
Message-Id: <201105210339.40881.sibxol@btconnect.com>

Greetings,

I am planning to have a go at using microwindows on a computer with   these:-
a) cpu -amd64,  64-bit cblfs linux, gcc-4.5.2, kernel-2.6.38.2
b) freetype -2.4.4, t1lib-5.1.2.

I would be grateful  to know if these are   likely to work.  Any other hints 
and tips would be gratefully received.

sincerely
sibuXolo
Subject: Re: [nanogui] amd64, freetype and t1lib
From: "Greg Haerr" ####@####.####
Date: 22 May 2011 18:10:25 -0000
Message-Id: <018801cc18ab$83482780$6964a8c0@winXP>

: a) cpu -amd64,  64-bit cblfs linux, kernel-2.6.38.2

Microwindows is 64-bit clean for the nano-X api and
all nano-X applications, which I assume you're using.
Win32 applications using older constructs like SetWindowLong
have some issues with offsets and pointer lengths, but these
aren't portable in Win32 without modifying the storage to
always allocate space for 64 bit pointers at all times.  Win32
apps can be fixed with no modifications by compiling for 32 bits.


> gcc-4.5.2,

I haven't tested with this but don't forsee any problems, as most
changes in gcc are in C++ not C.



: b) freetype -2.4.4, t1lib-5.1.2.

T1lib has been tested with that version, and I would think that
freetype 2.4.4 should run without issues.  The last version
I tested with was 2.3.12.  Freetype issues arise when their structure
members change names without introducing a new API, which has
occured regularly in the 2.2-2.3 series.

Overall, should be no problems.  Use v0.92 or CVS.

Regards,

Greg





:
: I would be grateful  to know if these are   likely to work.  Any other 
hints
: and tips would be gratefully received.
:
: sincerely
: sibuXolo
:
: ---------------------------------------------------------------------
: To unsubscribe, e-mail: ####@####.####
: For additional commands, e-mail: ####@####.####
:
: 

Subject: Re: [nanogui] amd64, freetype and t1lib
From: sibu xolo ####@####.####
Date: 25 May 2011 17:52:16 -0000
Message-Id: <201105251858.54705.sibxol@btconnect.com>

On Sunday 22 May 2011 19:10:17 Greg Haerr wrote:
> : a) cpu -amd64,  64-bit cblfs linux, kernel-2.6.38.2
> 
> Microwindows is 64-bit clean for the nano-X api and
> all nano-X applications, which I assume you're using.
> Win32 applications using older constructs like SetWindowLong
> have some issues with offsets and pointer lengths, but these
> aren't portable in Win32 without modifying the storage to
> always allocate space for 64 bit pointers at all times.  Win32
> apps can be fixed with no modifications by compiling for 32 bits.
> 
> > gcc-4.5.2,
> 
> I haven't tested with this but don't forsee any problems, as most
> changes in gcc are in C++ not C.
> 
> : b) freetype -2.4.4, t1lib-5.1.2.
> 
> T1lib has been tested with that version, and I would think that
> freetype 2.4.4 should run without issues.  The last version
> I tested with was 2.3.12.  Freetype issues arise when their structure
> members change names without introducing a new API, which has
> occured regularly in the 2.2-2.3 series.
> 
> Overall, should be no problems.  Use v0.92 or CVS.
> 
> Regards,
> Greg


Thanks for the advioce.

Here is what I have done so far.-
i)  I downloaded the most recent CVS sources of microwindows.   
ii) I tried building on a computer with these:-
--o/s linux cblfs64-bit 
--CPU  amd64 2 cores 
--compiler gcc-4.5.2, 
--xwindows Xorg-7.6
--vnc libVNCserver{and client}-0.9.8 verified below

root [ /tmp ]# 
root [ /tmp ]# ls /usr/lib/*vnc*
/usr/lib/libvncclient.a   /usr/lib/libvncclient.so.0      
/usr/lib/libvncserver.la    /usr/lib/libvncserver.so.0.0.0
/usr/lib/libvncclient.la  /usr/lib/libvncclient.so.0.0.0  
/usr/lib/libvncserver.so
/usr/lib/libvncclient.so  /usr/lib/libvncserver.a         
/usr/lib/libvncserver.so.0
root [ /tmp ]# 


To build microindows I did he following:-

A)  cp src/Configs/config.x11 src   OR
B)  edit src/config  ( changing /usr/local/lib/libfreetype.a  to 
/usr/lib/libfreetype.a )  THEN
C)  (in either case )  run make   



#-----------------------make ends lile so:-

make[3]: Circular /tmp/microwin-full-snapshot/src/lib/ <- /tmp/microwin-full-
snapshot/src/lib/ dependency dropped.
Compiling demos/vnc/vncviewer/args.c ...
Compiling demos/vnc/vncviewer/rfbproto.c ...
Compiling demos/vnc/vncviewer/sockets.c ...
Compiling demos/vnc/vncviewer/vncviewer.c ...
Compiling demos/vnc/vncviewer/nanox.c ...
make[3]: *** No rule to make target `/tmp/microwin-full-
snapshot/src/lib/libvncauth.a', needed by `/tmp/microwin-full-
snapshot/src/bin/vnc'.  Stop.
make[2]: *** [subdir-/tmp/microwin-full-snapshot/src/demos/vnc/vncviewer/] 
Error 2
make[1]: *** [subdir-/tmp/microwin-full-snapshot/src/demos/vnc/] Error 2


Advice ould be appreciated

Sincerely
Sibu


Subject: Re: [nanogui] amd64, freetype and t1lib
From: sibu xolo ####@####.####
Date: 26 May 2011 02:05:47 -0000
Message-Id: <201105260312.33031.sibxol@btconnect.com>

On Wednesday 25 May 2011 18:58:54 sibu xolo wrote:
> On Sunday 22 May 2011 19:10:17 Greg Haerr wrote:
> > : a) cpu -amd64,  64-bit cblfs linux, kernel-2.6.38.2
> > 
> > Microwindows is 64-bit clean for the nano-X api and
> > all nano-X applications, which I assume you're using.
> > Win32 applications using older constructs like SetWindowLong
> > have some issues with offsets and pointer lengths, but these
> > aren't portable in Win32 without modifying the storage to
> > always allocate space for 64 bit pointers at all times.  Win32
> > apps can be fixed with no modifications by compiling for 32 bits.
> > 
> > > gcc-4.5.2,
> > 
> > I haven't tested with this but don't forsee any problems, as most
> > changes in gcc are in C++ not C.
> > 
> > : b) freetype -2.4.4, t1lib-5.1.2.
> > 
> > T1lib has been tested with that version, and I would think that
> > freetype 2.4.4 should run without issues.  The last version
> > I tested with was 2.3.12.  Freetype issues arise when their structure
> > members change names without introducing a new API, which has
> > occured regularly in the 2.2-2.3 series.
> > 
> > Overall, should be no problems.  Use v0.92 or CVS.
> > 
> > Regards,
> > Greg
> 
> Thanks for the advioce.
> 
> Here is what I have done so far.-
> i)  I downloaded the most recent CVS sources of microwindows.
> ii) I tried building on a computer with these:-
> --o/s linux cblfs64-bit
> --CPU  amd64 2 cores
> --compiler gcc-4.5.2,
> --xwindows Xorg-7.6
> --vnc libVNCserver{and client}-0.9.8 verified below
> 
> root [ /tmp ]#
> root [ /tmp ]# ls /usr/lib/*vnc*
> /usr/lib/libvncclient.a   /usr/lib/libvncclient.so.0
> /usr/lib/libvncserver.la    /usr/lib/libvncserver.so.0.0.0
> /usr/lib/libvncclient.la  /usr/lib/libvncclient.so.0.0.0
> /usr/lib/libvncserver.so
> /usr/lib/libvncclient.so  /usr/lib/libvncserver.a
> /usr/lib/libvncserver.so.0
> root [ /tmp ]#
> 
> 
> To build microindows I did he following:-
> 
> A)  cp src/Configs/config.x11 src   OR
> B)  edit src/config  ( changing /usr/local/lib/libfreetype.a  to
> /usr/lib/libfreetype.a )  THEN
> C)  (in either case )  run make
> 
> 
> 
> #-----------------------make ends lile so:-
> 
> make[3]: Circular /tmp/microwin-full-snapshot/src/lib/ <-
> /tmp/microwin-full- snapshot/src/lib/ dependency dropped.
> Compiling demos/vnc/vncviewer/args.c ...
> Compiling demos/vnc/vncviewer/rfbproto.c ...
> Compiling demos/vnc/vncviewer/sockets.c ...
> Compiling demos/vnc/vncviewer/vncviewer.c ...
> Compiling demos/vnc/vncviewer/nanox.c ...
> make[3]: *** No rule to make target `/tmp/microwin-full-
> snapshot/src/lib/libvncauth.a', needed by `/tmp/microwin-full-
> snapshot/src/bin/vnc'.  Stop.
> make[2]: *** [subdir-/tmp/microwin-full-snapshot/src/demos/vnc/vncviewer/]
> Error 2
> make[1]: *** [subdir-/tmp/microwin-full-snapshot/src/demos/vnc/] Error 2
> 
> 
> Advice ould be appreciated

UPDATE

once vnc is disabled t seems to build


Thanks

> Sincerely
> Sibu
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ####@####.####
> For additional commands, e-mail: ####@####.####
Subject: Re: [nanogui] amd64, freetype and t1lib
From: "Greg Haerr" ####@####.####
Date: 26 May 2011 16:59:18 -0000
Message-Id: <05f701cc1bc6$09a11d10$0300a8c0@RDP>

: --vnc libVNCserver{and client}-0.9.8 verified below
: #-----------------------make ends lile so:-
:
: make[3]: Circular /tmp/microwin-full-snapshot/src/lib/ <- 
/tmp/microwin-full-
: snapshot/src/lib/ dependency dropped.
: Compiling demos/vnc/vncviewer/args.c ...
: Compiling demos/vnc/vncviewer/rfbproto.c ...
: Compiling demos/vnc/vncviewer/sockets.c ...
: Compiling demos/vnc/vncviewer/vncviewer.c ...
: Compiling demos/vnc/vncviewer/nanox.c ...
: make[3]: *** No rule to make target `/tmp/microwin-full-
: snapshot/src/lib/libvncauth.a', needed by `/tmp/microwin-full-
: snapshot/src/bin/vnc'.  Stop.
: make[2]: *** [subdir-/tmp/microwin-full-snapshot/src/demos/vnc/vncviewer/]
: Error 2
: make[1]: *** [subdir-/tmp/microwin-full-snapshot/src/demos/vnc/] Error 2

Looks like you need to edit the config and/or Makefiles to correct
or the libvncauth lib, which may not be in .a form with your version.

Microwindow's VNC support is quite old and needs testing.  I haven't
done that with the current CVS code.

Regards,

Greg 

[<<] [<] Page 1 of 1 [>] [>>]


Powered by ezmlm-browse 0.20.