The collected works of markh

I'm interested, although I'm not sure what has to be done yet.
I got the configure working by setting a few variables.
I set the following ones:
setenv MAKE gmake;
setenv LDFLAGS -L/usr/lib32;
setenv CXXFLAGS -LANG:std;

There are still some warnings, but those will come later.

I'm right now compiling with MipsPro. No errors yet, but still a long way to go. What problems did you encounter when trying to compile with MipsPro ?

I read the faq on the Motif port and there are some unimplemented widgets according to the faq. It mentions the OpenGL widget as well, but that seems to use the X11 version as far as I can see from a quick glance of the source.
Can you confirm that OpenGL works ?
I found out OpenGL does work. It just isn't enabled by default.
If you run configure with the flag --with-opengl, it will compile it.
You can then run the samples cube and penguin. I didn't get isosurf to work. Bombs out with some error. I haven't looked closely yet at why.

There are also two more interesting samples in the contrib directory, but you first have to compile deprecated and ogl in the src directory of contrib to get two extra libraries the samples need.

The layout of the source tree is still a bit confusing, but I will poke a bit more at it.

Some of the widgets look very strange as well. Maybe your patch will help with that.

I also had to change some other things to get it all to work. I had to switch to motif 2.1, otherwise I would get an error about xmcomboboxwidgetclass missing or something like that and I also had to include -LANG:std to LDFLAGS as well.

What settings did you run it with ?

By the way, I got the 2.6.1 release from the website. What release did you try ?
Could you ask what exactly of OpenGL is not supported on Motif ?
I could implement the Motif specific version, I suppose. I did a Viewkit wrapper class using the Motif OpenGL widget, so it can't be that hard (famous last words).

Thanks for clearing up my confusion on the motif version. I think I'll stick with 2.1 for now.
Hi, is this with Motif on Linux ?
I looked into why it fails on Irix and I still get an error.
Looking through the glcanvas code, I see that no gl widget is ever created. wxGLCanvas derives from wxScrolledWindow, which seems odd to me.
This somehow does seem to work when no gl attributes are set, but isosurf does set some attributes and then it fails.
I'll have to run some tests on this.
I decided to do a proper motif implementation of the wxGLCanvas widget and I have made some progress.

What it does now:
- Create a motif gl widget.
- Send expose events, so stuff gets drawn.

What it doesn't do yet:
- Respond to input from the keyboard or mouse.
- Anything else that I haven't found yet. :)

Stuff that still needs to be done:
- I get a crash in the onpaint event of a normal application. I know which function call causes it, but I don't yet know why. Leaving it out makes the application work, but it is noted in the comments above that it is absolutely critical. :)
- Implement the stuff that doesn't yet work.
- Clean up the code.
- Move it to the motif directory (currently overwritten the X11 implementation). This would involve changing the motif makefile somewhere and I have very little idea where to look and what to change.
I worked on it some more and I have it nearly completely working.
Input now also works and the code is fairly clean.
The only problem left is the crashing bug. I found out exactly what is causing it, but I don't understand enough of Xlib programming to understand why the function call that causes the error is there.

I will probably have to ask someone who maintains the motif port about this. Gandalf, where is the best place to ask about this ?

Oh, and I still have to move the code to the motif directory, but I can ask that then as well.
I'm the author of the LegoConstructionKit software. The libdom.so it is looking for is one I wrote and I thought it was included with the rest. There isn't something like a demo version.
Where did you get it from?
I hate to be a bit late to the party, but I would like to try the grid widget on Irix, but I can't get it to compile.
I read the readme, which says that the first step is to run "xmkmf -a", but this gives me the following error:

~/Microline-3.1> xmkmf -a
mv -f Makefile Makefile.bak
imake -DUseInstalled -DBuild64bit=0 -DBuild32bit=1 -DBuildN32=1 -DBuildO32=0 -I/usr/lib/X11/config
make Makefiles
making Makefiles in XmL...
mv Makefile Makefile.bak
make: file `Makefile' line 535: Must be a separator (: or ::) for rules (bu39)
make: file `Makefile' line 535: Syntax error
make includes
including in ./XmL...
make: file `Makefile' line 535: Must be a separator (: or ::) for rules (bu39)
make: file `Makefile' line 535: Syntax error
*** Error code 1 (bu21)

I'm not sure what to do which "Makefile" it is talking about. I looked at the Makefile in the main directory and at line 535 there is a simple echo command.
But does yours contain the grid widget that Microline has? I downloaded the xfewidgets source from the link you mentioned, but didn't see it.
As to your suggestion of using gmake. I would like to, but the first command I need to execute is "xmkmf -a" and that immediately gives the above error.

Thanks for the help so far.