I get a compile error when I try to build VICE 3.0 under Ubunut 16.04 with Xaw3d user interface:
./configure --with-xaw3d
...
make
...
Making all in widgets
In file included from Joystick.c:8:0:
./JoystickP.h:15:29: fatal error: X11/Xaw/SimpleP.h: No such file or directory
compilation terminated.
It should either tell me during "configure" what is missing resp. what needs to be installed, or compile.
Hmm, when I use --with-xaw3d, configure quits with:
This is using SVN on Debian 8.6.
So configure won't even complete without xaw3d-dev installed. But I agree that configure should emit a proper warning when something is missing that is requested with either --with-foo or --enable-foo.
It's on our TODO list of things that need fixing: a lot of missing dependencies are silently ignored or some optional features are only enabled when the dependencies are there without a switch to turn it on or off (for example: MP3 decoding is only enabled if libmpg123-dev is installed, but there's no switch for it)
After looking at configure.proto, it seems after Xaw/Xaw3d is checked, there's an additional check for Xaw/Simple.h, but configure only emits a warning about using at least Xaw7 when the compile test fails. What Xaw version are you using?
After the first configure message, I installed xaw3d-dev, then tried to compile, only to then get the message from above.
New Install on a new ubuntu 16.04 64bit system.
Odd, when I install xaw3dg-dev, configure completes, but with a warning:
Then, when running make this message appears:
Make completes and I can run x64. But then a lot of these warnings appear in the log:
And hovering my mouse over any submenu header in the Xaw3d UI inverts it in color and then leaves it completely black.
So for now I would avoid the Xaw3d UI until someone figures out what is wrong.
The "JoystickP.h" error message suggests that the xaw-dev package wasn't installed.
But configure will catch that (missing libxaw7-dev). So the Makefile's shouldn't be generated which will allow make to run. Something fishy is going on here ;)
I see configure code that tests for either Xaw or Xaw3d. I don't see code that tests for the presense of both of them (the joystick widget source file uses the 2D headers even when we ask for 3D menues and buttons).
Last edit: Greg King 2017-01-13
Fixed in rev 32680, please retry.
Sorry for the late reply. It could well be that Xaw3d was installed but Xaw wasn't, as I was "retreating" from SDL to Xaw3d to Xaw and had to install Xaw only after Xaw configure failed, but not with Xaw3d.
So Greg should be right with it.
Oddly enough, on Debian xaw3d does not depend on libXaw, so installing xaw3d won't install libXaw. However, since VICE seems to use both, configure needs to be altered I think, to also check for libXaw if --enable-xaw3d is specified.
Since all ports wihout maintainers will use SDL in the future and an experimental portable Gtk3 UI is being worked on, I'll mark this as won't fix.