Support Board
Date/Time: Sat, 08 Feb 2025 11:00:25 +0000
Post From: [SOLVED] Error Building locally with Visual C++ and personal .h files
[2020-06-30 19:57:19] |
User106904 - Posts: 3 |
hello 1/ I had to change the bat file in ACS_Source to add the "(x86)" to the "Program Files" dir - then it started the compiler. 2/ there is a warning for unknown CL option which presumably causes the ensuing errors. 3/ does not recognize the .h files. 4/ throws an error at the end. 5/ everything works fine with the remote compiler thanks -- regards D:\SierraChart\ACS_Source>call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" amd64 cl : Command line warning D9002 : ignoring unknown option '/std:c++17' cl : Command line warning D9024 : unrecognized source file type 'D:\SierraChart\ACS_Source\__BarEncoder.h', object file assumed cl : Command line warning D9024 : unrecognized source file type 'D:\SierraChart\ACS_Source\__basics.h', object file assumed cl : Command line warning D9024 : unrecognized source file type 'D:\SierraChart\ACS_Source\__Bracketer.h', object file assumed cl : Command line warning D9024 : unrecognized source file type 'D:\SierraChart\ACS_Source\__StringScorer.h', object file assumed ___xs22Ib_06.cpp d:\sierrachart\acs_source\__basics.h(85): warning C4244: 'initializing': conversion from 'uint64_t' to 'int', possible loss of data d:\sierrachart\acs_source\__basics.h(97): warning C4244: 'initializing': conversion from 'double' to 'int', possible loss of data d:\sierrachart\acs_source\__Bracketer.h(32): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data d:\sierrachart\acs_source\__Bracketer.h(54): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data d:\sierrachart\acs_source\__Bracketer.h(99): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data d:\sierrachart\acs_source\__Bracketer.h(154): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data d:\sierrachart\acs_source\__Bracketer.h(228): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data d:\sierrachart\acs_source\__Bracketer.h(278): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data D:\SierraChart\ACS_Source\___xs22Ib_06.cpp(254): warning C4244: 'initializing': conversion from 'uint64_t' to 'int', possible loss of data D:\SierraChart\ACS_Source\___xs22Ib_06.cpp(281): warning C4244: 'initializing': conversion from 'double' to 'int', possible loss of data D:\SierraChart\ACS_Source\___xs22Ib_06.cpp(343): warning C4244: 'initializing': conversion from 'uint64_t' to 'int', possible loss of data D:\SierraChart\ACS_Source\___xs22Ib_06.cpp(548): warning C4800: 'unsigned int': forcing value to bool 'true' or 'false' (performance warning) D:\SierraChart\ACS_Source\__BarEncoder.h : fatal error LNK1107: invalid or corrupt file: cannot read at 0x5F6 |