tools startig wine

Everything else that doesn't fall into one of the other PB categories.
KGB_X
User
User
Posts: 63
Joined: Tue Apr 22, 2008 6:06 pm
Location: No(r)way

tools startig wine

Post by KGB_X »

I have installed PureBasic using Wine and now i want to configure the Tools function on my Linux version of PureBasic so that when i'm creating an executable it's starting the windows version of "pbcompiler.exe"

I tried entering "wine" in "Commandline" settings.
With the following argument ".wine/drive_c/Program\ Files/PureBasic/Compilers/pbcompiler.exe %FILE %PATH/something.exe"
Event to trigger: After create Ececutable"

But this doesnt work :cry:
User avatar
Rook Zimbabwe
Addict
Addict
Posts: 4322
Joined: Tue Jan 02, 2007 8:16 pm
Location: Cypress TX
Contact:

Re: tools startig wine

Post by Rook Zimbabwe »

Not an expert on WINE or PB tols but could it be a SLASHwar??? Specifically the "\" and "/" may not be completely supported in PB for windows???
Binarily speaking... it takes 10 to Tango!!!

Image
http://www.bluemesapc.com/
KGB_X
User
User
Posts: 63
Joined: Tue Apr 22, 2008 6:06 pm
Location: No(r)way

Re: tools startig wine

Post by KGB_X »

Tried making a bash script but when running pbcompiler with Wine it seems that when using the "-e" everything is converted to uppercase:

Code: Select all

#!/usr/bin/env bash
cd /home/kgb/purecode
wine /home/kgb/.wine/drive_c/Program\ Files/PureBasic/Compilers/pbcompiler.exe $1 -e $2

Running the script manually:
sh compile.sh winetest.pb winetest.exe
gives this error:

******************************************
PureBasic 4.40 (Windows - x86)
******************************************

Compiling winetest.exe
Loading external libraries...
Error: File not found (winetest.exe).

Not getting any errors starting it from the PB editor.
KGB_X
User
User
Posts: 63
Joined: Tue Apr 22, 2008 6:06 pm
Location: No(r)way

Re: tools startig wine

Post by KGB_X »

Rook Zimbabwe wrote:Not an expert on WINE or PB tols but could it be a SLASHwar??? Specifically the "\" and "/" may not be completely supported in PB for windows???
hmm i'll try
KGB_X
User
User
Posts: 63
Joined: Tue Apr 22, 2008 6:06 pm
Location: No(r)way

Re: tools startig wine

Post by KGB_X »

no it's something else wine doesn't like.

i'm pretty bored starting virtualbox to compile windows files so i would really like to get this to work.
Post Reply