coin3d / soqt

Old Coin GUI binding for Qt, replaced by Quarter
BSD 3-Clause "New" or "Revised" License
22 stars 17 forks source link

osx 10.14 compile errors #60

Closed looooo closed 4 years ago

looooo commented 4 years ago

I guess there has something changed on osx 10.14 compared to 10.13 but I am really not sure. Maybe someone has an idea.

src/Inventor/Qt/devices/spwinput_x11.cpp:237:3: error: use of undeclared identifier 'XQueryTree'
  XQueryTree(display, RootWindowOfScreen(DefaultScreenOfDisplay(display)),
  ^
src/Inventor/Qt/devices/spwinput_x11.cpp:244:5: error: use of undeclared identifier 'XFetchName'
    XFetchName (display, children[i], &name);
    ^
src/Inventor/Qt/devices/spwinput_x11.cpp:252:7: error: use of undeclared identifier 'XFree'
      XFree(name);
      ^
src/Inventor/Qt/devices/spwinput_x11.cpp:267:3: error: use of undeclared identifier 'XFree'
  XFree((char *) children);
  ^
src/Inventor/Qt/devices/spwinput_x11.cpp:339:7: error: use of undeclared identifier 'XSendEvent'
  if (XSendEvent (display, SpaceWareXCMWindowID, True, 0,
      ^
src/Inventor/Qt/devices/spwinput_x11.cpp:345:3: error: use of undeclared identifier 'XSync'
  XSync (display,False);
  ^
src/Inventor/Qt/devices/spwinput_x11.cpp:722:25: error: use of undeclared identifier 'XInternAtom'
  SPW_InputMotionAtom = XInternAtom(display, SPW_InputMotionAtomName, True);
                        ^
src/Inventor/Qt/devices/spwinput_x11.cpp:723:30: error: use of undeclared identifier 'XInternAtom'
  SPW_InputButtonPressAtom = XInternAtom(display, SPW_InputButtonPressAtomName,
                             ^
src/Inventor/Qt/devices/spwinput_x11.cpp:725:32: error: use of undeclared identifier 'XInternAtom'
  SPW_InputButtonReleaseAtom = XInternAtom(display, 
          ^
src/Inventor/Qt/devices/spwinput_x11.cpp:1904:15: error: use of undeclared identifier 'XNextEvent'
              XNextEvent (ds->display, &throw_away);   /* remove the event */
              ^
looooo commented 4 years ago

solved by adding some xorg libs