Revision: 41125
http://brlcad.svn.sourceforge.net/brlcad/?rev=41125&view=rev
Author: bob1961
Date: 2010-10-22 20:09:10 +0000 (Fri, 22 Oct 2010)
Log Message:
-----------
These mods take care of a problem that we've been seeing related to the
proe-brl plugin failing to load on platforms that either didn't have Visual
Studio installed or the platform's version of the c-runtime was older than what
was used to compile the proe-brl.dll.
Modified Paths:
--------------
brlcad/trunk/src/external/ProEngineer/win32-msvc8/proe-brl-3.0/proe-brl-3.0.vcproj
brlcad/trunk/src/external/ProEngineer/win32-msvc8/proe-brl-4.0/proe-brl-4.0.vcproj
brlcad/trunk/src/external/ProEngineer/win32-msvc8/proe-brl-5.0/proe-brl-5.0.vcproj
Added Paths:
-----------
brlcad/trunk/src/external/ProEngineer/proe-brl-notes.txt
brlcad/trunk/src/external/ProEngineer/proe-brl.dll.config
Added: brlcad/trunk/src/external/ProEngineer/proe-brl-notes.txt
===================================================================
--- brlcad/trunk/src/external/ProEngineer/proe-brl-notes.txt
(rev 0)
+++ brlcad/trunk/src/external/ProEngineer/proe-brl-notes.txt 2010-10-22
20:09:10 UTC (rev 41125)
@@ -0,0 +1,23 @@
+Compiling the proe-brl.dll against prodevelop and protoolkit
+libs (BTW, these are static libs) has created potential problems
+when trying to deploy the proe-brl.dll to platforms that either
+don't have Visual Studio or an older version. The only symptom is
+that the plugin will fail to load and there will be no indication
+in the Proe trail file of why it failed to load.
+
+It turns out that Proe's static libs are compiled with an old version
+of the C-runtime. So when the proe-brl.dll gets compiled it depends
+on both the C-runtime of Proe's static libs and the C-runtime of the
+Visual Studio used to compile the dll. In short, this causes the
+plugin load to fail. As near as I can tell, there are two possible
+solutions to this problem. The first is to install the latest vcredist
+on the hobbled machine. The second is to create a application/dll
+config file and do a binding redirect to a newer version of the
+C-runtime.
+
+Currently, the config file and the manifest file for the proe-brl.dll
+is not embedded. So both files must be copied with the proe-brl.dll
+to their place in the Proe hierarchy. I believe it's possible to
+embed both files in the dll. I can see how to embed the manifest, but
+am not sure about the config file.
+
Property changes on: brlcad/trunk/src/external/ProEngineer/proe-brl-notes.txt
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: svn:eol-style
+ native
Added: brlcad/trunk/src/external/ProEngineer/proe-brl.dll.config
===================================================================
--- brlcad/trunk/src/external/ProEngineer/proe-brl.dll.config
(rev 0)
+++ brlcad/trunk/src/external/ProEngineer/proe-brl.dll.config 2010-10-22
20:09:10 UTC (rev 41125)
@@ -0,0 +1,12 @@
+<configuration>
+ <windows>
+ <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
+ <dependentAssembly>
+ <assemblyIdentity type="win32" name="Microsoft.VC80.CRT"
processorArchitecture="amd64"
publicKeyToken="1fc8b3b9a1e18e3b"></assemblyIdentity>
+ <bindingRedirect oldVersion="8.0.41204.256-8.0.50727.4016"
newVersion="8.0.50727.4053"/>
+ </dependentAssembly>
+ </assemblyBinding>
+ </windows>
+</configuration>
+
+
Property changes on: brlcad/trunk/src/external/ProEngineer/proe-brl.dll.config
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: svn:eol-style
+ native
Modified:
brlcad/trunk/src/external/ProEngineer/win32-msvc8/proe-brl-3.0/proe-brl-3.0.vcproj
===================================================================
---
brlcad/trunk/src/external/ProEngineer/win32-msvc8/proe-brl-3.0/proe-brl-3.0.vcproj
2010-10-22 18:49:37 UTC (rev 41124)
+++
brlcad/trunk/src/external/ProEngineer/win32-msvc8/proe-brl-3.0/proe-brl-3.0.vcproj
2010-10-22 20:09:10 UTC (rev 41125)
@@ -83,6 +83,7 @@
/>
<Tool
Name="VCManifestTool"
+ EmbedManifest="false"
/>
<Tool
Name="VCXDCMakeTool"
@@ -169,6 +170,7 @@
/>
<Tool
Name="VCManifestTool"
+ EmbedManifest="false"
/>
<Tool
Name="VCXDCMakeTool"
Modified:
brlcad/trunk/src/external/ProEngineer/win32-msvc8/proe-brl-4.0/proe-brl-4.0.vcproj
===================================================================
---
brlcad/trunk/src/external/ProEngineer/win32-msvc8/proe-brl-4.0/proe-brl-4.0.vcproj
2010-10-22 18:49:37 UTC (rev 41124)
+++
brlcad/trunk/src/external/ProEngineer/win32-msvc8/proe-brl-4.0/proe-brl-4.0.vcproj
2010-10-22 20:09:10 UTC (rev 41125)
@@ -69,6 +69,7 @@
OutputFile=".\$(PlatformName)\$(ConfigurationName)\proe-brl.dll"
LinkIncremental="1"
AdditionalLibraryDirectories=""C:\Program
Files\proeWildfire 4.0\protoolkit\i486_nt\obj";"C:\Program
Files\proeWildfire
4.0\prodevelop\i486_nt\obj";../../../../../brlcadInstall/lib"
+ GenerateManifest="true"
IgnoreAllDefaultLibraries="false"
IgnoreDefaultLibraryNames="libcmt.lib"
GenerateDebugInformation="false"
@@ -83,6 +84,7 @@
/>
<Tool
Name="VCManifestTool"
+ EmbedManifest="false"
/>
<Tool
Name="VCXDCMakeTool"
@@ -155,6 +157,7 @@
OutputFile=".\$(PlatformName)\$(ConfigurationName)\proe-brl.dll"
LinkIncremental="1"
AdditionalLibraryDirectories=""C:\Program
Files\proeWildfire 4.0\protoolkit\x86e_win64\obj";"C:\Program
Files\proeWildfire
4.0\prodevelop\x86e_win64\obj";../../../../../brlcadInstallx64/lib"
+ GenerateManifest="true"
IgnoreAllDefaultLibraries="false"
IgnoreDefaultLibraryNames=""
GenerateDebugInformation="false"
@@ -169,6 +172,7 @@
/>
<Tool
Name="VCManifestTool"
+ EmbedManifest="false"
/>
<Tool
Name="VCXDCMakeTool"
Modified:
brlcad/trunk/src/external/ProEngineer/win32-msvc8/proe-brl-5.0/proe-brl-5.0.vcproj
===================================================================
---
brlcad/trunk/src/external/ProEngineer/win32-msvc8/proe-brl-5.0/proe-brl-5.0.vcproj
2010-10-22 18:49:37 UTC (rev 41124)
+++
brlcad/trunk/src/external/ProEngineer/win32-msvc8/proe-brl-5.0/proe-brl-5.0.vcproj
2010-10-22 20:09:10 UTC (rev 41125)
@@ -83,6 +83,7 @@
/>
<Tool
Name="VCManifestTool"
+ EmbedManifest="false"
/>
<Tool
Name="VCXDCMakeTool"
@@ -169,6 +170,7 @@
/>
<Tool
Name="VCManifestTool"
+ EmbedManifest="false"
/>
<Tool
Name="VCXDCMakeTool"
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits