PowerLanguage compilation error code 0

Questions about MultiCharts and user contributed studies.
User avatar
Dave Masalov
Posts: 1712
Joined: 16 Apr 2010
Has thanked: 51 times
Been thanked: 485 times

PowerLanguage compilation error code 0

Postby Dave Masalov » 27 Jan 2012

Dear Users,

If you are not able to compile any study in PowerLanguage Editor (including default studies and empty scripts) after running MultiCharts for the first time (on this machine), please do the following:

Check the contents of the file:
"%allusersprofile%\Application Data\TS Support\MultiCharts\StudyServer\Studies\compiler_error.log"

(1) If file "compiler_error.log" contains an error that MultiCharts could not find something, for example:
“C:\PROGRA~1\TS Support\MultiCharts\make\MinGW\bin\dlltool: Can't open def file: C:\PROGRA~1\TS
C:\PROGRA~1\TS Support\MultiCharts\make\MinGW\bin\dllwrap.exe: C:\PROGRA~1\TS
Support\MultiCharts\make\MinGW\bin\dlltool exited with status 1”
Then there is an issue with GCC short paths.

***************** To fix the issue: *****************
1. In the registry define the value:
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem]
"NtfsDisable8dot3NameCreation"=dword:00000000
2. Reboot Computer

2. Come to our Live Chat Mon-Fri from 6:30 AM to 4 PM EST for remote connection session: http://messenger.providesupport.com/mes ... pport.html


(2) File "compiler_error.log" contains an error with "VirtualAlloc", for example:
“Internal error in mingw32_gt_pch_use_address, at config/i386/host-mingw32.c:151: VirtualAlloc (commit):
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.”
Then this is an addressing issue (the computer has watchers that interject path which is used for loading .gch files)

***************** To fix the issue: *****************
1. Close MultiCharts AND PowerLanguage Editor
2. Download the following zip archive onto your machine and unpack it. For MC 7.4 Release: http://dl.dropbox.com/u/26968921/MakeGC ... 155_74.zip
3. Run Updater.exe, click on Update, then when you see message ‘DONE’ click on Close. MultiCharts and PowerLanguage Editor should be closed while performing the update.
If the problem persists, come to our Live Chat Mon-Fri from 6:30 AM to 4 PM EST so we can help you: http://messenger.providesupport.com/mes ... pport.html

fibdax
Posts: 88
Joined: 03 Jan 2011
Has thanked: 5 times
Been thanked: 4 times

Re: PowerLanguage compilation error code 0

Postby fibdax » 13 Feb 2012

For Mc 8 ?

User avatar
Henry MultiСharts
Posts: 8479
Joined: 25 Aug 2011
Has thanked: 1211 times
Been thanked: 2719 times

Re: PowerLanguage compilation error code 0

Postby Henry MultiСharts » 24 Feb 2012

Here are the files to fix "VirtualAlloc" issue on MultiCharts 8.0 beta 1 32 bit and 64 bit.
Attachments
MakeGCH_elapiver_158_x64.zip
64 bit
(371 KiB) Downloaded 430 times
MakeGCH_elapiver_158.zip
32 bit
(370.63 KiB) Downloaded 172 times


Return to “MultiCharts”