Re: Recent X11 upgrade and getting _gl?? Undefined references compiling another package

2008-12-05 Thread Brian Keener
André Bleau wrote:
 libglut32.a and I was planning to remove glut32.lib in the next update. Could
 you please test linking with the attaches libglut32.a ? It is the one that 
 would be part of the upcoming opengl-1.1.0-10 .

OSG completes its build now with the new libglut32.a.  It builds an example 
program osgviewerGLUT.exe which opens a window and diplays an image.  When I 
click the close box on that window I get a segmentation fault when the app 
closes.  The app will also close when you simply press the escape key.  This 
leaves the process running in the background as if I had used the hack  
-DGLUT_DISABLE_ATEXIT_HACK.

When I used the escape I had to kill the process manually.  Not sure if this is 
a glut issue or an issue with their example window but thought I would let you 
know.

bk




--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: Recent X11 upgrade and getting _gl?? Undefined references compiling another package

2008-12-05 Thread Brian Keener
André Bleau wrote:
 I took a look at osgviewerGLUT. Did that ever worked well with some
 previous version of the opengl package? I see a few strange things:

Honestly - I don't know.  I had tried your helloGLUT example to test and since 
OSG had been trying to build osgviewerGLUT and couldn't I tried it as a test 
as well.  I will pass your findings on to them.

 Closing the window with the (X) icon should result in simply calling
 exit(0) and destroying the 
 window. As to why it segfaults, you would have to degug it, as I don't have
 OpenSceneGraph installed.

See if I can take a look and see how far I get.  Let the OSG group know as 
well.

Thanks André for everything

bk




--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: Recent X11 upgrade and getting _gl?? Undefined references compiling another package

2008-12-04 Thread Brian Keener
André Bleau wrote:
 You will need to change OPENGL_INCLUDE_DIR to /usr/include/opengl .
 See: http://cygwin.com/ml/cygwin/2008-12/msg00089.html
  
 - André Bleau, Cygwin's volunteer OpenGL package maintainer.

The above worked great but in the announcement for this version you 
mention:

 you can compile as usual.
 
 Usr/lib/glut32.lib is now provided. It should used instead of 
 libglut32.a.

I don't seem to see a glut32.lib in my /usr/lib directory?  Is this the 
correct name as I did a find for *glut* and still didn't locate it - 
just the ones you would expect to find.

Thanks

bk




--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: Recent X11 upgrade and getting _gl?? Undefined references compiling another package

2008-12-03 Thread Brian Keener
Jon TURNEY wrote:
   OPENGL_INCLUDE_DIR   /usr/include
   OPENGL_gl_LIBRARY/usr/lib/w32api/libopengl32.a
   OPENGL_glu_LIBRARY   /usr/lib/w32api/libglu32.a
 
 I suspect you might have the problem discussed here:
 http://cygwin.com/ml/cygwin-apps/2008-11/msg00036.html

That was it.  thanks

bk




--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Recent X11 upgrade and getting _gl?? Undefined references compiling another package

2008-12-02 Thread Brian Keener
I periodically do test compile for OpenSceneGraph in Cygwin and up 
until I recently accidentally updated to the latest X11 stuff the 
compiles had been working fine.  With the recent change I now getting a 
lot of undefined references for various _gl?? References.  I posted 
this to the OpenSceneGraph list and they suggested I also post here.  

The package uses ccmake/cmake and from the settings in ccmake when I 
review them it seems to be properly finding OpenGl according to cmake 
as:

 OPENGL_INCLUDE_DIR   /usr/include
 OPENGL_gl_LIBRARY/usr/lib/w32api/libopengl32.a
 OPENGL_glu_LIBRARY   /usr/lib/w32api/libglu32.a 

the following is the errors and I have include the output from cygcheck 
-a -r -v.  Is this related to the upgrade or something else - any and 
all suggestion or answers greatly appreciated.

Bk

CMakeFiles/osg.dir/TextureRectangle.o:TextureRectangle.cpp:(.text+0x1f3
8): undef
ined reference to `_glTexImage2D'
CMakeFiles/osg.dir/TextureRectangle.o:TextureRectangle.cpp:(.text+0x1f8
7): undef
ined reference to `_glPixelStorei'
CMakeFiles/osg.dir/TextureRectangle.o:TextureRectangle.cpp:(.text+0x209
a): undef
ined reference to `_glPixelStorei'
CMakeFiles/osg.dir/TextureRectangle.o:TextureRectangle.cpp:(.text+0x224
1): undef
ined reference to `_glTexSubImage2D'
CMakeFiles/osg.dir/TextureRectangle.o:TextureRectangle.cpp:(.text+0x241
4): undef
ined reference to `_glCopyTexImage2D'
CMakeFiles/osg.dir/TextureRectangle.o:TextureRectangle.cpp:(.text+0x254
b): undef
ined reference to `_glCopyTexSubImage2D'
CMakeFiles/osg.dir/VertexProgram.o:VertexProgram.cpp:(.text+0x14ba): 
undefined r
eference to `_glGetError'
CMakeFiles/osg.dir/VertexProgram.o:VertexProgram.cpp:(.text+0x154e): 
undefined r
eference to `_glGetIntegerv'
CMakeFiles/osg.dir/VertexProgram.o:VertexProgram.cpp:(.text+0x1564): 
undefined r
eference to `_glGetString'
CMakeFiles/osg.dir/VertexProgram.o:VertexProgram.cpp:(.text+0x1966): 
undefined r
eference to `_glMatrixMode'
CMakeFiles/osg.dir/VertexProgram.o:VertexProgram.cpp:(.text+0x19a7): 
undefined r
eference to `_glMatrixMode'
CMakeFiles/osg.dir/Viewport.o:Viewport.cpp:(.text+0x191): undefined 
reference to
 `_glViewport'
Creating library file: ../../lib/libosg.dll.a
collect2: ld returned 1 exit status
make[2]: *** [bin/cygosg-2.7.6.dll] Error 1
make[1]: *** [src/osg/CMakeFiles/osg.dir/all] Error 2
make: *** [all] Error 2

[EMAIL PROTECTED] /usr/develop/obj/osg
$

cygcheck -s -r -v output:

Cygwin Configuration Diagnostics
Current System Time: Tue Dec 02 12:52:59 2008

Windows XP Professional Ver 5.1 Build 2600 Service Pack 2

Path:   C:\cygwin\usr\local\share\OpenSceneGraph\bin
C:\cygwin\usr\local\bin
C:\cygwin\usr\local\lib
C:\cygwin\usr\local\bin
C:\cygwin\usr\local\bin
C:\cygwin\bin
C:\cygwin\bin
C:\cygwin\usr\local\bin
C:\cygwin\bin
C:\cygwin\bin
C:\Program Files\Business Objects XI\common\3.5\bin\NOTES\
C:\Program Files\Business Objects XI\common\3.5\bin\NOTES\DATA\
C:\program files\sdb\programs\bin
C:\program files\sdb\programs\pgm
C:\WINDOWS\system32
C:\WINDOWS
C:\WINDOWS\System32\Wbem
C:\Program Files\SQLLIB\BIN
C:\Program Files\SQLLIB\FUNCTION
C:\Program Files\SQLLIB\HELP
C:\Program Files\Sybase\SQL Anywhere 8\win32
C:\Program Files\Sybase\Shared\win32
C:\Program Files\Sybase\Shared\Sybase Central 4.1
C:\Program Files\Symantec\pcAnywhere\
C:\PROGRA~1\IBM\CLIENT~1
C:\PROGRA~1\IBM\CLIENT~1\Shared
C:\PROGRA~1\IBM\CLIENT~1\Emulator
.\

Output from C:\cygwin\bin\id.exe (nontsec)
UID: 11003(BrianK)GID: 10513(Domain Users)
544(Administrators)   547(Power Users)  555(Remote Desktop 
Users)
545(Users)1004(Debugger Users)  10512(Domain 
Admins)
11059(Domain Super Users) 10513(Domain Users)   11815(Information 
Tech)

Output from C:\cygwin\bin\id.exe (ntsec)
UID: 11003(BrianK)GID: 10513(Domain Users)
544(Administrators)   547(Power Users)  555(Remote Desktop 
Users)
545(Users)1004(Debugger Users)  10512(Domain 
Admins)
11059(Domain Super Users) 10513(Domain Users)   11815(Information 
Tech)

SysDir: C:\WINDOWS\system32
WinDir: C:\WINDOWS

USER = 'BrianK'
LD_LIBRARY_PATH = '/usr/local/lib:/usr/local/bin:/usr/bin:/bin:'
PWD = '/home/BrianK'
CYGWIN = 'binmode ntsec nostrip_title title'
HOME = '/home/BrianK'
MAKE_MODE = 'unix'

HOMEPATH = '\BrianK'
OSG_LIBRARY_PATH = '/usr/local/bin'
MANPATH = '/usr/local/man:/usr/share/man:/usr/man::/usr/ssl/man'
DB2INSTANCE = 'DB2'
APPDATA = 'C:\Documents and Settings\BrianK\Application Data'
POPFILE_ROOT = 'c:\netime\popfile'
HOSTNAME = 'atl-lt-5783'
SHELL = '/bin/bash'
TERM = 'cygwin'
VWS_LOGGING = 'C:\Program Files\SQLLIB\LOGGING'
PROCESSOR_IDENTIFIER = 'x86 Family 6 Model 13 Stepping 8, GenuineIntel'
WINDIR = 'C:\WINDOWS'
VSCOMNTOOLS = 'C:\Program Files\Microsoft Visual Studio 
.NET\Common7\Tools\'
VS80COMNTOOLS = 

Re: Using X via ssh from one windows machine to another

2006-11-09 Thread Brian Keener
hmm no hints - keep googling I guess.  I'm sure it must be a security/config 
issue - xhost or xauth issue somewhere - just haven't found the magic key yet 
since it works from Windows to my two linux machines.

Maybe wrong group - maybe should have been cygwin-apps for ssh even though I 
thought it was an X issue and belonged here? hmmm

thanks

bk




--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: Using X via ssh from one windows machine to another

2006-11-09 Thread Brian Keener
Christopher Faylor wrote:
 Sending this kind of question to cygwin-apps would be a sure-fire way to 
 get you unsubscribed from cygwin-apps.  It is not appropriate for that 
 list.

As you already knew - you are correct - upon rereading I see my error.  I was 
thinking simply in terms of apps - my apologies for the confusion.   I should 
make a note to myself to reread the list descriptions periodically or at least 
before I suggest a post so I remain clear headed.  

bk




--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Using X via ssh from one windows machine to another

2006-11-08 Thread Brian Keener
I'm stumped - I have tried googling cygwin.com for references to this problem 
and I am sure it has been discussed there before but I haven't hit on the 
correct keywords yet.  

I have Cygwin and X installed and from a bash prompt I can:

[EMAIL PROTECTED] ~
$ X -clipboard
[1] 3632
snip all the startup stuff
[EMAIL PROTECTED] ~
$ DISPLAY=:0.0;export DISPLAY

[EMAIL PROTECTED] ~
$ twm
[2] 2484

[EMAIL PROTECTED] ~
$ winProcEstablishConnection - Hello
winInitClipboard ()
winClipboardProc - Hello
winProcEstablishConnection - winInitClipboard returned.
DetectUnicodeSupport - Windows NT/2000/XP
winClipboardProc - DISPLAY=127.0.0.1:0.0
winClipboardProc - XOpenDisplay () returned and successfully opened the 
display.

winProcSetSelectionOwner - Clipboard not yet started, aborting.
winProcSetSelectionOwner - Clipboard not yet started, aborting.

I will now have a nice X Desktop and can start additional additional programs 
and connections like:

[EMAIL PROTECTED] ~
$ xterm -bg blue -fg white 

I will get an xterm on my Xdesktop for this computer.  I can also use ssh to 
connect to a VMware linux machine on this same machine or others as in :

[EMAIL PROTECTED] ~
$ ssh -X -f -l briank atl-lt-5783-lnx xterm -fg grey -bg midnightblue -cr red
or
$ ssh -X -f -l briank softsrc-vm-lnx xterm -fg grey -bg midnightblue -cr red

I will get xterm sessions on my Xdesktop connected to either of these 2 linux 
machines but if I try to connect to my current workstation or another windows 
machine (either of which is running sshd as a service) the connection will 
fail:

$ ssh -X -f -l briank atl-lt-5783 xterm -fg grey -bg midnightblue -cr red
or
$ ssh -X -f -l briank softsrc-vm xterm -fg grey -bg midnightblue -cr red

ssh will actually ask for the password but then return to a command prompt.  If 
I instead do a :

$ ssh -X -l BrianK atl-lt-5783
or
$ ssh -X -l BrianK softsrc-vm

You have to remove the -f option since I am not specifying a program to run 
name and I will get a bash session on these two machines but if I then try to 
run xterm I will get an unable to open display error:

[EMAIL PROTECTED] ~
$ ssh -X -l BrianK atl-lt-5783
Enter passphrase for key '/home/BrianK/.ssh/id_rsa': 
Last login: Wed Nov  8 12:23:56 2006 from atl-lt-5783.fultonpaper.com
Fanfare!!!
You are successfully logged in to this server!!!

[EMAIL PROTECTED] ~
$ echo $DISPLAY


[EMAIL PROTECTED] ~
$ xterm
xterm Xt error: Can't open display: 
xterm:  DISPLAY is not set

[EMAIL PROTECTED] ~
$ 

granted in this case I am connecting to the same machine but even when I try 
this same scenario against the softsrc-vm machine I get the same result.  
Shouldn't the DISPLAY have been set by ssh.  I did notice my CYGWIN= is env is 
set to 'ntsec' only and I seem to recall something about it should be set for 
'ntsec tty'. 

Can someone point me to what I am missing here.  Like I say the Windows to 
Linux works great - just having trouble with the to Windows (either Windows to 
Windows or Linux to Windows) because I also tried from Linux to one of these 
Windows systems and cannot connect there either.

As a side note out of curiosity - why do I sometimes get these lines during twm 
startup:

winProcSetSelectionOwner - Clipboard not yet started, aborting.
winProcSetSelectionOwner - Clipboard not yet started, aborting.

But then sometimes I do not get the above but instead one indicating success.

Thanks for any and all insights and suggestions.

bk




--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: starting X on an alternate monitor

2005-10-19 Thread Brian Keener

Eric Gumtow wrote:


I'm trying to start X with the root on monitor #2.  This is my
command line:

X -fullscreen -ac -emulate3buttons -clipboard -multiplemonitors
-screen 0 @2 

What happens is X starts on monitor #1.

I've read through the FAQ and X's help page.  Based on what I've
found from those sources it ought to work.

I'm on XP.  XP has no problems with monitor #2.

Here's my uname -a:

CYGWIN_NT-5.1 EGUMTOW-LXP 1.5.18(0.132/4/2) 2005-07-02 20:30 i686
unknown unknown Cygwin

What am I missing?  Thanks.

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/
 


Have you tried it with @1 instead of @2?

Brian K

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: starting X on an alternate monitor

2005-10-19 Thread Brian Keener

Eric Gumtow wrote:


Have you tried it with @1 instead of @2?
   



Yes.  The same behavior.  X starts on monitor #1.
 



At one point in the past I had worked out a method to do basically what 
the @x command does.  This was before I realized it had a built-in 
method of doing exactly what I was trying to do.


What I did was specify a root window size, offset, and pass the 
-nodecoration parameter to the X server.  The exact commands escape me 
and I currently am running Mandrake rather than Windows, but perhaps 
later this morning I'll take a look at my work machine.


I do recall it involved the -screen parameter and specifying an offset...

Brian K

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: Mouse scroll wheel acts as left arrow/right arrow.

2005-09-02 Thread Brian Keener



On Thursday, September 01 at 01:35, Brian Keener wrote:
 

I have a microsoft mouse with a scroll wheel that scrolls both up and 
down, and left/right.  The up/down scrolling action seems to act as 
left/right arrows.


In firefox, using the scroll wheel goes back/forwards a page, for an 
example.


Any idea what to do to fix this?

Brian K
   



If this behaviour is consistent across all X applications, you could
try using xmodmap:

First, use xev to identify which button numbers are associated with the
up, down, left  right movements.  Let's say these are 4, 5, 6  7
respectively.  If you want the up button swapping with left, and
down swapping with right, you would enter:

xmodmap -e pointer = 1 2 3 6 7 4 5

you can use xmodmap -pp to verify the change.  You should see
something like this:

$ xmodmap -pp
There are 7 pointer buttons defined.

   PhysicalButton
Button  Code
   1  1
   2  2
   3  3
   4  6
   5  7
   6  4
   7  5

I can't guarantee that this will work with XWin, but this technique
works for xorg on Linux, so it's likely to be OK.

HTH

Phil
 


Worked like a charm, Phil.

Thanks.

Brian K

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Mouse scroll wheel acts as left arrow/right arrow.

2005-08-31 Thread Brian Keener
I have a microsoft mouse with a scroll wheel that scrolls both up and 
down, and left/right.  The up/down scrolling action seems to act as 
left/right arrows.


In firefox, using the scroll wheel goes back/forwards a page, for an 
example.


Any idea what to do to fix this?

Brian K

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: redirecting sound

2005-05-29 Thread Brian Keener

Alexander Gottwald wrote:


On Sat, 28 May 2005, Christopher Mark Conn wrote:

 


I'm using Cygwin/X on my Win2K laptop to connect to
my FreeBSD box and I'd like to redirect the sound
from Rhythmbox (or other music players on the FreeBSD
box) to the laptop.

Here is how I connect from the Win2K laptop:

  startx - brings up an xterm
  ssh bsd box on the xterm
  run bsd commands on the xterm

I can do this easily but the music now comes out of
the speakers on the FreeBSD box. Since it's a wireless
connection I'm not always where the speakers are.

Thanks for any advice,
   



ESound (or ESD) is designed for this purpose. I think it is available 
as cygwin package. Check the documentation of that package on how to

setup the sound forwarding.

bye
ago
 

I have installed it and used it, it's not very complicated at all.  If 
you have any trouble getting it to work I'd be more than happy to give 
you a hand.


For some reason, it causes XMMS to lockup when I try to use ESD, but 
everything else seemed to work OK.


Varka


Re: X-SBClass: Blocked ( Re: xmodmap restarts X-server without applying changes)

2004-12-29 Thread Brian Keener
On Wed, 2004-12-29 at 11:53 +0100, Alexander Gottwald wrote: 
 On Wed, 29 Dec 2004, Brian Keener wrote:
 
  I'm trying to run
  
  xmodmap -e keysym Home = 
  
  And it's restarting my X-server without applying the changes to the
  keymappings.
  
  Oddly enough, if I start the X server as -multiwindow it applies the
  change without rebooting, and resolves (partially) my previous report of
  extraneous home keypresses.  However, running X as -rootless or
  without any command line options at all results in the behaviour
  reported above...
 
 Get in touch with X. The xserver does restart if the last xclient disconnts.
 xmodmap is a xclient and after finishing it's work it disconnects and the 
 xserver resets (and dumps your changes). In multiwindow mode there is at least
 the windowmanager client running and prevents the reset. 
 
 You can omit this behaviour by adding the -noreset option to XWin. This will 
 prevent the reset
 
 bye
   ago
Interesting to know.  That command line option doesn't show up either in
the FAQ for command line options, or in X --help, but it most
certainly works.

Thanks for the help!

-- 
Brian Keener [EMAIL PROTECTED]



Extraneous HOME keypresses in Cygwin X server.

2004-12-28 Thread Brian Keener
The symptoms are:  When starting an X-application like xedit, or using
XDMCP to connect to my server, the cursor behaves as if the HOME key had
been pressed at random intervals.

This has been a constant problem for as long as I have been using Cygwin
on this PC, which is several months.  So far in this e-mail, it's
happened three times.

I've managed to use 'xev' and have a capture of the output, where I can
plainly see the home key being processed (keycode 97, keysym 0xff50)
when the home key was never actually struck on the keyboard.

I've manually pressed each and every key on my keyboard, using xev, and
verified that none are being mistakenly recognized as a home key.  It
also happens during repeated entry of the same key:  If I hit the letter
e enough times, like eee, eventually it'll act as if the home key
has been pressed.

This is quite annoying.  Please let me know what information might be of
use, my keyboard is a Microsoft Wireless Multimedia Keyboard 1.0A.
According to cygwin setup.exe, I'm using xorg X server version
6.8.1.0-8, although the problem also existed under many previous
version, including the xfree versions.

This does NOT affect Cygwin console applications.

Under Mandrake, this computer reports unknown keycode e059
occasionally in /var/log/messages, I can retrieve the full information
from that file if necessary.  It doesn't exhibit the home key
problems, though.

Thanks for any assistance.  The grand total home keypresses during the
creation of this document is 15, without my ever having touched the
home key...
-- 
Brian Keener [EMAIL PROTECTED]



xmodmap restarts X-server without applying changes

2004-12-28 Thread Brian Keener
I'm trying to run

xmodmap -e keysym Home = 

And it's restarting my X-server without applying the changes to the
keymappings.

Oddly enough, if I start the X server as -multiwindow it applies the
change without rebooting, and resolves (partially) my previous report of
extraneous home keypresses.  However, running X as -rootless or
without any command line options at all results in the behaviour
reported above...

-- 
Brian Keener [EMAIL PROTECTED]



Re: Full install on XP hangs at /etc/X11/abb-defaults/Bitmap

2004-12-20 Thread Brian Keener
Is this not the same hang that has been address here and in the Cygwin List and 
the cygwin-apps list.  If so please see other threads on this same subject in 
the mailing list archives and the cygwin list archives and if it is then the 
fix (for now) as posted many times is break the install into 2 steps:

first install only the base packages 
and then install eveything else.

bk