Re: [gec] C compilation error
Eric Bezault <ericb-D6Qt/9opevxWk0Htik3J/[email protected]> Tue, 11 Aug 2009 18:48:52 +0200
| Newsgroups | gmane.comp.lang.eiffel.gobo.general |
|---|---|
| Message-ID | <[email protected]> |
olivier.ligot wrote: > Whenever I try to compile a project (for example $GOBO/example/argument) using gec (the command line I use is geant compile_ge), I've got the following error: > > ap_example1.c > c:\eiffel63\library\forum\gobo\example\argument\ap_example.h(27) : fatal error C > 1083: Cannot open include file: 'windows.h': No such file or directory > LINK : fatal error LNK1181: cannot open input file 'ap_example1.obj' > > My configuration is: > * Windows XP Professional > * Gobo 3.9 > * Microsoft Visual Studio 2008 > > and the environment variables for Gobo are: > * GOBO_CC="msc" > * GOBO_EIFFEL="ise" > * GOBO_OS="windows" > > Everything works fine when I use geant compile_ise > What is the problem? It may be that your %INCLUDE% environment variable is not set correctly. One thing that I usually do is to call: call "C:\Program Files\Microsoft Visual Studio 9.0\VC\bin\VCVARS32.BAT" x86 I guess you have a similar .bat file in your installation of Microsoft Visual Studio 2008. -- Eric Bezault mailto:ericb-D6Qt/9opevxWk0Htik3J/[email protected] http://www.gobosoft.com ------------------------------------ To Post a message, send it to: [email protected] To Unsubscribe, send a blank message to: [email protected]! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/gobo-eiffel/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/gobo-eiffel/join (Yahoo! ID required) <*> To change settings via email: mailto:[email protected] mailto:[email protected] <*> To unsubscribe from this group, send an email to: [email protected] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/