hello,
after a hard crash of my computer, i've got a new system and i'm triing to compil gem with Xorg.
i've got one problem with gemWinCreate.
make gives :
Dans le fichier inclus à partir de GemMan.cpp:41: GemWinCreate.h:20:38: X11/extensions/xf86vmode.h : Aucun fichier ou répertoire de ce type
(this mean that the compiler can't find the file "X11/extensions/xf86vmode.h" )
In file included from GemMan.cpp:41: GemWinCreate.h:68: error: 'XF86VidModeModeInfo' is used as a type, but is not defined as a type.
the ./configure gives 1 related information :
checking for XF86VidModeGetAllModeLines in -lXxf86vm... (cached) no
i'll be very happy to know what i should do to compil gem...
thanks for your help, cyrille
spec of my system : ubuntu hoary linux + ati radeon 9000
./configure output :
cyrille@nunux:~/Gem/src/Gnu $ ./configure loading cache ./config.cache HEAD: /usr/include /usr/local/include ../../../GemLibs/ LIBS: ../../../GemLibs/ /usr/local/lib /usr/local/src checking host system type... i686-pc-linux-gnu Configuring for Gem.pd_linux checking for gnu make... yes checking for c++... (cached) c++ checking whether the C++ compiler (c++ ) works... yes checking whether the C++ compiler (c++ ) is a cross-compiler... no checking whether we are using GNU C++... (cached) yes checking whether c++ accepts -g... (cached) yes checking for gcc... (cached) gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for a BSD compatible install... (cached) /usr/bin/install -c checking whether make sets ${MAKE}... (cached) yes checking for sh... (cached) sh checking how to run the C preprocessor... (cached) gcc -E checking for X... (cached) libraries /usr/X11R6/lib, headers /usr/X11R6/include checking for dnet_ntoa in -ldnet... (cached) no checking for dnet_ntoa in -ldnet_stub... (cached) no checking for gethostbyname... (cached) yes checking for connect... (cached) yes checking for remove... (cached) yes checking for shmat... (cached) yes checking for IceConnectionNumber in -lICE... (cached) yes checking for MMX... checking MMX found... Building Auxilliary Libraries =============================
checking for main in -lX11... (cached) yes checking for main in -lXext... (cached) yes checking for XF86VidModeGetAllModeLines in -lXxf86vm... (cached) no checking for sin in -lm... (cached) yes checking for main in -lz... (cached) yes checking for glInitNames in -lGL... (cached) yes checking for gluLookAt in -lGLU... (cached) yes checking for png_set_compression_level in -lpng... (cached) yes checking for TIFFOpen in -ltiff... (cached) yes checking for jpeg_read_header in -ljpeg... (cached) yes checking for FTGLPixmapFont in -lftgl... (cached) no checking alternate -lftgl in ../../../GemLibs/ /usr/local/lib /usr/local/src... configure: warning: Build ftgl library somewhere checking for open in -lgltt... (cached) yes checking for TT_FreeType_Version in -lttf... (cached) yes checking for main in -lvl... (cached) no checking for main in -lglib... (cached) no checking for mpeg3_check_sig in -lmpeg3... (cached) no checking alternate -lmpeg3 in ../../../GemLibs/ /usr/local/lib /usr/local/src... configure: warning: Build mpeg3 library somewhere checking for OpenMPEG in -lmpeg... (cached) no checking alternate -lmpeg in ../../../GemLibs/ /usr/local/lib /usr/local/src... configure: warning: Build mpeg library somewhere checking for quicktime_check_sig in -lquicktime... (cached) no checking alternate -lquicktime in ../../../GemLibs/ /usr/local/lib /usr/local/sr c... configure: warning: Build quicktime library somewhere checking for CreateIAviReadFile in -laviplay... (cached) no checking alternate -laviplay in ../../../GemLibs/ /usr/local/lib /usr/local/src. .. configure: warning: Build aviplay library somewhere checking for dv_init in -ldv... (cached) no checking alternate -ldv in ../../../GemLibs/ /usr/local/lib /usr/local/src... co nfigure: warning: Build dv library somewhere checking for GL/gl.h... (cached) yes checking for GL/glu.h... (cached) yes checking pd>=0.37... yes checking for working const... (cached) yes checking for ANSI C header files... (cached) no checking for size_t... (cached) yes checking for vprintf... (cached) yes checking for strdup... (cached) yes checking for strstr... (cached) yes "makesoure" called from configure Sources for ../Manips Sources for ../Particles Sources for ../Base Sources for ../MarkEx Sources for ../Pixes Sources for ../Controls Sources for ../Nongeos Sources for ../Geos Sources for ../openGL creating ./config.status creating Makefile creating ./../Manips/Makefile creating ./../Particles/Makefile creating ./../Base/Makefile creating ./../MarkEx/Makefile creating ./../Pixes/Makefile creating ./../Controls/Makefile creating ./../Nongeos/Makefile creating ./../Geos/Makefile creating ./../openGL/Makefile creating ../Base/configLinux.h ../Base/configLinux.h is unchanged
cyrille wrote:
hello,
after a hard crash of my computer, i've got a new system and i'm triing to compil gem with Xorg.
good
i've got one problem with gemWinCreate.
bad
make gives :
Dans le fichier inclus à partir de GemMan.cpp:41: GemWinCreate.h:20:38: X11/extensions/xf86vmode.h : Aucun fichier ou répertoire de ce type
(this mean that the compiler can't find the file "X11/extensions/xf86vmode.h" )
i do not use X.org (yet, as i am on debian (which does not come with X.org), and i don't see a good reason right now to switch)
anyhow, looking at the X.org-CVS i see, that there should be an xf86vmode.h file in extensions/ you could/should search where this file is installed onyour system, and probably add that to your search-path.
In file included from GemMan.cpp:41: GemWinCreate.h:68: error: 'XF86VidModeModeInfo' is used as a type, but is not defined as a type.
this is just a result of the above
the ./configure gives 1 related information :
checking for XF86VidModeGetAllModeLines in -lXxf86vm... (cached) no
is there a libXxf86vm.a somewhere ? (e.g. in /usr/X11R6/lib/)
i'll be very happy to know what i should do to compil gem...
i'll be very happy to know that gem runs under X.org ...
mfg.a.dr IOhannes
thanks for your help, cyrille
IOhannes m zmoelnig wrote:
cyrille wrote:
hello,
after a hard crash of my computer, i've got a new system and i'm triing to compil gem with Xorg.
good
exept for the data lost... :-(
...
anyhow, looking at the X.org-CVS i see, that there should be an xf86vmode.h file in extensions/ you could/should search where this file is installed onyour system, and probably add that to your search-path.
this file is not on my computer. (i can't find it)
In file included from GemMan.cpp:41: GemWinCreate.h:68: error: 'XF86VidModeModeInfo' is used as a type, but is not defined as a type.
this is just a result of the above
yes, there is also other error of the same kind, but no usefull informations...
the ./configure gives 1 related information :
checking for XF86VidModeGetAllModeLines in -lXxf86vm... (cached) no
is there a libXxf86vm.a somewhere ? (e.g. in /usr/X11R6/lib/)
no. i've got a libXxf86vm.so.1 and a libXxf86misc.a in this folder and lot's of other file. i can't find a libXxf86vm.a on my computer.
so : do you think i sould try with libXxf86misc.a, or should i try to install some new packet? or maybee using files from Xorg cvs?
thanks for you quick reply
Cyrille
i'll be very happy to know what i should do to compil gem...
i'll be very happy to know that gem runs under X.org ...
mfg.a.dr IOhannes
thanks for your help, cyrille
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://iem.at/cgi-bin/mailman/listinfo/pd-list
IOhannes m zmoelnig wrote:
i'll be very happy to know that gem runs under X.org ...
then, i'm very happy to say that you can be a happy man...
apt-get install libxxf86vm-dev help a lot to have all neaded files.
exept 2 objects (GEMglBindProgramARB.cpp and GEMglGenProgramsARB.cpp) everything compil fine.
i just load gem, create a windows and display a white sphere without problem.
thanks for the help.
cyrille