Quantcast
Channel: Intel® C++-Compiler
Viewing all articles
Browse latest Browse all 1665

2016 64bit compiler issue

$
0
0

We have just switched over from Visual Studio 2013 with Intel 2015, to VS 2015 and Intel 2016. We've worked through several issues including ones related to Visual Studio 2015 Update 1.

Unfortunately there is one issue we cannot find a solution to, it only appears to occur if when building our 64bit configuration and only occurs when either built on our build machine as part of a build process or if we repeat the msbuild on one of our development machines.

The error appears to be to do with Intel Compiler trying to load SQLite and it seems it's loading the wrong version. The error we are getting is below:

C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Platforms\x64\PlatformToolsets\Intel C++ Compiler 16.0\Toolset.targets (372, 0)
The "ICL" task failed unexpectedly.
System.BadImageFormatException: Could not load file or assembly 'System.Data.SQLite, Version=1.0.88.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139' or one of its dependencies. is not a valid Win32 application. (Exception from HRESULT: 0x800700C1)
File name: 'System.Data.SQLite, Version=1.0.88.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139' ---> System.BadImageFormatException: Could not load file or assembly 'System.Data.SQLite.dll' or one of its dependencies. is not a valid Win32 application. (Exception from HRESULT: 0x800700C1)
File name: 'System.Data.SQLite.dll'
at System.Reflection.RuntimeAssembly.nLoadFile(String path, Evidence evidence)
at System.Reflection.Assembly.LoadFile(String path)
at Intel.Misc.Utilities.AssemblyResolver.SQLiteAssemblyResolver(Object sender, ResolveEventArgs args)
at System.AppDomain.OnAssemblyResolveEvent(RuntimeAssembly assembly, String assemblyFullName)
at Intel.Compiler.IDE.OptReports.DB.DBUtilities.Commit(OptReportsDataBase db, String projectFilePath, String solutionPath)
at Intel.Compiler.IDE.OptReports.DB.MessageParser.CommitToDataBase(String solutionPath, String projectFilePath)
at Intel.Build.ICLTasks.ICL.ExecuteTool(String pathToTool, String responseFileCommands, String commandLineCommands)
at Microsoft.Build.Utilities.ToolTask.Execute()
at Microsoft.Build.CPPTasks.TrackedVCToolTask.Execute()
at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
at Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__26.MoveNext()

 


Viewing all articles
Browse latest Browse all 1665

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>