Can't compile editor

Working on new editor enhancements?
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by PB.

I'm trying to compile the editor but it's complaining that PureBasic.exe
is already running. This happens even if I try to compile it named as
something else (test.exe) and also if I change PureBasic.exe to another
name first and then compile (so it doesn't think PureBasic.exe is
running).

Any ideas?
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by tinman.
Originally posted by PB

I'm trying to compile the editor but it's complaining that PureBasic.exe is already running. This happens even if I try to compile it named as something else (test.exe) and also if I change PureBasic.exe to another name first and then compile (so it doesn't think PureBasic.exe is running).
1) Do you have the preference option ticked that says "Run only one instance"?

2) Have you tried compiling to an exe, quitting the editor and running the new one?

3) Use a different editor?


--
It's not minimalist - I'm increasing efficiency by reducing input effort.
(Win98first ed. + SP1, PB3.40)
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by PB.

> 1) Do you have the preference option ticked that says "Run only one instance"?

Ticked or unticked makes no difference.

2) Have you tried compiling to an exe, quitting the editor and running the new one?

Can't even compile an exe...

3) Use a different editor?

No, but I used to be able to do this with v3.40, so it may be a v3.50
bug or something...? Fred?
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Paul.

The source code for PB IDE 3.51 from the Resources Site compiles fine here.


----------
Visit the PB Resources Site at http://www.reelmediaproductions.com/pb
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by PB.

> The source code for PB IDE 3.51 from the Resources Site compiles fine here.
> http://www.reelmediaproductions.com/pb

Thanks Paul -- that does indeed compile for me. :)
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Danilo.

PB, there must be a problem - you are right.

Quite a few people in german forum and chat reported this
and i´ve seen this myself too.
Dont know if it is the update tool or if Fred messed
up the compiler somehow, but that 'PureBasic.exe
is already running' thing is just weird.
Sometimes it works, sometimes not - but i couldnt
get the point why and when it happened, because
it looked like its at a random rate.
On the other side, it looks more like the update
tool is producing all this things, but i´m not sure.

Addition: I´m not talking about compiling the
Editor source. All people that reported this
got it with compiling different (own) projects
that worked very fine with PB 3.40.

cya,
...Danilo
(registered PureBasic user)
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by fred.

Any chance to get the sources of faulty program, or even full PB directory trees ? I could take a closer look.

Fred - AlphaSND
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by tranquil.

At work I hade the same problem and then I encountered that there was a Userlib (System2) that has the Day command collided with the Daycommand of PB. After deleting it everything works fine.

Mike

Tranquilizer/ Secretly!
http://www.secretly.de
Registred PureBasic User
System: Windows 2000 Server, 512 MB Ram, GeForce4200 TI 128 MB DDR, Hercules Theater 6.1 DTS Sound
System 2: Mobile Pentium 4 2.4GHz 512 MB DDR GeForce4 420-32, Windows XP Home
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by tinman.

Just a note to let you know that the latest editor source from the CVS tree compiled OK with my PB setup (it's 3.50 despite what my signature says :)

--
It's not minimalist - I'm increasing efficiency by reducing input effort.
(Win98first ed. + SP1, PB3.40)
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by DemonHell.
Originally posted by tranquil

At work I hade the same problem and then I encountered that there was a Userlib (System2) that has the Day command collided with the Daycommand of PB. After deleting it everything works fine.
I had the same thing a few hours ago when I installed PB 3.50. Installed fine, started PB and it said something about a duplicated command called "InitCamera", but the editor carried on working until I came to compile my source..then it told me the compiler wasn`t ready.

Fred, would it be possible to make the error message say what 2 libs are clashing, and also give a requester to either quit PB, or carry on working in "edit only" mode ?
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by fred.

Ok.

Fred - AlphaSND
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by dmoc.

Any update on the cause of this error? My application consists of ten file and if there is a clash it not going to be easy to find.
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by DemonHell.
Originally posted by dmoc

Any update on the cause of this error? My application consists of ten file and if there is a clash it not going to be easy to find.
If it`s any help, I tried to compile the 3.53 editor sources, and kept being told that I hadn`t given the RSET() command enough parameters.
Turned out to be a clash between the Rset$ of Userlibs\StringLibraryEx, and the new Rset command in PB.
I just removed the userlib, and it compiled fine.( I later changed the name of the Rset$ to Rsetx using a HexEditor, and that works too)
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by dmoc.

Thanks for the tip but how did you find what was clashing?
PS - I'm not actually compiling the editor just my own code.

Update: viewtopic.php?t=5032
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by DemonHell.
Originally posted by dmoc

Thanks for the tip but how did you find what was clashing?
PS - I'm not actually compiling the editor just my own code.
PureBasic`s editor was telling me the syntax for RSet() was wrong, even though I was using it the way the manual said. As I only had 4 userlibs installed, it didn`t take long to look through each with a hexeditor to see if there were any similar commands.

Another that happened today caused the same error "Can`t create `PureBasic.exe`file (already running?)"
Turned out, I had "Enable ASM support" enabled, and the name of one of my variables was an ASM command !

Maybe the Editor could check variable and procedure names for clashes against ASM commands.
Post Reply