Re: Help with errors while compiling

2009-12-08 Thread Afflictedd2
No you're correct I am using Slickedit, as my IDE, but the documentation provided doesn't really cover anything with how to set an cygwin environment in it. It really isn't a problem of the IDE being bad, it's just confusing how to set the environment right for cygwin, after all I am trying to run

Re: Help with errors while compiling

2009-12-07 Thread Reid Thompson
Afflictedd2 wrote: what... ? what are you implying.. that doesn't help ! jreidthompson wrote: Afflictedd2 wrote: Thank you Dave! I hadn't thought of doing it directly in the cygwin console, because I had tried it on my regular console which also has the cygwin path in it, but it also has the m

Re: Help with errors while compiling

2009-12-07 Thread Afflictedd2
what... ? what are you implying.. that doesn't help ! jreidthompson wrote: > > Afflictedd2 wrote: >> Thank you Dave! I hadn't thought of doing it directly in the cygwin >> console, >> because I had tried it on my regular console which also has the cygwin >> path >> in it, but it also has the min

Re: Help with errors while compiling

2009-12-07 Thread Reid Thompson
Afflictedd2 wrote: Thank you Dave! I hadn't thought of doing it directly in the cygwin console, because I had tried it on my regular console which also has the cygwin path in it, but it also has the mingw32 path.. which I think that's the root of all evil :\ Hey, no fair, you never mentioned a

Re: Help with errors while compiling

2009-12-07 Thread Afflictedd2
Thank you Dave! I hadn't thought of doing it directly in the cygwin console, because I had tried it on my regular console which also has the cygwin path in it, but it also has the mingw32 path.. which I think that's the root of all evil :\ > Hey, no fair, you never mentioned all that before! So

Re: Help with errors while compiling

2009-12-07 Thread Dave Korn
Reid Thompson wrote: > perhaps an -lpthread No. You're getting mixed up between header files and library files. cheers, DaveK -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html

Re: Help with errors while compiling

2009-12-07 Thread Dave Korn
Afflictedd2 wrote: > Well, > > Now that you say that. I will simplify my makefile, but then it doesn't know > what pthread_create is.. or anything related to pthread. > C:\Users\Viper\Documents\Cpp\Pthreads>"C:\Program Files\SlickEdit > 2009\win\vsbuild" -signal 9009 -command make -f "Makefile" C

Re: Help with errors while compiling

2009-12-07 Thread Reid Thompson
On Mon, 2009-12-07 at 12:12 -0800, Afflictedd2 wrote: > Hi everyone, > > I'm trying to build a simple program using pthreads, but I get the > following > errors, why? > > Any help appreciated. > J > > make -f Makefile CFG=Debug > g++ -c -g -o "Debug/Pthreads.o" -I/Cygwin/usr/include Pthreads

Re: Help with errors while compiling

2009-12-07 Thread Afflictedd2
Well, Now that you say that. I will simplify my makefile, but then it doesn't know what pthread_create is.. or anything related to pthread. C:\Users\Viper\Documents\Cpp\Pthreads>"C:\Program Files\SlickEdit 2009\win\vsbuild" -signal 9009 -command make -f "Makefile" CFG=Debug VSLICKERRORPATH="C:\U

Re: Help with errors while compiling

2009-12-07 Thread Dave Korn
Afflictedd2 wrote: > I'm trying to build a simple program using pthreads, but I get the following > errors, why? > g++ -c -g -o "Debug/Pthreads.o" -I/Cygwin/usr/include Pthreads.cpp ^^ Don't do that, for a start. The compiler knows abo