Re: error LNK1104

Arnt Karlsen <[email protected]>
Newsgroups gmane.games.flightgear.general
Organization ..ing.Arnt.Karlsen
Message-ID <[email protected]>
On Mon, 13 Jun 2011 04:17:05 -0700, PRITI wrote in message 
<[email protected]>:

> 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 Win32
> 1>------ Compiling...
> 1>jssuper.cxx
> 1>jsinput.cxx
> 1>fgjs.cxx
> 1>Generating Code...
> 1>Linking...
> 1>LINK : fatal error LNK1181: cannot open input file 'OpenThreads.lib'
> 1>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 <[email protected]> wrote:
> 
> > On Thu, 9 Jun 2011 22:13:18 -0700, PRITI wrote in message
> > <[email protected]>:
> >
> > > 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 <[email protected]> wrote:
> > >
> > > > On Thu, 9 Jun 2011 02:33:03 -0700, PRITI wrote in message
> > > > <[email protected]>:
> > > >
> > > > > 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.