Author Topic: DAV's IDE will not run EXE  (Read 6044 times)

0 Members and 1 Guest are viewing this topic.

Offline EricE

  • Forum Regular
  • Posts: 114
    • View Profile
DAV's IDE will not run EXE
« on: March 23, 2020, 04:24:30 am »
I upgraded QB64 to version 1.4 and then found that DAV's IDE will not run the generated EXE.
Going back to QB64 version 1.3 DAV's IDE will compile and run the executable.

I am using the 32-bit versions of QB64 on a Windows 10 64-bit computer.

What could have changed between QB64 versions 1.3 and 1.4 to keep the IDE from running the EXE?

DAV's IDE
http://www.qbasicnews.com/dav/projects.php#DAVSIDE
« Last Edit: March 24, 2020, 09:48:43 am by EricE »

Offline Dav

  • Forum Resident
  • Posts: 792
    • View Profile
Re: DAV's IDE will not run EXE when compiled with QB64 version 1.4
« Reply #1 on: March 23, 2020, 11:53:53 am »
I'll check it out. Thanks for the report.

can you look at your davside settings file and see if it's pointing to the new compiler path?

- Dav
« Last Edit: March 23, 2020, 11:55:47 am by Dav »

Offline bplus

  • Global Moderator
  • Forum Resident
  • Posts: 8053
  • b = b + ...
    • View Profile
Re: DAV's IDE will not run EXE when compiled with QB64 version 1.4
« Reply #2 on: March 23, 2020, 02:29:23 pm »
With QB64 updates you have to remember to reset the bullet of saving EXE in source folder under Run Menu of IDE, if that's how you do things with QB64.

Offline EricE

  • Forum Regular
  • Posts: 114
    • View Profile
Re: DAV's IDE will not run EXE when compiled with QB64 version 1.4
« Reply #3 on: March 23, 2020, 02:31:43 pm »
Hi Dav,
Compiler version, v1.3 or v1.4, was verified by opening the Dav settings file and checking the compiler path.
Version being used was also displayed during compilation of the source.

Offline EricE

  • Forum Regular
  • Posts: 114
    • View Profile
Re: DAV's IDE will not run EXE when compiled with QB64 version 1.4
« Reply #4 on: March 23, 2020, 02:37:40 pm »
Hi bplus,
The DavsIDE option, "Compile>Compiler Options...>Save EXE at the BAS location", is checked.

Offline bplus

  • Global Moderator
  • Forum Resident
  • Posts: 8053
  • b = b + ...
    • View Profile
Re: DAV's IDE will not run EXE when compiled with QB64 version 1.4
« Reply #5 on: March 23, 2020, 02:39:33 pm »
Oh that's right, Dav would have that on his own IDE for compiler :)

Offline Dav

  • Forum Resident
  • Posts: 792
    • View Profile
Re: DAV's IDE will not run EXE when compiled with QB64 version 1.4
« Reply #6 on: March 23, 2020, 03:55:29 pm »
Hi EricE.  I downloaded a fresh QB64 GL v1.4 32bit, along with the IDE.   I'm not able to duplicate the problem yet that you're getting.  EXE's are running after compile for me (I'm using Win7-32bit).   Not sure what to suggest right now, but I'll keep testing and try to find out what the problem could be. 

I don't know if there are any compiling changes from v1.3 to v1.4.  Maybe someone else can chime in on that.  I'm heavily leaning towards the problem is coming from a bug in my long neglected IDE and not in a QB64 change.

- Dav

Offline EricE

  • Forum Regular
  • Posts: 114
    • View Profile
Re: DAV's IDE will not run EXE when compiled with QB64 version 1.4
« Reply #7 on: March 23, 2020, 04:48:46 pm »
I will check on my Win7 system if the problem is seen.
If the issue is not seen on that computer, then it might be a Windows 10 issue with version 1.4.

Offline EricE

  • Forum Regular
  • Posts: 114
    • View Profile
Re: DAV's IDE will not run EXE when compiled with QB64 version 1.4
« Reply #8 on: March 23, 2020, 05:08:03 pm »
Here is some more information for the Windows 10 computer.
Using DavIDE and QB64 v1.4 to compile my test program will result in a temporary exe being created by the name of "_$DavsIDE-TEMPFILE.exe".
This exe is the executable for my program.
It appears that on a Win10 computer DavIDE cannot rename the temporary exe if QB64 version 1.4 is being used.

Offline Dav

  • Forum Resident
  • Posts: 792
    • View Profile
Re: DAV's IDE will not run EXE when compiled with QB64 version 1.4
« Reply #9 on: March 23, 2020, 05:48:23 pm »
Thank you, EricC.  That is very helpful to know the compiling is taking place.   Does the temp EXE run as expected?  My IDE should handle the temp EXE the same way regardless of QB64 version.  Strange that it's not. It may be a Win10 thing.  I think I have a Win10 laptop somewhere to test on.  I'll dig it up.

Question...does your path names or filenames have a space in them?

- Dav 

Offline SMcNeill

  • QB64 Developer
  • Forum Resident
  • Posts: 3972
    • View Profile
    • Steve’s QB64 Archive Forum
Re: DAV's IDE will not run EXE when compiled with QB64 version 1.4
« Reply #10 on: March 23, 2020, 05:55:54 pm »
Or is it a anti-virus or folder permission issue? 
https://github.com/SteveMcNeill/Steve64 — A github collection of all things Steve!

Offline EricE

  • Forum Regular
  • Posts: 114
    • View Profile
Re: DAV's IDE will not run EXE when compiled with QB64 version 1.4
« Reply #11 on: March 24, 2020, 01:59:09 am »
I have DavsIDE working now, running the generated EXE after the QB64 compiler compiles the source code.

What I did was to uninstall the QB64 versions, both 1.3 and 1.4, by deleting the folders containing them, and then reinstalling the versions in these folders:
  • C:\qb64_1.3_win_x86\qb64
  • C:\qb64_1.4_win-x86\qb64

Then running only one instance of DavsIDE when testing (I had two instances of it open at the same time!) I was able to switch back and forth between the versions by setting the Compiler options.

Thank you Dav and everyone for your suggestions regarding this.
« Last Edit: March 24, 2020, 06:17:56 am by EricE »

Offline EricE

  • Forum Regular
  • Posts: 114
    • View Profile
Re: DAV's IDE will not run EXE when compiled with QB64 version 1.4
« Reply #12 on: March 24, 2020, 06:17:33 am »
I have reproduced the problem, and found that it is due to having two instances of DavsIDE opened and with each set to use a different version of QB64 with different config settings.

DavsIDE's setting "Save EXE at the BAS location" was set to TRUE and the QB64's config.txt file setting SaveExeWithSource was set to TRUE for one version of QB64, and to FALSE for the other version.

DavsIDE would not rename and run the executable built with the QB64 version that had it's SaveExeWithSource value set to TRUE.

See post #14 below.
« Last Edit: March 24, 2020, 02:21:06 pm by EricE »

Offline EricE

  • Forum Regular
  • Posts: 114
    • View Profile
Re: DAV's IDE will not run EXE when compiled with QB64 version 1.4
« Reply #13 on: March 24, 2020, 06:59:06 am »
Problem came back, but cause was discovered.

See post #14 below.
« Last Edit: March 24, 2020, 07:49:33 am by EricE »

Offline EricE

  • Forum Regular
  • Posts: 114
    • View Profile
Re: DAV's IDE will not run EXE when compiled with QB64 version 1.4
« Reply #14 on: March 24, 2020, 07:37:26 am »
I found the essential cause of the issue.
There is a conflict between QB64's configuration setting "SaveExeWithSource" and DavsIDE's compiler option setting "Save EXE at the BAS location".

If the DavsIDE is to be used and it's setting is set to TRUE, then the QB64's setting must be set to FALSE.
« Last Edit: March 24, 2020, 09:33:39 am by EricE »