rand() was not declared in this scope, please help#8207;

2010-09-08 Thread eric lin
dear cygwin/gcc users: I compile a simple code which i copied from a book, The Complete Reference of C++ Fourth Edition by Herbert Schildt in page 575, rand() which is clearly not be included in #include iostream I tried #inlcude cmath it still not compile, i.e. same compile error

can or can't startx

2010-01-15 Thread eric lin
I already follow Jerry Lowry's suggestion delete the whold cygwin folder and reloand the cygwin at a newsite http://cygwin.lowprofilelinks.com but it did not have cygwin-x folder and startx still nobt work -- Welcome to the XWin X Server Vendor: The Cygwin/X

try to startx

2010-01-12 Thread eric lin
Dear cygwin x programer: I try the suggestion of mailing list to fix startx problem, - /bin/sh disappeared: this was fixed with ln -s /bin/bash /bin/sh Another problem related to fonts was fixed by mkfontdir --- but it still not work, and I try to reinstall bash at

can not startx

2010-01-05 Thread eric lin
this is my /var/log/XWin.0.log where I think problm cause, fail startx, please help, eric --- 2010-01-05 14:39:20 MIT-SHM extension disabled due to lack of kernel support 2010-01-05 14:39:20 XFree86-Bigfont extension local-client optimization disabled due

need help to startx

2010-01-03 Thread eric lin
Dear cygwin programers: I am pretty novice of cygwin, I did not know what is exact package I need to download for to start X window. so I download by some guessing. the result is a fatal error has occured and cygwin/X will now exit 1.7.3.0(10703000) Build Date: 2009-12-22 X Win

I donwload all X11 packages, it still not can not startx

2010-01-03 Thread eric lin
from bash shell: startx serverauth 5052 giving up xinit:connection refusederrno 111 please help, eric -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: