Difference between revisions of "Talk:Viewer 2 Microsoft Windows Builds"

From Second Life Wiki
Jump to navigation Jump to search
Line 56: Line 56:
for FILE in *.h; do cp $FILE $FILE.bak; sed -e "s/[”“]/\"/g" $FILE.bak | sed -e "s/–/-/g" | sed -e "s/[‘’]/'/g" > $FILE; done
for FILE in *.h; do cp $FILE $FILE.bak; sed -e "s/[”“]/\"/g" $FILE.bak | sed -e "s/–/-/g" | sed -e "s/[‘’]/'/g" > $FILE; done
</pre>
</pre>
-- [[User:Mako Nozaki|Mako]] 07:48, 11 June 2012 (PDT)
== Missing msvcp100.dll/msvcr100.dll ==
Probably when you use Windows7 and VS2010, you may encounter some error message complaining about lacking msvcp100.dll or msvcr100.dll. It seems to have solved in  [https://jira.secondlife.com/browse/STORM-1150 STORM-1150], but still has problem (maybe because of the double backslash (\\) in result). You will need to do:
* manually copy missing dlls from C:\Windows\System32
or
* fix indra/cmake/Copy3rdPartyLibs.cmake like that:
<pre>
[HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Control\\Windows;Directory]/SysWOW64
[HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Control\\Windows;Directory]/System32
[HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Control\\Windows;SystemDirectory]
</pre>
-- [[User:Mako Nozaki|Mako]] 07:48, 11 June 2012 (PDT)

Revision as of 07:48, 11 June 2012

Mailing list discussions on compile errors, and more

Eliminate annoying IDE popup

If you are compiling with the IDE and keep getting a popup along the lines of "improve microsoft visual studio performance" Either

  • To hide on XP or 2003 Server, right-click on the Task Bar | Select Properties | Select Taskbar tab | select Hide inactive icons | Click Customize | Set the Behavior for item "Improve Microsoft Visual Studio" to "Always hide".

Or

Note: This second method did not work for me.

Jonathan Yap 8:43, 31 May 2011 (PDT)

Order of installing

I got errors during the installation of the directX SDK. the problems occured while it was installing the c++ Runtimes (which have already been installed before). So here is what i did to fix this:

  • remove all 2010 installations
  • install the DirectX SDK (June 2010) (that also installs the redistributable packages)
  • Install the Visual C++ 2010 Express
  • Install Windows SDK for Windows 7 and .NET Framework 4
  • Run Microsoft Update

Gaia Clary 21:28, 8 Feb 2012 (CEST)

C2220 + C4819 when using non-English VS compiler

When you see the message like this:

error C2220: warning treated as error - no 'object' file generated
warning C4819: The file contains a character that cannot be represented in the current code page (932)

(The message depends on the language you use.)

The cause is that the compiler fails in treating BOM in some characters. Currently, the header files from COLLADA dom have several type of such characters. You need to dig in Drive:\your_path\build-vc100\packages\include\collada\1.4\dom and change all of them to avoid these errors.

Character Should be
"
"
-
'
'

If your editor has grep-and-replace feature, you can easily do that. Or, you can use sed, awk or other command line tool as well. In Cygwin or shell kin, cd to the header files directory above and run:

for FILE in *.h; do cp $FILE $FILE.bak; sed -e "s/[”“]/\"/g" $FILE.bak | sed -e "s/–/-/g" | sed -e "s/[‘’]/'/g" > $FILE; done

-- Mako 07:48, 11 June 2012 (PDT)

Missing msvcp100.dll/msvcr100.dll

Probably when you use Windows7 and VS2010, you may encounter some error message complaining about lacking msvcp100.dll or msvcr100.dll. It seems to have solved in STORM-1150, but still has problem (maybe because of the double backslash (\\) in result). You will need to do:

  • manually copy missing dlls from C:\Windows\System32

or

  • fix indra/cmake/Copy3rdPartyLibs.cmake like that:
[HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Control\\Windows;Directory]/SysWOW64
[HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Control\\Windows;Directory]/System32
[HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Control\\Windows;SystemDirectory]

-- Mako 07:48, 11 June 2012 (PDT)