Hello,
I am running Windows 10 64 bit version 1511 OS build 10586.29.
When I compile in PureBasic the application crashes. I have tried compiling an empty file and this also crashes. I have reinstalled PB and the issue persists.
I was able to compile about a month or so ago without issue.
Does anyone have any suggestions on how I can get my installation working correctly?
Thanks,
-Sean
EDIT: current version is PureBasic 5.40 LTS (Windows - x64)
[Solved] PB crashes when compiling
[Solved] PB crashes when compiling
Last edited by SeanC on Tue Dec 15, 2015 4:44 pm, edited 1 time in total.
-
- Addict
- Posts: 4779
- Joined: Thu Jun 07, 2007 3:25 pm
- Location: Berlin, Germany
Re: PB crashes when compiling
As a first trial, you can switch off your anti virus programm and see whether compiling then works as expected.
Re: PB crashes when compiling
Thanks! That was it.
-
- Addict
- Posts: 4779
- Joined: Thu Jun 07, 2007 3:25 pm
- Location: Berlin, Germany
Re: [Solved] PB crashes when compiling
You are welcome! However, switching off the anti virus programm is not a permanent solution of course. 
When compiling one code in the PureBasic IDE, PureBasic creates a file named "PureBasic_Compilation0.exe" in the %temp% directory, or in the directory where the main source code file is if the following option is checked

When compiling one code in the PureBasic IDE, PureBasic creates a file named "PureBasic_Compilation0.exe" in the %temp% directory, or in the directory where the main source code file is if the following option is checked
Depending on what you are doing, there can be more temporary EXEs created by PB, named "PureBasic_Compilation1.exe", "PureBasic_Compilation2.exe" etc. You'll have to enter all those file names (or a matching pattern, if possible) into the white list of your anti virus program.Compiler > Compiler Options... > Compile/Run > [ ] Create temporary executable in the source directory