nanogui: NXlib Installation


Previous by date: 24 Jan 2008 16:12:20 -0000 Re: NXlib Installation, Matthias Fuchs
Next by date: 24 Jan 2008 16:12:20 -0000 Re: How to improve the efficiency of the NanoX draw?, Aaron J. Grier
Previous in thread: 24 Jan 2008 16:12:20 -0000 Re: NXlib Installation, Matthias Fuchs
Next in thread: 24 Jan 2008 16:12:20 -0000 Re: NXlib Installation, Greg Haerr

Subject: RE: [nanogui] NXlib Installation
From: "Demetris Zavorotnichenko" ####@####.####
Date: 24 Jan 2008 16:12:20 -0000
Message-Id: <20080124161125.9EC33187E8A@demokritos5.cytanet.com.cy>

OK, I got that part.

I'm crosscompiling this for Gumstix (ARM) so what packages I would need to
make this compile correctly ?

TinyX , X ?
-----Original Message-----
From: Matthias Fuchs ####@####.#### 
Sent: Thursday, January 24, 2008 5:40 PM
To: ####@####.####
Cc: Demetris Zavorotnichenko
Subject: Re: [nanogui] NXlib Installation

Hi Demetris,

You have to modify the _nxlib_ Makefile and not the Microwindows Makefile.

Matthias

On Thursday 24 January 2008 09:08, Demetris Zavorotnichenko wrote:
> I've downloaded the latest 0.45 NXlib and I want to install it with my
> crosscompiled Microwindows.
> 
> 
> In the "Install" file it says to modify a couple of parameters but I don't
> understand which ones. In Makefile or in Makefile.rules ?
> 
> Do I have to enable something else also in the "config" file ?
> 
> Here is what the "install" says :
> 
> 1. Modify Makefile to set Microwindows and X11 include and lib directories
> 	MWIN=/usr2/microwin/src
> 	X11=/usr/X11R6
> 
> 	Microwindows v0.90 or later must be used.
> 
> 2. Modify Makefile to set X11 PCF font search directories (2)
> 	X11_FONT_DIR1=/usr/lib/X11/fonts/100dpi
> 	X11_FONT_DIR2=/usr/lib/X11/fonts/misc
> 
> 3. Modify Makefile to set rgb.txt file location
> 	X11_RGBTXT=/usr/lib/X11/rgb.txt
> 
> 4. Modify Makefile to enable X11 shared library and version if desired
> 	SHAREDLIB=Y
> 	LIBNAME = X11
> 	SOLIBREV = 6.2
> 	CFLAGS += -DXCONST=_Xconst
> 
> 	Because of X11 hdr version inconstencies, you may need to set 
> 		CFLAGS += -DXCONST=_Xconst  or  CFLAGS += -DXCONST=
> 	to compile _Xconst in or out of a couple of function declarations.
> 
> 5. Type "make".
> 	This builds the library using your already-installed X11 headers.
> 	If DEBUG = -g, a larger library will be built with debug
> information.
> 	If INCLUDE_XRM=Y, unmodified Xrm database routines will be included.
> 
> 6. DO NOT "make install" UNTIL YOU BACK UP THE FOLLOWING LIBRARIES.
>    NOTE "make install" WILL BY DEFAULT OVERWRITE THE FOLLOWING FILES:
> 
> 	/usr/X11R6/lib/libX11.so.*
> 	(/usr/X11R6/lib/libX11.so /usr/X11R6/lib/libX11.so.6
> /usr/X11R6/lib/libX11.so.6.2)
> 
> 
> 
> 
> 
> And here is my MakeFile :
> 
> 
>
############################################################################
> ##
> # Microwindows top-level Makefile
> # Copyright (c) 2000 Martin Jolicoeur, Greg Haerr
>
############################################################################
> ##
> 
> ifndef MW_DIR_SRC
> MW_DIR_SRC := $(CURDIR)
> endif
> MW_DIR_RELATIVE :=
> include $(MW_DIR_SRC)/Path.rules
> include $(CONFIG)
> 
> ############################# targets section
> ################################
> 
> # If you want to create a library with the objects files, define the name
> here
> LIBNAME =
> LIBNAMESO =
> 
> # List of objects to compile
> OBJS =	
> 
> # demos should be built after the libs !
> dirs := \
> 	$(MW_DIR_SRC)/drivers \
> 	$(MW_DIR_SRC)/mwin \
> 	$(MW_DIR_SRC)/engine \
> 	$(MW_DIR_SRC)/fonts \
> 	$(MW_DIR_SRC)/nanox
> 
> all: default
> ifeq ($(ARCH), RTEMS)
> 	$(MAKE) -C $(MW_DIR_SRC)/rtems
> else
> 	-$(MAKE) -C $(MW_DIR_SRC)/demos
> endif
> ifeq ($(ARCH), ECOS)
> 	$(MAKE) -C $(MW_DIR_SRC)/ecos
> endif
> 
> .PHONY: realclean
> 
> realclean: clean
> ifeq ($(MW_DIR_OBJ),$(MW_DIR_SRC))
> 	$(MAKE) -C $(MW_DIR_SRC)/fonts realclean
> 	$(MAKE) -C $(MW_DIR_SRC)/mwin/bmp realclean
> endif
> 
> #
> # Documentation targets:
> #
> # doc          - All HTML docs.
> # pdfdoc       - All HTML and PDF docs - i.e. everything.
> # doc-nanox    - Documentation for public API - HTML.
> # pdfdoc-nanox - Documentation for public API - HTML and PDF.
> # doc-internal - Documentation for everything, including internal
> #                   functions - HTML.
> #
> # Note that there are no internal PDF docs - the internal APIs
> # change, so printed docs are less useful.
> #
> # Also note that PDF requires a working LaTEX install.  HTML will
> # work without LaTEX.
> #
> # The docs end up in microwin/doc/{nano-X,internal}/{html,latex}/
> #
> .PHONY: doc doc-internal doc-nanox pdfdoc pdfdoc-nanox
> 
> doc: doc-internal doc-nanox
> 	@#
> pdfdoc: doc-internal pdfdoc-nanox
> 	@#
> doc-internal:
> 	doxygen Doxyfile-internal
> doc-nanox:
> 	doxygen Doxyfile-nanox
> pdfdoc-nanox: doc-nanox
> 	cd ../doc/nano-X/latex && $(MAKE)
> doc-clean:
> 	rm -rf ../doc/nano-X ../doc/internal
> 
> ######################### Makefile.rules section
> #############################
> 
> include $(MW_DIR_SRC)/Makefile.rules
> 
> ######################## Tools targets section
> ###############################
> 
> 
> 
> So where should I modify this things ?
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ####@####.####
> For additional commands, e-mail: ####@####.####
> 
> 

-- 
-------------------------------------------------------------------------
Dipl.-Ing. Matthias Fuchs
SD4

esd electronic system design gmbh
Vahrenwalder Str. 207 - 30165 Hannover - GERMANY
Telefon: 0511-37298-0 - Fax: 0511-37298-68
Bitte besuchen Sie uns im Internet unter http://www.esd.eu
Quality Products - Made in Germany
-------------------------------------------------------------------------
Geschäftsführer: Klaus Detering, Dr. Werner Schulze
Amtsgericht Hannover HRB 51373 - VAT-ID DE 115672832
-------------------------------------------------------------------------

---------------------------------------------------------------------
To unsubscribe, e-mail: ####@####.####
For additional commands, e-mail: ####@####.####


Previous by date: 24 Jan 2008 16:12:20 -0000 Re: NXlib Installation, Matthias Fuchs
Next by date: 24 Jan 2008 16:12:20 -0000 Re: How to improve the efficiency of the NanoX draw?, Aaron J. Grier
Previous in thread: 24 Jan 2008 16:12:20 -0000 Re: NXlib Installation, Matthias Fuchs
Next in thread: 24 Jan 2008 16:12:20 -0000 Re: NXlib Installation, Greg Haerr


Powered by ezmlm-browse 0.20.