On Tue, 14 Jun 2011 04:02:14 -0700, PRITI wrote in message 
<BANLkTimT4wOWrQr3TBMAzkqfphc=a5u...@mail.gmail.com>:

> Actually the first guess that you made, it wasn't really a typo.

..ok, here I learned something new.

> unistd.h is a header file which contains unix specific definitions,
> hence was giving an error when i was compiling it with visual c. The
> alternate for it on windows can be io.h and when i replaced unistd
> with io.h it seemed to do the trick.

.."seemed to", is _never_ good enough. ;o)

> I was able to compile simgear with that but now with flightgear i'm
> getting this error message. And i am using the flightgear code
> fetched from git, just that i have named my folder as
> flightgear-2.0.0.

..yes, but which FG git branch do you fetch?
Or, show us your git command lines.

> On Mon, Jun 13, 2011 at 3:31 PM, Arnt Karlsen <a...@c2i.net> wrote:
> 
> > On Mon, 13 Jun 2011 04:17:05 -0700, PRITI wrote in message
> > <banlktikar9zjvfs8rus4wfx0hu2mtwy...@mail.gmail.com>:
> > > I have compiled simgear and removed that error by changing zconf.h
> > > file and including io.h instead of unistd.h.
> >
> > ..why?  Is there no unixstd.h in your code tree?
> > If you make a bad fix, you merely create a new bug in
> > your local simgear tree that will lead you merrily
> > down the wrong way, without fixing the original bug.
> > Sometimes though, this wrong way helps find _other_
> > old bugs. ;o)
> >
> > ..also, FG-2.0.0 is _old_, you should go either compile
> > FG-git, or fetch and use precompiled FG-2.0.0 binaries.
> >
> > > Now while compiling flightgear, i'm getting this error:
> > > 1>------ Build started: Project: fgjs, Configuration: Release
> > > 1>Win32 ------ Compiling...
> > > 1>jssuper.cxx
> > > 1>jsinput.cxx
> > > 1>fgjs.cxx
> > > 1>Generating Code...
> > > 1>Linking...
> > > 1>LINK : fatal error LNK1181: cannot open input file
> > > 1>'OpenThreads.lib' Build log was saved at
> > >
> > "file://c:\FlightGear-2.0.0\flightgear\projects\VC90\fgjs\Win32\Release\BuildLog.htm"
> > > 1>fgjs - 1 error(s), 0 warning(s)
> > > ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped
> > > ==========
> > >
> > > I downloaded OpenSceneGraph from svn and built it using cmake, but
> > > i'm still getting this error. How do i remove it?
> >
> > ..anyone who knows Microsoft and can help?
> > I'm a GNU/Linux guy and _clueless_ on both
> > Wintendo and Wintendo tools, despite my first
> > lucky(???) WAG.
> >
> > > On Fri, Jun 10, 2011 at 4:44 AM, Arnt Karlsen <a...@c2i.net>
> > > wrote:
> > >
> > > > On Thu, 9 Jun 2011 22:13:18 -0700, PRITI wrote in message
> > > > <banlktins9g19wnvhliozwzbe7sft+lh...@mail.gmail.com>:
> > > >
> > > > > I'm getting a new error message now:  error C1083: Cannot open
> > > > > include file: 'unistd.h': No such file or directory
> > > > >
> > > > > This is the url for buildlog.htm:
> > > > >
> > > >
> > https://docs.google.com/viewer?a=v&pid=explorer&chrome=true&srcid=0B6BzLzfLMaw_NDVkYzk4MTYtOGQwNS00ODc0LTk0N2QtNWZiOTcwMDQyNjY1&hl=en_US
> > > >
> > > > ..this is a pdf file.  I asked for the original log file, you
> > > > lead me to the understanding that it would be an html file on
> > > > Microsoft Windows, on GNU/Linux boxes we get raw text files.
> > > > Conversions between file formats should be avoided, because they
> > > > obscure the things we're looking for here.
> > > >
> > > > > Please help me out here.
> > > >
> > > > ..a _WAG_ is you have a missing x typo on your pdf page 16, in
> > > > your c:\flightgear-2.0.0\3rdparty\include\zconf.h's line 298,
> > > > now looking for 'unistd.h rather than 'unixstd.h', the latter
> > > > would make a little more sense to me.
> > > >
> > > > >
> > > > > On Thu, Jun 9, 2011 at 3:42 AM, Arnt Karlsen <a...@c2i.net>
> > > > > wrote:
> > > > >
> > > > > > On Thu, 9 Jun 2011 02:33:03 -0700, PRITI wrote in message
> > > > > > <banlktikawmargsibq_aehmexajdfrm2...@mail.gmail.com>:
> > > > > >
> > > > > > > I have compiled simgear but while compiling flightgear i
> > > > > > > am getting an error message:
> > > > > > >
> > > > > > > 1>Linking...
> > > > > > > 1>LINK : fatal error LNK1104: cannot open file 'sg_d.lib'
> > > > > > > 1>Build log was saved at
> > > > > > >
> > > > > >
> > > >
> > "file://c:\FlightGear-2.0.0\flightgear\projects\VC90\fgjs\Win32\Debug\BuildLog.htm"
> > > > > >
> > > > > > ..put your "BuildLog.htm" on a web server and post the url
> > > > > > here.
> > > > > >
> > > > > > > 1>fgjs - 1 error(s), 0 warning(s)
> > > > > > > ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0
> > > > > > > skipped ==========
> > > > > > >
> > > > > > > I checked and found that the file sg_d.lib is present in
> > > > > > > the plib folder. How do i solve?
> > > > > >
> > > > > > ..once we see your "BuildLog.htm" on the web, somebody
> > > > > > who knows his way around Win32 can tell you.
> > > > > >
> > > > > > ..I last used Microsoft Windows Internet Explorer to go
> > > > > > to http://goodbye-microsoft.com/ to install Debian Linux
> > > > > > on my 2-hand laptop, 2 years ago. ;o)
> >
> > --
> > ..med vennlig hilsen = with Kind Regards from Arnt Karlsen
> > ...with a number of polar bear hunters in his ancestry...
> >  Scenarios always come in sets of three:
> >  best case, worst case, and just in case.
> >
> >
> > ------------------------------------------------------------------------------
> > EditLive Enterprise is the world's most technically advanced content
> > authoring tool. Experience the power of Track Changes, Inline Image
> > Editing and ensure content is compliant with Accessibility Checking.
> > http://p.sf.net/sfu/ephox-dev2dev
> > _______________________________________________
> > Flightgear-users mailing list
> > Flightgear-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/flightgear-users
> >


-- 
..med vennlig hilsen = with Kind Regards from Arnt Karlsen
...with a number of polar bear hunters in his ancestry...
  Scenarios always come in sets of three: 
  best case, worst case, and just in case.

------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Flightgear-users mailing list
Flightgear-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-users

Reply via email to