From: SourceForge.net <no...@so...> - 2008-07-17 02:20:45
|
Bugs item #1686087, was opened at 2007-03-22 15:02 Message generated for change (Comment added) made by sf-robot You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=1686087&group_id=2435 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: Vista Issue >Status: Closed Resolution: None Priority: 5 Private: No Submitted By: Jordan (hckr83) Assigned to: Nobody/Anonymous (nobody) Summary: no include search path Initial Comment: I have been trying everythign to get this thing to work, and now I'm stumped.. When I try compiling a simple file like #include <stdio.h> ... printf("hello"); ... it will freak out and say no include search path in which to search for stdio.h why the crap is this!? I thought it was installed properly! if all else, then how can I manually add an include search path(also provide me something for lib search path) ---------------------------------------------------------------------- >Comment By: SourceForge Robot (sf-robot) Date: 2008-07-17 02:20 Message: Logged In: YES user_id=1312539 Originator: NO This Tracker item was closed automatically by the system. It was previously set to a Pending status, and the original submitter did not respond within 30 days (the time period specified by the administrator of this Tracker). ---------------------------------------------------------------------- Comment By: Danny Smith (dannysmith) Date: 2008-06-16 09:27 Message: Logged In: YES user_id=11494 Originator: NO If you are on Vista, you might try getting the current gcc-3.4.5 release for mingw. Otherwise, you must provide more information on how to reproduce your results. ---------------------------------------------------------------------- Comment By: Ken Jackson (kenjackson) Date: 2007-07-06 02:31 Message: Logged In: YES user_id=512584 Originator: NO marc_andrysco, It looks like you are building MinGW executables with the Cygwin GCC compiler. You can do that, but are you using this switch? -mno-cygwin It tells Cygwin GCC to use the MinGW files. ---------------------------------------------------------------------- Comment By: Jordan (hckr83) Date: 2007-07-06 02:10 Message: Logged In: YES user_id=1183483 Originator: YES I got around it by putting all my projects onto C:, and putting "C:\mingw\libexec\gcc\mingw32\3.4.5;" into path, nothing to modify in makefiles.. ---------------------------------------------------------------------- Comment By: Marc Andrysco (marc_andrysco) Date: 2007-07-06 02:01 Message: Logged In: YES user_id=1570146 Originator: NO I ran into the same problem. Took me two days, but I managed to find a way to get things to compile. I had to explicitly include all the paths for libraries, includes, and binaries. I have cygwin installed to C:\cygwin and MinGW installed to C:\cygwin\mingw. I had call 'export PATH=$PATH:/mingw/bin:/mingw/libexec/gcc/mingw32/3.4.2' in order to get the libraries to work correctly. As for the includes, I added '-I/cygwin/mingw/include -I/cygwin/mingw/lib/gcc/mingw32/3.4.2/include' when compiling my source files. To resolve the paths for the libraries, I added '-L/cygwin/mingw/lib -L/cygwin/mingw/lib/gcc/mingw32/3.4.2 -I/cygwin/mingw/lib/gcc/mingw32/3.4.2'. Lastly, the files '/mingw/lib/crt2.o', '/mingw/lib/gcc/mingw32/3.4.2/crtbegin.o', and '/mingw/lib/gcc/mingw32/3.4.2/crtend.o' needed to be copied to the local directory. I will be adding a new Makefile to my projects in order to cover these changes. From what it looks like, MinGW on Windows can't figure out where anything is on its own. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=1686087&group_id=2435 |