pombreda / o3d

Automatically exported from code.google.com/p/o3d
0 stars 0 forks source link

glibconfig.h file not found #205

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
steps to reproduce the problem
1. checked out latest sources from svn (jan 10th 2010) to a fedora 11 
x86_64 linux machine and installed all dependencies mentioned in the build 
instructions
2. upon issuing the "hammer -f o3d_main.scons" command, the build stops
with the initial error:

Compiling 
/opt/o3d/sconsbuild/Debug/obj/idl/o3dPluginIdl/__/cross/o3d_glue.o      
In file included from /usr/include/glib-2.0/glib/galloca.h:34,                  

                 from /usr/include/glib-2.0/glib.h:32,                            
                 from /usr/include/glib-2.0/gobject/gtype.h:26,                   
                 from /usr/include/glib-2.0/gobject/gboxed.h:26,                  
                 from /usr/include/glib-2.0/glib-object.h:25,                     
                 from /usr/include/glib-2.0/gio/gioenums.h:30,                    
                 from /usr/include/glib-2.0/gio/giotypes.h:30,                    
                 from /usr/include/glib-2.0/gio/gio.h:28,                         
                 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,          
                 from /usr/include/gtk-2.0/gdk/gdk.h:32,                          
                 from /usr/include/gtk-2.0/gtk/gtk.h:32,                          
                 from /opt/o3d/o3d/plugin/cross/o3d_glue.h:46,                    
                 from 
/opt/o3d/o3d/plugin/cross/archive_request_static_glue.cc:37:
/usr/include/glib-2.0/glib/gtypes.h:34:24: error: glibconfig.h: No such 
file or directory                                                               

-----

I read that the glibconfig.h file does not reside in the standard glib2.0 
directory but on a different filepath ('/usr/lib64/glib-2.0/include' on my 
machine) and followed various tips found on the internet in order to 
include the extra directory in the search path.
What I tried:
- putting the extra path information into the CCFLAGS or CPPPATH 
environment variables
- putting the extra path information into the CPPPATH lists contained in 
the O3D.scons and O3D_all.scons files

However, it looks as if the build process just doesn't pick up this 
information. 

Original issue reported on code.google.com by saschaco...@gmail.com on 12 Jan 2010 at 12:48

GoogleCodeExporter commented 9 years ago
You could always sym-link the appropriate stuff in, if you can't figure out the 
build system.

Original comment by LordDefi...@gmail.com on 5 Sep 2011 at 6:43