Support Board
Date/Time: Fri, 10 Jan 2025 20:11:30 +0000
Post From: Error compiling
[2016-09-21 05:58:07] |
User15952 - Posts: 132 |
All I did was recompile a previous cpp which was working. I changed the sc.FreeDLL = 1 And now I get that error. If I comment it out I get the error below; C:\SierraChart\ACS_Source>call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" Levels.cpp C:\SierraChart\ACS_Source\Levels.cpp(165): warning C4244: '=': conversion from 'double' to 'float', possible loss of data C:\SierraChart\ACS_Source\Levels.cpp(183): warning C4244: '=': conversion from 'double' to 'int', possible loss of data C:\SierraChart\ACS_Source\Levels.cpp(196): warning C4244: '=': conversion from 'double' to 'int', possible loss of data C:\SierraChart\ACS_Source\Levels.cpp(209): warning C4244: '=': conversion from 'double' to 'int', possible loss of data C:\SierraChart\ACS_Source\Levels.cpp(254): warning C4244: '=': conversion from 'double' to 'int', possible loss of data C:\SierraChart\ACS_Source\Levels.cpp(354): warning C4244: '=': conversion from 'double' to 'int', possible loss of data C:\SierraChart\ACS_Source\Levels.cpp(391): warning C4244: '=': conversion from 'double' to 'float', possible loss of data C:\SierraChart\ACS_Source\Levels.cpp(406): warning C4244: '=': conversion from 'double' to 'float', possible loss of data C:\SierraChart\ACS_Source\Levels.cpp(433): warning C4244: '=': conversion from 'double' to 'int', possible loss of data C:\SierraChart\ACS_Source\Levels.cpp(446): warning C4244: '=': conversion from 'double' to 'int', possible loss of data C:\SierraChart\ACS_Source\Levels.cpp(459): warning C4244: '=': conversion from 'double' to 'int', possible loss of data C:\SierraChart\ACS_Source\Levels.cpp(475): warning C4244: '=': conversion from 'double' to 'int', possible loss of data C:\SierraChart\ACS_Source\Levels.cpp(595): warning C4244: '=': conversion from 'double' to 'int', possible loss of data C:\SierraChart\ACS_Source\Levels.cpp(659): error C3861: 'getline': identifier not found C:\SierraChart\ACS_Source\Levels.cpp(687): error C2039: 'getline': is not a member of 'std' C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\algorithm(14): note: see declaration of 'std' C:\SierraChart\ACS_Source\Levels.cpp(687): error C3861: 'getline': identifier not found C:\SierraChart\ACS_Source\Levels.cpp(790): error C3861: 'getline': identifier not found C:\SierraChart\ACS_Source\Levels.cpp(824): error C2039: 'getline': is not a member of 'std' C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\algorithm(14): note: see declaration of 'std' C:\SierraChart\ACS_Source\Levels.cpp(824): error C3861: 'getline': identifier not found -- End of Build -- 15:56:23 |