[impdev] Windows build issues

chris-tuchs at hushmail.com chris-tuchs at hushmail.com
Wed Apr 20 16:46:27 PDT 2011


Current status of my efforts on windows:

I can get clean builds, but can't use the old installer-builder.  
Haven't had time to try using the new installer builder.  I have 
two alpha testers running around in-world using my build, and no 
major issues reported.  So at least we have one way forward.  Make 
zip files.

Future plans:

This weekend, should my day job permit (big demo on Monday, ugh!) 
I'll try the new installer-builder.  I'll read up on submitting 
patches to the mainline Impy.  I am very excited to see the OTR 
feature being welcomed!  Right now my big concern is I can't build 
or test on Mac.

If things go well, then the next weekend to get OTR building and 
running on windows.  The week after than to get a clean patch that 
applies and works with mainline (linux and windows).  Maybe another 
week to cross merge the GUI changes that I know Onefang/David wants 
to make.  (I personally want to add a "till I log out, stop doing 
OTR with this one avy" option in the private IM window OTR 
pulldown.")  So if things go well, about a month before it's on 
'the powers that be in impy-space' for taking it live.

Thanks again for all the help, I'll have another status message for 
y'all next week probably.

Chris

P.S. I've build Emerald countless times under windows, never made a 
distribution though, nor before last week build Imprudence on 
windows.


On Wed, 20 Apr 2011 11:22:43 -0700 Adric R <hakushakukun at gmail.com> 
wrote:
>I just looked and I get the same thing in the official releases, 
>so there's
>probably a library that needs to be updated. The ideal solution 
>would be to
>just rebuild all the libs and target the same version of the CRT 
>(4053 or
>whatever the new version is that was sneak-released a couple of 
>days ago,
>grr). Several of them are fairly old, too.
>
>Did you resolve your issue with getting a build that runs?
>
>msvcr80.dll and
>msvcp80.dll, both have version 8.0.50727.4053.  There is no
>.exe.config file in the directory, or Microsoft.VC80.CRT.manifest
>
>
>The manifest is supposed to go along with the crt dlls. At least, 
>that's the
>intent. Windows voodoo, there.
>
>Anyway.
>
>If you're still getting a runtime error, my suggestions:
>
>- Check the Event Viewer. That'll have more information on what 
>version of
>the CRT it's trying to find but failing at.
>- Use NickyP's Visual Studio 2010 changes he linked above. This 
>might be
>more difficult, but his branch will be merged in for 1.4 anyway.
>- Uninstall then reinstall .NET. Sometimes this'll fix conflicts 
>with the
>WinSxS folder.
>- Google the error message. There could be a fix out there none of 
>us on
>this list have a clue about.
>
>Let us know how it's going. Cheers!
>
>-- MC
>
>On Sun, Apr 17, 2011 at 7:32 PM, <chris-tuchs at hushmail.com> wrote:
>
>> I got the exp branch of the github repository imprudence /
>> imprudence (using git://github.com/imprudence/imprudence.git)
>> Set my path and ran develop.py like
>>
>> python develop.py -G VC80 configure -DPACKAGE:BOOL=OFF
>>
>> As expected it dies soon after creating/editing the .sln file.
>> Then I used the Microsoft Visual C++ 2005 Express Edition to
>> choose "release" and then build > build solution.  Some time
>> later it finished.  I looked inside imprudence-bin.exe and found
>>
>> <assembly xmlns="urn:schemas-microsoft-com:asm.v1"
>> manifestVersion="1.0">
>>  <dependency>
>>    <dependentAssembly>
>>      <assemblyIdentity type="win32" name="Microsoft.VC80.CRT"
>> version="8.0.50727.4053" processorArchitecture="x86"
>> publicKeyToken="1fc8b3b9a1e18e3b"></assemblyIdentity>
>>    </dependentAssembly>
>>  </dependency>
>>  <dependency>
>>    <dependentAssembly>
>>      <assemblyIdentity type="win32" name="Microsoft.VC80.CRT"
>> version="8.0.50727.762" processorArchitecture="x86"
>> publicKeyToken="1fc8b3b9a1e18e3b"></assemblyIdentity>
>>    </dependentAssembly>
>>  </dependency>
>> </assembly>
>>
>> So either it's a bug common to both forks, or special to my
>> machine/setup.  I still am using the edited crtassem.h.  I'm not
>> married to the VC I'm using.  If there's another free tool I can
>> use that I might have beter results with (win xp pro for the
>> 'os') I'd be willing to switch.
>>
>> Thanks again for all your patience and help!
>>
>> Chris
>>
>>
>> On Sun, 17 Apr 2011 15:55:16 -0700 chris-tuchs at hushmail.com 
>wrote:
>> >Good-news bad-news.
>> >
>> >Good:  I was able to make a "zip" of a directory that runs.
>> >
>> >Bad:  The .exe still claims to need both ...762 and ...4053
>> >versions of MSVC.  Haven't tried setting up to "package" yet.
>> >
>> >I tried changing crtassem.h, was obvious which line to change.
>> >Didn't make a difference.  Got a fresh copy from the git repo.
>> >Will try again later with a fork/clone from the official 1.4 
>exp
>> >branch.  See if there's some breakage on Onefangs fork, or if 
>it's
>> >
>> >the real state of things in impy-land.
>> >
>> >Thanks again for all your help.  Any ideas on why two different
>> >version of MSVC are described in the .exe, or how to make it 
>pick
>> >one, I'd love to hear it!
>> >
>> >On Sun, 17 Apr 2011 05:24:54 -0700 Nicky Perian
>> ><nickyperian at yahoo.com> wrote:
>> >>>>name="Microsoft.VC80.CRT" version="8.0.50727.762"
>> >>>>name="Microsoft.VC80.CRT" version="8.0.50727.4053"
>> >>1. Microsoft issued an windows update to CRT this past week 
>and
>> >>now 5592 is also
>> >>in the mix.
>> >>2.Hold off doing that if you can.
>> >>3. C:\<your path>\VC\include\crtassem.h around line 23 change 
>762
>> >
>> >>to 4053
>> >>4.If you want more adventure move to VS2010. Instructions are
>> >here
>> >>
>> 
>>>http://wiki.kokuaviewer.org/wiki/User:Nicky_Perian#Imprudence_VS_
>2
>> >0
>> >>10_Build_Instructions
>> >>
>> >>5.This is very much a work in progress and I would like to 
>know
>> >if
>> >>it works on
>> >>other than my machine.
>> >>
>> >>
>> >>
>> >>
>> >>
>> >>
>> >>________________________________
>> >>From: "chris-tuchs at hushmail.com" <chris-tuchs at hushmail.com>
>> >>To: hakushakukun at gmail.com
>> >>Cc: impdev at lists.imprudenceviewer.org
>> >>Sent: Sun, April 17, 2011 1:04:32 AM
>> >>Subject: Re: [impdev] Windows build issues
>> >>
>> >>After a painful day of experiments using the redmond-wimp 
>system
>> >>(aka Microsoft Windows), I have been able to make meta-impy-
>> >>bin.exe
>> >>that in the embeded manifest list dependencies on both
>> >>
>> >>>>1. Microsoft issued an windows update to CRT this past week 
>and
>> >
>> >>now 5592 is also
>> >>>>in the mix.
>> >>>>2.Hold off doing that if you can.
>> >>>>3. C:\<your path>\VC\include\crtassem.h around line 23 
>change
>> >>762 to 4053
>> >>>>4.Maybe you want more adventure moe to VS2010. Instructions 
>are
>> >
>> >>here
>> 
>>>>>http://wiki.kokuaviewer.org/wiki/User:Nicky_Perian#Imprudence_V
>S
>> >_
>> >>2010_Build_Instructions
>> >>>>
>> >>
>> >>name="Microsoft.VC80.CRT" version="8.0.50727.762"
>> >>name="Microsoft.VC80.CRT" version="8.0.50727.4053"
>> >>
>> >>I naturally tried building with each (a matched set of
>> >>Microsoft.VC80.CRT.manifest, and the dll's that go with it
>> >>msvcp80.dll, msvcr80.dll).  But the result is the same: after
>> >>installing, the binary won't run.
>> >>
>> >>It looks like there are a number of dll's that require .4053, 
>but
>> >
>> >>(unless it's the wonderful-wimp-compiler Microsoft Visual C++
>> >2005
>> >>
>> >>Express Edition) I can't find how the .exe is getting
>> >dependencies
>> >>
>> >>on both.  I changed every place I could find to one state or 
>the
>> >>other (762 or 4053) but it makes no difference.
>> >>
>> >>Chris
>> >>
>> >>_______________________________________________
>> >>ImpDev mailing list
>> >>ImpDev at lists.imprudenceviewer.org
>> >>http://lists.imprudenceviewer.org/listinfo.cgi/impdev-
>> >>imprudenceviewer.org
>> >
>> >_______________________________________________
>> >ImpDev mailing list
>> >ImpDev at lists.imprudenceviewer.org
>> >http://lists.imprudenceviewer.org/listinfo.cgi/impdev-
>> >imprudenceviewer.org
>>
>>
>
>
>-- 
>"Work is love made visible." — Kahlil Gibran
>
>"We will not walk in fear, one of another. We will not be driven 
>by fear
>into an age of unreason if we dig deep in our history and doctrine 
>and
>remember that we are not descended from fearful men, not from men 
>who feared
>to write, to speak, to associate and to defend causes which were 
>for the
>moment unpopular. We can deny our heritage and our history, but we 
>cannot
>escape responsibility for the result. There is no way for a 
>citizen of the
>Republic to abdicate his responsibility." -- Edward R. Murrow, 
>March 9, 1954




More information about the ImpDev mailing list