Make errors while compiling cvs

I am trying to obtain the latest cvs of Blender3d. However, it required that I compile it from source code. (The hard way :P) I am running Ubuntu 6.10 on generic x86 computer architecture. Therefore, my tool of choice should be the make command found on bash.

I start to run make in the folder ./blendercvs/bf-blender/blender/intern/

This is what it spits out.

I replaced some folders with ------ for privacy


 make====> make all in intern/string
make[1]: Entering directory `/home/---------/----------/blendercvs/bf-blender/blender/intern/string'
Makefile:34: nan_definitions.mk: No such file or directory
Makefile:42: nan_subdirs.mk: No such file or directory
make[1]: *** No rule to make target `nan_subdirs.mk'.  Stop.
make[1]: Leaving directory `/home/-----------/-----------/blendercvs/bf-blender/blender/intern/string'
make: *** [all] Error 1
--------@-----:~/-------------/blendercvs/bf-blender/blender/intern$ 


I wonder what is causing the “No such file or directory” errors because I don’t seem to have a problem with finding nan_definitions.mk and nan_subdirs.mk

Use scons.

Some new flags in user-def, but it’s a little unclear to me as to exactly what was done.

  export WITH_BF_DYNAMICOPENGL ?= true
  export WITH_BF_STATICOPENGL ?= false
  export WITH_BF_GAMEENGINE ?= true
  export WITH_BF_GAMEPLAYER ?= true
  export WITH_BF_WEBPLUGIN ?= false

I’m increasingly less inclined to dig deeply into the engineering aspect of all this so I haven’t actually done the leg work just yet. Maybe you’ve already seen those.

Looks like you’re building from a folder that isn’t blender’s home or your home folder isn’t in your path. Those files should be downloaded when you acquire the sources and all those .mk files should be present in blender’s main folder as you mentioned. Try a search for all things ‘.mk’ and start your build process from that folder?

I don’t know, just thinking out loud.:eyebrowlift:

You shouldn’t be starting make from that directory.

There should be a Makefile in ./blendercvs/bf-blender/blender/ that will call the other Makefiles in the subdrectories

Mike

Marty_D: You are right. Reading the install instructions for the umpteenth time, i moved bf-blender to my home directory. I now get an error about the syntax of guessconfig. Fix this error, and maybe, I’d get somewhere.

make output from “/home/------/bf-blender/blender”


====> make all in extern
/home/------/bf-blender/blender/source/tools/guess/guessconfig: 66: Syntax error: Unterminated quoted string
make[1]: sdl-config: Command not found
make[1]: sdl-config: Command not found
====> make all in extern/qhull/src
/home/------/bf-blender/blender/source/tools/guess/guessconfig: 66: Syntax error: Unterminated quoted string
cc -c -DGAMEBLENDER=1 -DUSE_SUMO_SOLID -DNDEBUG -I../include user.c -o /home/------/bf-blender/blender/obj//extern/qhull/user.o
cc -c -DGAMEBLENDER=1 -DUSE_SUMO_SOLID -DNDEBUG -I../include global.c -o /home/------/bf-blender/blender/obj//extern/qhull/global.o
cc -c -DGAMEBLENDER=1 -DUSE_SUMO_SOLID -DNDEBUG -I../include stat.c -o /home/------/bf-blender/blender/obj//extern/qhull/stat.o
cc -c -DGAMEBLENDER=1 -DUSE_SUMO_SOLID -DNDEBUG -I../include io.c -o /home/------/bf-blender/blender/obj//extern/qhull/io.o
cc -c -DGAMEBLENDER=1 -DUSE_SUMO_SOLID -DNDEBUG -I../include geom2.c -o /home/------/bf-blender/blender/obj//extern/qhull/geom2.o
cc -c -DGAMEBLENDER=1 -DUSE_SUMO_SOLID -DNDEBUG -I../include poly2.c -o /home/------/bf-blender/blender/obj//extern/qhull/poly2.o
cc -c -DGAMEBLENDER=1 -DUSE_SUMO_SOLID -DNDEBUG -I../include merge.c -o /home/------/bf-blender/blender/obj//extern/qhull/merge.o
cc -c -DGAMEBLENDER=1 -DUSE_SUMO_SOLID -DNDEBUG -I../include qhull.c -o /home/------/bf-blender/blender/obj//extern/qhull/qhull.o
cc -c -DGAMEBLENDER=1 -DUSE_SUMO_SOLID -DNDEBUG -I../include geom.c -o /home/------/bf-blender/blender/obj//extern/qhull/geom.o
cc -c -DGAMEBLENDER=1 -DUSE_SUMO_SOLID -DNDEBUG -I../include poly.c -o /home/------/bf-blender/blender/obj//extern/qhull/poly.o
cc -c -DGAMEBLENDER=1 -DUSE_SUMO_SOLID -DNDEBUG -I../include qset.c -o /home/------/bf-blender/blender/obj//extern/qhull/qset.o
cc -c -DGAMEBLENDER=1 -DUSE_SUMO_SOLID -DNDEBUG -I../include mem.c -o /home/------/bf-blender/blender/obj//extern/qhull/mem.o
cd /home/------/bf-blender/blender/obj//extern/qhull/; ar rv /home/------/bf-blender/blender/obj//extern/qhull/libqhull.a  user.o global.o stat.o io.o geom2.o poly2.o merge.o qhull.o geom.o poly.o qset.o mem.o  
ar: creating /home/------/bf-blender/blender/obj//extern/qhull/libqhull.a
a - user.o
a - global.o
a - stat.o
a - io.o
a - geom2.o
a - poly2.o
a - merge.o
a - qhull.o
a - geom.o
a - poly.o
a - qset.o
a - mem.o
    Install /home/------/bf-blender/blender/obj//extern/qhull/libqhull.a
    Install ../include/qhull/geom.h
    Install ../include/qhull/io.h
    Install ../include/qhull/mem.h
    Install ../include/qhull/merge.h
    Install ../include/qhull/poly.h
    Install ../include/qhull/qhull.h
    Install ../include/qhull/qhull_a.h
    Install ../include/qhull/qset.h
    Install ../include/qhull/stat.h
    Install ../include/qhull/user.h
====> make all in extern/solid
/home/------/bf-blender/blender/source/tools/guess/guessconfig: 66: Syntax error: Unterminated quoted string
====> make all in extern/solid/src
/home/------/bf-blender/blender/source/tools/guess/guessconfig: 66: Syntax error: Unterminated quoted string
====> make all in extern/solid/src/broad
/home/------/bf-blender/blender/source/tools/guess/guessconfig: 66: Syntax error: Unterminated quoted string
c -FIX_NAN_WARN -DUSE_SUMO_SOLID -DNDEBUG -I../../include -I/home/------/bf-blender/blender/../lib//qhull/include -DQHULL -DUSE_DOUBLES BP_C-api.cpp -o /home/------/bf-blender/blender/obj//extern/solid_broad/BP_C-api.o
make[4]: c: Command not found
make[4]: [/home/------/bf-blender/blender/obj//extern/solid_broad/BP_C-api.o] Error 127 (ignored)
c -FIX_NAN_WARN -DUSE_SUMO_SOLID -DNDEBUG -I../../include -I/home/------/bf-blender/blender/../lib//qhull/include -DQHULL -DUSE_DOUBLES BP_EndpointList.cpp -o /home/------/bf-blender/blender/obj//extern/solid_broad/BP_EndpointList.o
make[4]: c: Command not found
make[4]: [/home/------/bf-blender/blender/obj//extern/solid_broad/BP_EndpointList.o] Error 127 (ignored)
c -FIX_NAN_WARN -DUSE_SUMO_SOLID -DNDEBUG -I../../include -I/home/------/bf-blender/blender/../lib//qhull/include -DQHULL -DUSE_DOUBLES BP_Proxy.cpp -o /home/------/bf-blender/blender/obj//extern/solid_broad/BP_Proxy.o
make[4]: c: Command not found
make[4]: [/home/------/bf-blender/blender/obj//extern/solid_broad/BP_Proxy.o] Error 127 (ignored)
c -FIX_NAN_WARN -DUSE_SUMO_SOLID -DNDEBUG -I../../include -I/home/------/bf-blender/blender/../lib//qhull/include -DQHULL -DUSE_DOUBLES BP_Scene.cpp -o /home/------/bf-blender/blender/obj//extern/solid_broad/BP_Scene.o
make[4]: c: Command not found
make[4]: [/home/------/bf-blender/blender/obj//extern/solid_broad/BP_Scene.o] Error 127 (ignored)
cd /home/------/bf-blender/blender/obj//extern/solid_broad/; ar rv /home/------/bf-blender/blender/obj//extern/solid_broad/libsolid_broad.a   BP_C-api.o BP_EndpointList.o BP_Proxy.o BP_Scene.o 
ar: creating /home/------/bf-blender/blender/obj//extern/solid_broad/libsolid_broad.a
ar: BP_C-api.o: No such file or directory
make[4]: *** [/home/------/bf-blender/blender/obj//extern/solid_broad/libsolid_broad.a] Error 1
make[3]: *** [all] Error 1
make[2]: *** [all] Error 1
make[1]: *** [all] Error 1
make: *** [all] Error 1

line of code in guessconfig that produced “Syntax error: Unterminated quoted string”


    sed 's/^    //' << EOF >$dummy.c

FISHB8: I seem to be further along with this than with the make command. I don’t like the fact that I still get errors.

running the scons command at “~/bf-blender/blender”


scons: Reading SConscript files ...
Command-line arguments
        No  command-line arguments given
Command-line targets
        No targets given, using default
Using config file: config/linux2-config.py
user-config.py not found, no user overrides
Building in ../build/linux2/
Configuring library bf_soundsystem
Configuring library bf_string
Configuring library bf_ghost
Configuring library bf_guardedalloc
Configuring library bf_bmfont
Configuring library bf_moto
Configuring library blender_CTR
Configuring library bf_memutil
Configuring library bf_decimation
Configuring library blender_IK
Configuring library blender_bop
Configuring library blender_ONL
Configuring library bf_elbeem
Configuring library blender_BSP
Configuring library extern_ftgl
Configuring library bf_avi
Configuring library bf_blenkernel
Configuring library bf_blenlib
Configuring library bf_blenloader
Configuring library bf_blenpluginapi
Configuring library bf_imbuf
Configuring library bf_cineon
Configuring library bf_dna
Configuring library blender_python
Configuring library blender_radiosity
Configuring library bf_readblenfile
Configuring library blender_render
Configuring library src
Configuring library bf_yafray
Configuring library bf_ftfont
Configuring library bf_openexr
Configuring library bf_kernel
Configuring library blender_creator
Configuring program blender
scons: done reading SConscript files.
scons: Building targets ...
Compiling ==> 'SND_DummyDevice.cpp'
Compiling ==> 'SND_AudioDevice.cpp'
Compiling ==> 'SND_C-api.cpp'
Compiling ==> 'SND_CDObject.cpp'
Compiling ==> 'SND_DeviceManager.cpp'
Compiling ==> 'SND_IdObject.cpp'
Compiling ==> 'SND_Scene.cpp'
Compiling ==> 'SND_SoundListener.cpp'
Compiling ==> 'SND_SoundObject.cpp'
Compiling ==> 'SND_Utils.cpp'
Compiling ==> 'SND_WaveCache.cpp'
Compiling ==> 'SND_WaveSlot.cpp'
Linking library ==> 'libbf_soundsystem.a'
Compiling ==> 'STR_String.cpp'
Linking library ==> 'libbf_string.a'
Compiling ==> 'GHOST_TimerManager.cpp'
Compiling ==> 'GHOST_Window.cpp'
Compiling ==> 'GHOST_WindowManager.cpp'
Compiling ==> 'GHOST_WindowX11.cpp'
scons: building terminated because of errors.

I redirected the error output to ~/errors.txt
Here is what it had to say…



In file included from intern/ghost/intern/GHOST_WindowX11.cpp:32:
intern/ghost/intern/GHOST_WindowX11.h:40:22: error: X11/Xlib.h: No such file or directory
intern/ghost/intern/GHOST_WindowX11.h:41:20: error: GL/glx.h: No such file or directory
intern/ghost/intern/GHOST_WindowX11.h:43:35: error: X11/extensions/XInput.h: No such file or directory
intern/ghost/intern/GHOST_WindowX11.cpp:38:28: error: X11/cursorfont.h: No such file or directory
intern/ghost/intern/GHOST_WindowX11.h:75: error: ‘Display’ has not been declared
intern/ghost/intern/GHOST_WindowX11.h:189: error: ‘Window’ does not name a type
intern/ghost/intern/GHOST_WindowX11.h:198: error: ISO C++ forbids declaration of ‘XDevice’ with no type
intern/ghost/intern/GHOST_WindowX11.h:198: error: expected ‘;’ before ‘*’ token
intern/ghost/intern/GHOST_WindowX11.h:199: error: ISO C++ forbids declaration of ‘XDevice’ with no type
intern/ghost/intern/GHOST_WindowX11.h:199: error: expected ‘;’ before ‘*’ token
intern/ghost/intern/GHOST_WindowX11.h:201: error: ‘XID’ does not name a type
intern/ghost/intern/GHOST_WindowX11.h:292: error: ‘Cursor’ does not name a type
intern/ghost/intern/GHOST_WindowX11.h:297: error: ‘Cursor’ does not name a type
intern/ghost/intern/GHOST_WindowX11.h:303: error: ‘GLXContext’ does not name a type
intern/ghost/intern/GHOST_WindowX11.h:304: error: ‘Window’ does not name a type
intern/ghost/intern/GHOST_WindowX11.h:305: error: ISO C++ forbids declaration of ‘Display’ with no type
intern/ghost/intern/GHOST_WindowX11.h:305: error: expected ‘;’ before ‘*’ token
intern/ghost/intern/GHOST_WindowX11.h:306: error: ISO C++ forbids declaration of ‘XVisualInfo’ with no type
intern/ghost/intern/GHOST_WindowX11.h:306: error: expected ‘;’ before ‘*’ token
intern/ghost/intern/GHOST_WindowX11.h:309: error: ‘GLXContext’ does not name a type
intern/ghost/intern/GHOST_WindowX11.h:321: error: ‘Cursor’ does not name a type
intern/ghost/intern/GHOST_WindowX11.h:324: error: ‘Cursor’ does not name a type
intern/ghost/intern/GHOST_WindowX11.h:327: error: ‘Cursor’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.h:327: error: template argument 2 is invalid
intern/ghost/intern/GHOST_WindowX11.h:327: error: template argument 4 is invalid
intern/ghost/intern/GHOST_Buttons.h:48: warning: ‘struct GHOST_Buttons’ has virtual functions but non-virtual destructor
intern/ghost/intern/GHOST_ModifierKeys.h:48: warning: ‘struct GHOST_ModifierKeys’ has virtual functions but non-virtual destructor
intern/ghost/intern/GHOST_SystemX11.h:193: error: ISO C++ forbids declaration of ‘Display’ with no type
intern/ghost/intern/GHOST_SystemX11.h:193: error: expected ‘;’ before ‘*’ token
intern/ghost/intern/GHOST_SystemX11.h:200: error: expected `;' before ‘private’
intern/ghost/intern/GHOST_SystemX11.h:202: error: ISO C++ forbids declaration of ‘Display’ with no type
intern/ghost/intern/GHOST_SystemX11.h:202: error: expected ‘;’ before ‘*’ token
intern/ghost/intern/GHOST_SystemX11.h:207: error: ‘Atom’ does not name a type
intern/ghost/intern/GHOST_SystemX11.h:224: error: expected ‘;’ before ‘(’ token
intern/ghost/intern/GHOST_SystemX11.h:230: error: ‘XEvent’ has not been declared
intern/ghost/intern/GHOST_SystemX11.h:239: error: ‘KeySym’ has not been declared
intern/ghost/intern/GHOST_WindowX11.cpp:52: error: ‘GLXContext’ does not name a type
intern/ghost/intern/GHOST_WindowX11.cpp:57: error: ‘Display’ has not been declared
intern/ghost/intern/GHOST_WindowX11.cpp: In constructor ‘GHOST_WindowX11::GHOST_WindowX11(GHOST_SystemX11*, int*, const STR_String&, GHOST_TInt32, GHOST_TInt32, GHOST_TUns32, GHOST_TUns32, GHOST_TWindowState, GHOST_TDrawingContextType, bool)’:
intern/ghost/intern/GHOST_WindowX11.cpp:68: error: class ‘GHOST_WindowX11’ does not have any field named ‘m_display’
intern/ghost/intern/GHOST_WindowX11.cpp:72: error: class ‘GHOST_WindowX11’ does not have any field named ‘m_context’
intern/ghost/intern/GHOST_WindowX11.cpp:73: error: class ‘GHOST_WindowX11’ does not have any field named ‘m_empty_cursor’
intern/ghost/intern/GHOST_WindowX11.cpp:73: error: ‘None’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:74: error: class ‘GHOST_WindowX11’ does not have any field named ‘m_custom_cursor’
intern/ghost/intern/GHOST_WindowX11.h:315: warning: ‘GHOST_WindowX11::m_valid_setup’ will be initialized after
intern/ghost/intern/GHOST_WindowX11.h:313: warning:   ‘GHOST_SystemX11* GHOST_WindowX11::m_system’
intern/ghost/intern/GHOST_WindowX11.cpp:66: warning:   when initialized here
intern/ghost/intern/GHOST_WindowX11.cpp:83: error: ‘GLX_STEREO’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:85: error: ‘GLX_RGBA’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:86: error: ‘GLX_DOUBLEBUFFER’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:87: error: ‘GLX_RED_SIZE’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:88: error: ‘GLX_BLUE_SIZE’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:89: error: ‘GLX_GREEN_SIZE’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:90: error: ‘GLX_DEPTH_SIZE’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:93: error: ‘m_visual’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:93: error: ‘m_display’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:93: error: ‘DefaultScreen’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:93: error: ‘glXChooseVisual’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:106: error: ‘XSetWindowAttributes’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:106: error: expected `;' before ‘xattributes’
intern/ghost/intern/GHOST_WindowX11.cpp:107: error: ‘xattributes’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:111: error: ‘RootWindow’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:113: error: ‘AllocNone’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:114: error: ‘XCreateColormap’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:121: error: ‘ExposureMask’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:121: error: ‘StructureNotifyMask’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:122: error: ‘KeyPressMask’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:122: error: ‘KeyReleaseMask’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:123: error: ‘EnterWindowMask’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:123: error: ‘LeaveWindowMask’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:124: error: ‘ButtonPressMask’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:124: error: ‘ButtonReleaseMask’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:125: error: ‘PointerMotionMask’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:125: error: ‘FocusChangeMask’ was not declared in this scope

................... continued...


… continued on next post

… continued from previous post…

~/errors.txt


.... continued ...

intern/ghost/intern/GHOST_WindowX11.cpp:129: error: ‘m_window’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:139: error: ‘InputOutput’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:141: error: ‘CWBorderPixel’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:141: error: ‘CWColormap’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:141: error: ‘CWEventMask’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:143: error: ‘XCreateWindow’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:151: error: ‘Atom’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:151: error: expected `;' before ‘atom’
intern/ghost/intern/GHOST_WindowX11.cpp:153: error: ‘atom’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:153: error: ‘False’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:153: error: ‘XInternAtom’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:165: error: ‘PropModeReplace’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:165: error: ‘XChangeProperty’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:172: error: ‘XSizeHints’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:172: error: ‘xsizehints’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:172: error: ‘XAllocSizeHints’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:173: error: ‘USPosition’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:173: error: ‘USSize’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:178: error: ‘XSetWMNormalHints’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:179: error: ‘XFree’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:181: error: ‘XClassHint’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:181: error: ‘xclasshint’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:181: error: ‘XAllocClassHint’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:187: error: ‘XSetClassHint’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:201: error: ‘XMapWindow’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:204: error: ‘XFlush’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp: At global scope:
intern/ghost/intern/GHOST_WindowX11.cpp:213: error: ‘Display’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:213: error: ‘display’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:213: error: ‘XErrorEvent’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:213: error: ‘theEvent’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:213: error: initializer expression list treated as compound expression
intern/ghost/intern/GHOST_WindowX11.cpp:213: error: expected ‘,’ or ‘;’ before ‘{’ token
intern/ghost/intern/GHOST_WindowX11.cpp: In member function ‘void GHOST_WindowX11::initXInputDevices()’:
intern/ghost/intern/GHOST_WindowX11.cpp:223: error: ‘XErrorHandler’ does not name a type
intern/ghost/intern/GHOST_WindowX11.cpp:224: error: ‘XExtensionVersion’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:224: error: ‘version’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:224: error: ‘m_display’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:224: error: ‘INAME’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:224: error: ‘XGetExtensionVersion’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:226: error: expected primary-expression before ‘)’ token
intern/ghost/intern/GHOST_WindowX11.cpp:226: error: expected `)' before ‘NoSuchExtension’
intern/ghost/intern/GHOST_WindowX11.cpp:300: error: expected `)' before ‘}’ token
intern/ghost/intern/GHOST_WindowX11.cpp:300: error: expected primary-expression before ‘}’ token
intern/ghost/intern/GHOST_WindowX11.cpp:300: error: expected `;' before ‘}’ token
intern/ghost/intern/GHOST_WindowX11.cpp: At global scope:
intern/ghost/intern/GHOST_WindowX11.cpp:303: error: ‘Window’ does not name a type
intern/ghost/intern/GHOST_WindowX11.cpp: In member function ‘virtual void GHOST_WindowX11::setTitle(const STR_String&)’:
intern/ghost/intern/GHOST_WindowX11.cpp:322: error: ‘m_display’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:322: error: ‘m_window’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:322: error: ‘XStoreName’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:323: error: ‘XFlush’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp: In member function ‘virtual void GHOST_WindowX11::getTitle(STR_String&) const’:
intern/ghost/intern/GHOST_WindowX11.cpp:333: error: ‘m_display’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:333: error: ‘m_window’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:333: error: ‘XFetchName’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:335: error: ‘XFree’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp: In member function ‘virtual void GHOST_WindowX11::getClientBounds(GHOST_Rect&) const’:
intern/ghost/intern/GHOST_WindowX11.cpp:353: error: ‘Window’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:353: error: expected `;' before ‘root_return’
intern/ghost/intern/GHOST_WindowX11.cpp:358: error: ‘m_display’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:358: error: ‘m_window’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:358: error: ‘root_return’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:359: error: ‘XGetGeometry’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp: In member function ‘virtual GHOST_TSuccess GHOST_WindowX11::setClientWidth(GHOST_TUns32)’:
intern/ghost/intern/GHOST_WindowX11.cpp:375: error: ‘XWindowChanges’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:375: error: expected `;' before ‘values’
intern/ghost/intern/GHOST_WindowX11.cpp:376: error: ‘CWWidth’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:377: error: ‘values’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:378: error: ‘m_display’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:378: error: ‘m_window’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:378: error: ‘XConfigureWindow’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp: In member function ‘virtual GHOST_TSuccess GHOST_WindowX11::setClientHeight(GHOST_TUns32)’:
intern/ghost/intern/GHOST_WindowX11.cpp:388: error: ‘XWindowChanges’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:388: error: expected `;' before ‘values’
intern/ghost/intern/GHOST_WindowX11.cpp:389: error: ‘CWHeight’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:390: error: ‘values’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:391: error: ‘m_display’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:391: error: ‘m_window’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:391: error: ‘XConfigureWindow’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp: In member function ‘virtual GHOST_TSuccess GHOST_WindowX11::setClientSize(GHOST_TUns32, GHOST_TUns32)’:
intern/ghost/intern/GHOST_WindowX11.cpp:402: error: ‘XWindowChanges’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:402: error: expected `;' before ‘values’
intern/ghost/intern/GHOST_WindowX11.cpp:403: error: ‘CWWidth’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:403: error: ‘CWHeight’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:404: error: ‘values’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:406: error: ‘m_display’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:406: error: ‘m_window’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:406: error: ‘XConfigureWindow’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp: In member function ‘virtual void GHOST_WindowX11::screenToClient(GHOST_TInt32, GHOST_TInt32, GHOST_TInt32&, GHOST_TInt32&) const’:
intern/ghost/intern/GHOST_WindowX11.cpp:422: error: ‘Window’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:422: error: expected `;' before ‘temp’
intern/ghost/intern/GHOST_WindowX11.cpp:425: error: ‘m_display’ was not declared in this scope

... continued...


… continued in next post

…continued from previous post…

~/errors.txt



... continued from previous ...

intern/ghost/intern/GHOST_WindowX11.cpp:426: error: ‘m_visual’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:426: error: ‘RootWindow’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:427: error: ‘m_window’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:432: error: ‘temp’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:433: error: ‘XTranslateCoordinates’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp: In member function ‘virtual void GHOST_WindowX11::clientToScreen(GHOST_TInt32, GHOST_TInt32, GHOST_TInt32&, GHOST_TInt32&) const’:
intern/ghost/intern/GHOST_WindowX11.cpp:447: error: ‘Window’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:447: error: expected `;' before ‘temp’
intern/ghost/intern/GHOST_WindowX11.cpp:450: error: ‘m_display’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:451: error: ‘m_window’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:452: error: ‘m_visual’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:452: error: ‘RootWindow’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:457: error: ‘temp’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:458: error: ‘XTranslateCoordinates’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp: In member function ‘virtual GHOST_TSuccess GHOST_WindowX11::setOrder(GHOST_TWindowOrder)’:
intern/ghost/intern/GHOST_WindowX11.cpp:496: error: ‘XWindowAttributes’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:496: error: expected `;' before ‘attr’
intern/ghost/intern/GHOST_WindowX11.cpp:497: error: ‘Atom’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:497: error: expected `;' before ‘atom’
intern/ghost/intern/GHOST_WindowX11.cpp:503: error: ‘m_display’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:503: error: ‘m_window’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:503: error: ‘XRaiseWindow’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:505: error: ‘atom’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:505: error: ‘True’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:505: error: ‘XInternAtom’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:507: error: ‘None’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:508: error: ‘Window’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:508: error: expected `;' before ‘root’
intern/ghost/intern/GHOST_WindowX11.cpp:509: error: ‘XEvent’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:509: error: expected `;' before ‘xev’
intern/ghost/intern/GHOST_WindowX11.cpp:512: error: ‘xev’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:512: error: ‘ClientMessage’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:525: error: ‘root’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:525: error: ‘m_visual’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:525: error: ‘RootWindow’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:526: error: ‘SubstructureRedirectMask’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:526: error: ‘SubstructureNotifyMask’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:528: error: ‘False’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:528: error: ‘XSendEvent’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:531: error: ‘attr’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:531: error: ‘XGetWindowAttributes’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:534: error: ‘IsViewable’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:535: error: ‘RevertToPointerRoot’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:536: error: ‘CurrentTime’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:536: error: ‘XSetInputFocus’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:537: error: ‘XFlush’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:539: error: ‘m_display’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:539: error: ‘m_window’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:539: error: ‘XLowerWindow’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:540: error: ‘XFlush’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp: In member function ‘virtual GHOST_TSuccess GHOST_WindowX11::swapBuffers()’:
intern/ghost/intern/GHOST_WindowX11.cpp:553: error: ‘m_display’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:553: error: ‘m_window’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:553: error: ‘glXSwapBuffers’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp: In member function ‘virtual GHOST_TSuccess GHOST_WindowX11::activateDrawingContext()’:
intern/ghost/intern/GHOST_WindowX11.cpp:564: error: ‘m_context’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:565: error: ‘m_display’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:565: error: ‘m_window’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:565: error: ‘glXMakeCurrent’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp: In destructor ‘virtual GHOST_WindowX11::~GHOST_WindowX11()’:
intern/ghost/intern/GHOST_WindowX11.cpp:618: error: ‘Cursor’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:618: error: template argument 2 is invalid
intern/ghost/intern/GHOST_WindowX11.cpp:618: error: template argument 4 is invalid
intern/ghost/intern/GHOST_WindowX11.cpp:618: error: expected initializer before ‘it’
intern/ghost/intern/GHOST_WindowX11.cpp:619: error: ‘it’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:619: error: request for member ‘end’ in ‘((GHOST_WindowX11*)this)->GHOST_WindowX11::m_standard_cursors’, which is of non-class type ‘int’
intern/ghost/intern/GHOST_WindowX11.cpp:620: error: ‘m_display’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:620: error: ‘XFreeCursor’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:623: error: ‘m_empty_cursor’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:624: error: ‘m_display’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:624: error: ‘XFreeCursor’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:626: error: ‘m_custom_cursor’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:627: error: ‘m_display’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:627: error: ‘XFreeCursor’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:630: error: ‘m_context’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:631: error: ‘s_firstContext’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:634: error: ‘m_display’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:634: error: ‘glXDestroyContext’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:636: error: ‘m_display’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:636: error: ‘m_window’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:636: error: ‘XDestroyWindow’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:637: error: ‘m_visual’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:637: error: ‘XFree’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp: In member function ‘virtual GHOST_TSuccess GHOST_WindowX11::installDrawingContext(GHOST_TDrawingContextType)’:
intern/ghost/intern/GHOST_WindowX11.cpp:657: error: ‘m_context’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:657: error: ‘m_display’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:657: error: ‘m_visual’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:657: error: ‘s_firstContext’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:657: error: ‘True’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:657: error: ‘glXCreateContext’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:662: error: ‘m_window’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:662: error: ‘glXMakeCurrent’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp: In member function ‘virtual GHOST_TSuccess GHOST_WindowX11::removeDrawingContext()’:

... continued ... 


… continued on next post… (wish I could attach this thing. It’s ~30,000 chars)

… Continued from previous post.

~/errors.txt


... continued from previous post...

intern/ghost/intern/GHOST_WindowX11.cpp:692: error: ‘m_context’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:693: error: ‘m_display’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:693: error: ‘glXDestroyContext’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp: At global scope:
intern/ghost/intern/GHOST_WindowX11.cpp:702: error: ‘Cursor’ does not name a type
intern/ghost/intern/GHOST_WindowX11.cpp:752: error: ‘Cursor’ does not name a type
intern/ghost/intern/GHOST_WindowX11.cpp: In member function ‘virtual GHOST_TSuccess GHOST_WindowX11::setWindowCursorVisibility(bool)’:
intern/ghost/intern/GHOST_WindowX11.cpp:780: error: ‘Cursor’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:780: error: expected `;' before ‘xcursor’
intern/ghost/intern/GHOST_WindowX11.cpp:783: error: ‘xcursor’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:783: error: ‘getStandardCursor’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:785: error: ‘xcursor’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:785: error: ‘getEmptyCursor’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:788: error: ‘m_display’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:788: error: ‘m_window’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:788: error: ‘xcursor’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:788: error: ‘XDefineCursor’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:789: error: ‘XFlush’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp: In member function ‘virtual GHOST_TSuccess GHOST_WindowX11::setWindowCursorShape(GHOST_TStandardCursor)’:
intern/ghost/intern/GHOST_WindowX11.cpp:799: error: ‘Cursor’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:799: error: expected `;' before ‘xcursor’
intern/ghost/intern/GHOST_WindowX11.cpp:801: error: ‘m_display’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:801: error: ‘m_window’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:801: error: ‘xcursor’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:801: error: ‘XDefineCursor’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:802: error: ‘XFlush’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp: In member function ‘virtual GHOST_TSuccess GHOST_WindowX11::setWindowCustomCursorShape(GHOST_TUns8*, GHOST_TUns8*, int, int, int, int, int, int)’:
intern/ghost/intern/GHOST_WindowX11.cpp:833: error: ‘Pixmap’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:833: error: expected `;' before ‘bitmap_pix’
intern/ghost/intern/GHOST_WindowX11.cpp:834: error: ‘XColor’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:834: error: expected `;' before ‘fg’
intern/ghost/intern/GHOST_WindowX11.cpp:836: error: ‘m_display’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:836: error: ‘DefaultScreen’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:836: error: ‘DefaultColormap’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:837: error: ‘fg’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:837: error: ‘XAllocNamedColor’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:838: error: ‘m_display’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:838: error: ‘DefaultScreen’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:838: error: ‘DefaultColormap’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:839: error: ‘bg’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:839: error: ‘XAllocNamedColor’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:841: error: ‘m_custom_cursor’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:842: error: ‘m_display’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:842: error: ‘XFreeCursor’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:845: error: ‘bitmap_pix’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:845: error: ‘m_display’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:845: error: ‘m_window’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:845: error: ‘XCreateBitmapFromData’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:846: error: ‘mask_pix’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:848: error: ‘m_custom_cursor’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:848: error: ‘fg’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:848: error: ‘bg’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:848: error: ‘XCreatePixmapCursor’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:849: error: ‘XDefineCursor’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:850: error: ‘XFlush’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp:852: error: ‘XFreePixmap’ was not declared in this scope
intern/ghost/intern/GHOST_WindowX11.cpp: At global scope:
intern/ghost/intern/GHOST_WindowX11.cpp:213: warning: ‘ApplicationErrorHandler’ defined but not used
scons: *** [/home/------/bf-blender/build/linux2/intern/ghost/intern/GHOST_WindowX11.o] Error 1

I’m not sure what exactly is is preventing GHOST_WindowX11.cpp from compiling. Is is that I don’t have a certain package installed? Is it that I need to enable or disable a setting in ~/bf-blender/blender/config/linux2-config.py ? Or is it that I’m somehow not following the instructions in the Install file?

In Windows with Cygwin. I tried disabling the game engine, but no go. I tried updating the libs directory and libghost.a has 4 instances present. Still no go.

. . .
====> make all in source/gameengine
====> make all in source/gameengine/BlenderRoutines
====> make all in source/gameengine/Converter
====> make all in source/gameengine/Expressions
====> make all in source/gameengine/GameLogic
====> make all in source/gameengine/gameengine/GameLogic/Joystick
====> make all in source/gameengine/Ketsji
====> make all in source/gameengine/Ketsji/KXNetwork
====> make all in source/gameengine/Rasterizer
====> make all in source/gameengine/Rasterizer/RAS_OpenGLRasterizer
====> make all in source/gameengine/SceneGraph
====> make all in source/gameengine/Network
====> make all in source/gameengine/Network/LoopBackNetwork
====> make all in source/gameengine/Physics
====> make all in source/gameengine/Physics/common
====> make all in source/gameengine/Physics/Sumo
====> make all in source/gameengine/Physics/Sumo/Fuzzics
====> make all in source/gameengine/Physics/Sumo/Fuzzics/src
====> make all in source/gameengine/Physics/Dummy
====> make all in source/gameengine/Physics/Bullet
====> make all in source/icons
make[1]: *** No rule to make target /home/mame/blender/obj/windows/gameengine/G amePlayer/ghost/libghost.a', needed by /home/mame/blender/obj/windows/bin/blend
erplayer.exe’. Stop.
make: *** [all] Error 1

Ghost is supposed to do with the windowing system as is X11. In user-def.mk I used the following flags
export WITH_BF_DYNAMICOPENGL ?= true
export WITH_BF_STATICOPENGL ?= false
export WITH_BF_GAMEENGINE ?= false
export WITH_BF_GAMEPLAYER ?= false
export WITH_BF_WEBPLUGIN ?= false

Kind of looks like, for one, the flags are being ignored, but there is more to it than that. Ah, well. There really isn’t enough time in the day to do the programming, coding, etc. and the designing, editing, and publishing. The tools creation will have to be left to more capable hands.

intern/ghost/intern/GHOST_WindowX11.h:40:22: error: X11/Xlib.h: No such file or directory
intern/ghost/intern/GHOST_WindowX11.h:41:20: error: GL/glx.h: No such file or directory

Onion man: It seems that you don’t have dev-packages installed (missing header files). Yous should read this:
http://wiki.blender.org/index.php/BlenderDev/UbuntuBlenderCompile

Ubuntuist: That pretty much fixed it! :cool: It was simply that I didn’t install the required dependencies for compilation.

Thank you all for those who helped solve my issue compiling Blender3d.