Support Board
Date/Time: Sat, 11 Jan 2025 20:09:58 +0000
Remote Build problem: can't find #include file
View Count: 1325
[2016-12-23 00:49:32] |
User129630 - Posts: 22 |
I have a main.cpp which include another mylib.cpp (my own library), such as #include "mylib.cpp" The Remote Build doesn't seem to recognize the include of this file and complain all the functions referenced (used) by the main.cpp from the mylib.cpp "were not declared in this scope". It seems the Remote Build can't find this mylib.cpp file, where it is resided at the same directory as main.cpp. The same main.cpp were compiled and executed fine with the old compiler. Any suggestion of what the fix is will be appreciated. |
[2016-12-23 01:44:53] |
Sierra Chart Engineering - Posts: 104368 |
You cannot use Remote Build with this kind of source code configuration. You need to press the Install Compiler button to install the compiler if you have not already and then use the Build Custom Studies DLL button. 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: 2016-12-23 01:45:28
|
[2016-12-23 02:04:18] |
User129630 - Posts: 22 |
The reason that I have to use "Remote Build" and not "Build Custom Studies DLL" because VC can't find my source code files even they existed. I opened this thread: Visual C++ Compiler error with v1460 or above, but no problem with v1453 few months back and hence waiting for this Remote Build feature. Are you saying Remote Build only take one big single cpp file with NO local include files/libraries? What about the C++ libraries? In my case, it can't seem to find and compile the "string" type because it can't find the included C++ string library. If this is the case, it's quite a serious limitation. |
[2016-12-23 04:09:46] |
Sierra Chart Engineering - Posts: 104368 |
Remote Build does not support including any nonstandard headers and libraries. When it comes to including your own CPP file you just need to include the text of it within the file you are compiling. All of the standard C++ headers and libraries are supported with Remote Build. However, they need to be included from our side. For safety reasons they cannot be included by a user. We have included all the standard C++ libraries now. You will need to update to Prerelease 1501. You can then try to build again. We see no reason why you cannot use Remote Build at this time. 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 |
[2016-12-23 18:24:35] |
Sierra Chart Engineering - Posts: 104368 |
One thing that we can do is add the capability to Remote Build to compile multiple files.
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 |
[2016-12-24 12:30:09] |
User129630 - Posts: 22 |
This will be very nice. When will this (compile multiple include files) be available?
|
[2016-12-24 20:28:16] |
Sierra Chart Engineering - Posts: 104368 |
We will try to have it done no later than the middle of January.
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 |
To post a message in this thread, you need to log in with your Sierra Chart account: