Login Page - Create Account

Support Board


Date/Time: Sun, 12 Jan 2025 04:19:47 +0000



Post From: error for not declared in this scope

[2017-01-24 02:57:16]
User701247 - Posts: 117
After Download Current Version, when I remove #include "windows.h" as Additional Header Files, and run Build Custom Studies DLL again, and get another error.

fatal error C1083: Cannot open include file: 'windows.h': No such file or directory

Do you have any suggestions on how to solve this issue?
Thanks you very much for any suggestions

-- Starting build of Custom Studies Source files: VolumeatPriceThresholdAlertV2.cpp. -- 10:54:35

C:\Windows\system32\cmd.exe /C "D:\SierraChart\ACS_Source\VisualCCompile.Bat"


C:\SierraChart\ACS_Source>call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat"
VolumeatPriceThresholdAlertV2.cpp
c:\sierrachart\acs_source\scstructures.h(6): fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
-- End of Build -- 10:54:38

Under c:\sierrachart\acs_source\scstructures.h file, I find #include <windows.h> statement as shown below

// File Name: scstructures.h

#ifndef _SCSTRUCTURES_H_
#define _SCSTRUCTURES_H_

#include <windows.h> //Main Windows SDK header file
#include <stdio.h> //This header is for input/output including File input/output
#include <stdarg.h>
#include <float.h>
#include <io.h>
#define _USE_MATH_DEFINES
#include <math.h>
#include <time.h>
#include <stdlib.h>
#include <string.h>
#include <limits.h>
Date Time Of Last Edit: 2017-01-24 03:42:54