RunProgram() & IncludeBinary"" ~ don't work?

Linux specific forum
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 boop64.

Hi I new to the forums, but I was wondering if anyone else is having trouble with the RunProgram() function? I keep trying it but it always returns this error while compiling:

PureBasic.o(.text+0x2a): undefined reference to `PB_RunProgram'

There is a way to use asm and this api call sys_execve, but my skills are lacking in that area, and if someone could help that would be great!

Oh and I also noticed that the IncludeBinary function wouldn't work right either. No matter what path or file name you give it, it can never find the file or says the file does not exist.

Well that is my two cents for now and since I'm new at this I won't take up too much of your time.
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 pbdep.
Originally posted by boop64

Hi I new to the forums, but I was wondering if anyone else is having trouble with the RunProgram() function? I keep trying it but it always returns this error while compiling:

PureBasic.o(.text+0x2a): undefined reference to `PB_RunProgram'

There is a way to use asm and this api call sys_execve, but my skills are lacking in that area, and if someone could help that would be great!

Oh and I also noticed that the IncludeBinary function wouldn't work right either. No matter what path or file name you give it, it can never find the file or says the file does not exist.

Well that is my two cents for now and since I'm new at this I won't take up too much of your time.
Hello Boop64,

Correct I get the same problem here, although it seems that RunProgram is included in Mics3 Lib I get the same error while compiling...

Looks like the Lib Misc2 or "RunProgram" is not defined in the Main program :) This is a bug....

Regards,
Norman.
Post Reply