Opened 8 years ago
Last modified 8 years ago
#4459 closed defect
MSVC broken using latest 32bit Windows build — at Initial Version
Reported by: | Rüdiger Franke | Owned by: | Martin Sjölund |
---|---|---|---|
Priority: | critical | Milestone: | 1.12.0 |
Component: | Build Environment | Version: | v1.12.0 |
Keywords: | Cc: | Niklas Worschech |
Description
After deinstallation of OpenModelica-v1.11.0-32bit and installation of OpenModelica-v1.12.0-dev-466-g214f0d6-32bit the below error message pops up when attempting to simulate or FMU export a model using the Cpp runtime and MSVC.
Gcc works, but the exported model produces sporadically wrong results. The system outside OpenModelica did not change between versions 1.11 and 1.12.
The wrong results using gcc could not be reproduced under Linux.
Microsoft (R) Program Maintenance Utility Version 10.00.30319.01 Copyright (C) Microsoft Corporation. All rights reserved. cl /FeMyModel.dll OMCppMyModelCalcHelperMain.cpp /DWIN32 /D_WINDOWS /W3 /GR /EHsc /Zm113 /Od /EHa /fp:except /W4 /MP /D_DEBUG /MDd /Zi /Ob0 /RTC1 -DUSE_DGESV -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=2 -DSUNDIALS_MINOR_VERSION=6 -DPMC_USE_SUNDIALS /w /I"C:/OpenModelica1.12.0-dev-32bit//include/omc/cpp/" /I"C:/OpenModelica1.12.0-dev-32bit//include/omc/cpp/3rdParty/boost/msvc/" /I"" /I. /TP /DNOMINMAX /DNO_INTERACTIVE_DEPENDENCY /DFMU_BUILD /DRUNTIME_STATIC_LINKING /link /DLL /NOENTRY /LIBPATH:"C:/OpenModelica1.12.0-dev-32bit//lib/omc/cpp/msvc" /LIBPATH:"C:/OpenModelica1.12.0-dev-32bit//bin" OMCppSystem_static.lib OMCppMath_static.lib OMCppExtensionUtilities_static.lib OMCppFMU_static.lib OMCppNewton_static.lib OMCppDgesv_static.lib OMCppDgesvSolver_static.lib ModelicaExternalC.lib ModelicaStandardTables.lib OMCppModelicaUtilities_static.lib -L"C:/home/Projects/Kriegers Flak/Modelica/KriegersFlak" Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 16.00.40219.01 for 80x86 Copyright (C) Microsoft Corporation. All rights reserved. cl : Command line warning D9025 : overriding '/EHs' with '/EHa' cl : Command line warning D9025 : overriding '/W3' with '/W4' cl : Command line warning D9025 : overriding '/W4' with '/w' OMCppMyModelCalcHelperMain.cpp C:\OpenModelica1.12.0-dev-32bit\include\omc\cpp\Core/Modelica.h(59) : fatal error C1083: Cannot open include file: 'thread': No such file or directory NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\cl.EXE"' : return code '0x2' Stop. RESULT: 2
Note:
See TracTickets
for help on using tickets.