Compilation Error (errLine 0, errColumn 0, errLineEnd 0, errColumnEnd 0): Difference between revisions
From MultiCharts
Compilation Error (errLine 0, errColumn 0, errLineEnd 0, errColumnEnd 0) (view source)
Revision as of 11:28, 5 November 2012
, 5 November 2012no edit summary
No edit summary |
|||
Line 8: | Line 8: | ||
# If the fresh blank study is compiled with error, it means that you have one of two compilation problems. | # If the fresh blank study is compiled with error, it means that you have one of two compilation problems. | ||
Depending on which type of compilation problem you have there are two ways to fix them. To find out which one you have: | Depending on which type of compilation problem you have there are two ways to fix them. To find out which one you have: | ||
# Open '''C:\ProgramData\TS Support\MultiCharts\StudyServer\Studies''' ''(for Windows 7)'' or '''%allusersprofile%\Application Data\TS Support\MultiCharts\StudyServer\Studies''' ''(for Windows XP)''. | # Open '''C:\ProgramData\TS Support\MultiCharts\StudyServer\Studies''' ''(for Windows 7/8)'' or '''%allusersprofile%\Application Data\TS Support\MultiCharts\StudyServer\Studies''' ''(for Windows XP)''. | ||
# Open the file '''compiler_error.log'''. | # Open the file '''compiler_error.log'''. | ||
:* If the file contains lines similar to:<br>"Internal error in mingw32_gt_pch_use_address, at config/i386/host-mingw32.c:151: VirtualAlloc (commit):"<br>"C:\PROGRA~1\TSSUPP~1\MULTIC~1\STUDYS~1\Studies\SrcCpp\INDICA~1\I_SBTE~1.CPP:1:fatal error: can't read PCH file: Invalid argument. Compilation terminated."<br>'''It means that this is the issue with virtual allocation.''' | :* If the file contains lines similar to:<br>"Internal error in mingw32_gt_pch_use_address, at config/i386/host-mingw32.c:151: VirtualAlloc (commit):"<br>"C:\PROGRA~1\TSSUPP~1\MULTIC~1\STUDYS~1\Studies\SrcCpp\INDICA~1\I_SBTE~1.CPP:1:fatal error: can't read PCH file: Invalid argument. Compilation terminated."<br>'''It means that this is the issue with virtual allocation.''' | ||
Line 41: | Line 41: | ||
# Change the value of the '''NtfsDisable8dot3NameCreation''' key to '''0'''. | # Change the value of the '''NtfsDisable8dot3NameCreation''' key to '''0'''. | ||
# Reboot the operation system. | # Reboot the operation system. | ||
# After the system is rebooted, do not launch Multicharts. Open '''C:\ProgramData\TS Support\MultiCharts\StudyServer\Studies''' ''(for Windows 7)'' or '''%allusersprofile%\Application Data\TS Support\MultiCharts\StudyServer\Studies''' ''(for Windows XP)''. | # After the system is rebooted, do not launch Multicharts. Open '''C:\ProgramData\TS Support\MultiCharts\StudyServer\Studies''' ''(for Windows 7/8)'' or '''%allusersprofile%\Application Data\TS Support\MultiCharts\StudyServer\Studies''' ''(for Windows XP)''. | ||
# Open the '''compiler_error.log file'''. Depending on what path is written in the file you will have to rename several folders in one of 2 possible locations: | # Open the '''compiler_error.log file'''. Depending on what path is written in the file you will have to rename several folders in one of 2 possible locations: | ||
:* '''C:\ProgramData\TS Support\...''' (example for Windows 7); '''C:\Documents and Settings\All Users\Application Data\TS Support\...''' (example for Windows XP) | :* '''C:\ProgramData\TS Support\...''' (example for Windows 7/8); '''C:\Documents and Settings\All Users\Application Data\TS Support\...''' (example for Windows XP) | ||
:* '''C:\Program Files\TS Support\...''' (example for any Windows) | :* '''C:\Program Files\TS Support\...''' (example for any Windows) | ||
::# Rename the '''TS Support''' folder into '''TS SupportOld'''. Create new folder '''TS Support'''. Move everything from '''TS SupportOld''' into the new '''TS Support'''. Delete the '''TS SupportOld''' folder. | ::# Rename the '''TS Support''' folder into '''TS SupportOld'''. Create new folder '''TS Support'''. Move everything from '''TS SupportOld''' into the new '''TS Support'''. Delete the '''TS SupportOld''' folder. |