Login Page - Create Account

Support Board


Date/Time: Sat, 20 Apr 2024 06:45:42 +0000



Compling on Windows 8.1 preview

View Count: 1779

[2013-09-02 01:53:33]
mhren - Posts: 12
I was trying out the Windows 8.1 Pro preview this weekend and have found that SC runs quite well on it at least given my initial checkout ...

I did run into one problem compiling my custom studies and I'm wondering if you might have some insight into how to correct this ....I started with a clean install, and installed SC version 1019. I installed the compiler from the "Build Advanced Custom Studies DLL" menu. This completed without errors.

However, when attempting to compile my source, it appears that one of the includes ("map") is not available ... maybe missing with the latest compiler install or ????

The message I get is:
C:\SierraChart - IB\ACS_Source\sierrachart.h:26:15: fatal error: map: No such file or directory
#include <map>
^
compilation terminated.

I will dig a bit more to understand what might be missing .. but I wanted to check with you since you may have a better idea of what is included in the compiler provided through the "Install Compiler" option. I did go back to my other Windows 8.0 install but that compiler has been there for some time so I'm wondering if it's something related to the new and clean installation ....

Thanks!!
-- mike
Date Time Of Last Edit: 2013-09-02 01:54:40
[2013-09-02 02:55:51]
Sierra Chart Engineering - Posts: 104368
Do you see this file on your system:

Drive:\SierraChart\CPPCompiler\lib\gcc\mingw32\4.7.2\include\c++\map
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
[2013-09-02 03:36:28]
mhren - Posts: 12
The brand new install I have here on the Windows 8.1 system does NOT include the
Drive:\SierraChart\CPPCompiler\lib\gcc\mingw32\4.7.2 directory (while my 'old' Windows 8.0 system does).

It appears the new install picked up Drive:\SierraChart\CPPCompiler\lib\gcc\mingw32\4.8.1 and it does have the Drive:\SierraChart\CPPCompiler\lib\gcc\mingw32\4.8.1\include\c++\map file but possibly the build process does not include this new path ?

As an aside -- this new version (4.8.1) may have nothing to do with Windows 8.1 and is just what got picked up when I installed on this new system ?
Date Time Of Last Edit: 2013-09-02 03:37:53
[2013-09-03 01:06:35]
Sierra Chart Engineering - Posts: 104368
We are testing this.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
[2013-09-03 03:39:08]
Sierra Chart Engineering - Posts: 104368
We cannot duplicate the problem. We deleted the compiler and did a fresh install. The compilation is good:

-- Starting build of Custom Studies Source File: test1.cpp. -- 15:37:30
"D:\SierraChart\CPPCompiler\bin\g++.exe" "D:\DLLStudies\test1.cpp" -march=i686 -mtune=i686 -O2 -shared -static -static-libgcc -static-libstdc++ -s -fno-rtti -fno-exceptions -o "D:\data2\test1.dll"

-- End of Build -- 15:37:31
Our recommendation is to delete this folder and install the C++ compiler again:
Drive:\SierraChart\CPPCompiler

Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2013-09-03 03:40:05
[2013-09-03 12:27:35]
mhren - Posts: 12
I am traveling for the next day but I will delete the files and do the compiler install again when I return. Even though things are working fine on my windows 8.0 system, I will take the same steps on both systems (windows 8.0 and windows 8.1) and will let you know if this is indeed something unique to the compiler install on the new OS.
Date Time Of Last Edit: 2013-09-03 12:28:10
[2013-09-08 07:29:49]
mhren - Posts: 12
Deleting the CPPCompiler directory tree and re-installing did clear up this problem for my installation on Windows 8.1 Preview.

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account