News:

Building a 3D Ray Tracer  By stevmjon

Main Menu

Compiling the source file.

Started by SpellSword, September 20, 2007, 03:09:11 PM

Previous topic - Next topic

SpellSword

I'm currently trying to compile one of my projects with the Deploy command; this is the first time I've tried to create an .exe from a source in PB. (Hope compile is what I think it is... )

I've registered all the image files my program uses in the Projects > Manage Media Files menu. When I choose Deploy from the Projects menu all the image files and sub-directories are created in the directory I select. However, the .exe of the source file is created in the directory where the source file was instead of the chosen directory of the Deploy command.

Moving the .exe manually to the chosen directory is easy enough, but I'm pretty sure there's a way to create it there as well when the program is compiled.

What am I missing? Or am I going about this the wrong way?

Also, is there a way to include/place/store the media/non-source files that your program uses inside its .exe when it's compiled?
When I dream,
I carry a sword in one hand,
a gun in the other...

kevin

#1
  Deploy Bug (login required)

SpellSword

Ah, so it's a bug.
No problem then. The work around of manually copying is easy enough for now.

Thanks for the quick reply.

Quote from: SpellSword on September 20, 2007, 03:09:11 PM
Is there a way to include/place/store the media/non-source files that your program uses inside its .exe when it's compiled?
I didn't say that very clearly; it looks kind of jumbled.  :-[
What I was trying to ask was if there's a way of creating a stand alone .exe with all the media inside it?Error Missing Closing Square Bracket
When I dream,
I carry a sword in one hand,
a gun in the other...

kevin

QuoteWhat I was trying to ask was if there's a way of creating a stand alone .exe with all the media inside it?

   PB doesn't support 'binding' the media onto/into the exe at this time.    There are plans for a pack file system however, but when that will appear is anybodies guess at this point.


nrasool

Hey SpellSword, have a look at Molebox: http://www.molebox.com/, it is a paid for utilitity but it is great. I use it for Blitzbasic 3d, VB (so I can Register ActiveX components) and C++. It great and it doesn't extract the media, music, etc to a temp folder. Only drawback is that it may not work with Windows 98 and below

Hope that helps.

SpellSword

#5
@kevin:
Glad to hear that feature is planned for the future, even if it's the distant future.

@nrasool:
MoleBox looks pretty good, and at €119 for the MoleBox Pro single developer license, the price is reasonable. Thanks for pointing me to it; it looks like it will definitely be useful.


Sorry about how long it took me to reply. My router burned out and left me without reliable internet access for the last few days. Back up and running now, though.
When I dream,
I carry a sword in one hand,
a gun in the other...