New QB64 program package for moving programs

Announce and discuss the progress of your various programming-related projects...programs, games, websites, tutorials, libraries...anything!

Moderators: Pete, Mods

Post Reply
User avatar
burger2227
Veteran
Posts: 2466
Joined: Mon Aug 21, 2006 12:40 am
Location: Pittsburgh, PA

New QB64 program package for moving programs

Post by burger2227 »

I created a ZIP file that includes all of the required files when your compiled program uses a path location not in the QB64 folder. Just unzip to a new location!

Insert your program into this ZIP file. You can even rename copies of this file for downloads or emailing.

http://www.4shared.com/file/199790008/5 ... ram64.html

See the ReadMe file for more info.

Updated: 2/27/2010 for new Ming version. Will still work with older versions!

Ted
Last edited by burger2227 on Sat Feb 27, 2010 8:01 pm, edited 1 time in total.
Please acknowledge and thank members who answer your questions!
QB64 is a FREE QBasic compiler for WIN, MAC(OSX) and LINUX : https://www.qb64.org/forum/index.php
Get my Q-Basics demonstrator: https://www.dropbox.com/s/fdmgp91d6h8ps ... s.zip?dl=0
User avatar
coma8coma1
Veteran
Posts: 100
Joined: Sat Dec 08, 2007 5:29 pm
Location: Maryland, USA

Post by coma8coma1 »

Great idea, Ted!

I haven't tested it yet, but I have a question. Will this package continue to work as qb64 evolves, or will it need to be updated in the future?
User avatar
burger2227
Veteran
Posts: 2466
Joined: Mon Aug 21, 2006 12:40 am
Location: Pittsburgh, PA

Post by burger2227 »

I would assume that as QB64 evolves, I will need to add more dll files. Also Galleon plans to embed the icon into the compiler. Eventually the data folder will be eliminated.

My package does not include the compiler/IDE. It presently also creates the Data folder.

Ted
Please acknowledge and thank members who answer your questions!
QB64 is a FREE QBasic compiler for WIN, MAC(OSX) and LINUX : https://www.qb64.org/forum/index.php
Get my Q-Basics demonstrator: https://www.dropbox.com/s/fdmgp91d6h8ps ... s.zip?dl=0
User avatar
coma8coma1
Veteran
Posts: 100
Joined: Sat Dec 08, 2007 5:29 pm
Location: Maryland, USA

Post by coma8coma1 »

great, thats what I wanted to know. I'll post back when I get around to testing it out. I'll try and run one of my programs on another computer some time and see what happens. -coma8
User avatar
burger2227
Veteran
Posts: 2466
Joined: Mon Aug 21, 2006 12:40 am
Location: Pittsburgh, PA

Post by burger2227 »

Just place your program in a folder and unzip the package there too. You could then just ZIP the folder to create your own package with your program files added.

I use WINZIP.
Please acknowledge and thank members who answer your questions!
QB64 is a FREE QBasic compiler for WIN, MAC(OSX) and LINUX : https://www.qb64.org/forum/index.php
Get my Q-Basics demonstrator: https://www.dropbox.com/s/fdmgp91d6h8ps ... s.zip?dl=0
User avatar
coma8coma1
Veteran
Posts: 100
Joined: Sat Dec 08, 2007 5:29 pm
Location: Maryland, USA

Post by coma8coma1 »

Ted, I had to add two more files from the qb64 folder to make it work:

libgcc_s_sjlj-1.dll
libstdc++-6.dll

I believe these are necessary libraries.

------

edit: btw, it's working now so far, :D I will test on some friends' computers this weekend (hopefully!)
User avatar
burger2227
Veteran
Posts: 2466
Joined: Mon Aug 21, 2006 12:40 am
Location: Pittsburgh, PA

Post by burger2227 »

Those libraries are in the C folder. I've never added them because I thought the compiler needed them. Do I need the C folder too?

What kind of program uses them? What problems did you have running your program. I could add them easily if I knew which ones are necessary.

Anyhow, I have been trying to get some kind of a setup wizard going.

Galleon says he will have a way to do that eventually.
Please acknowledge and thank members who answer your questions!
QB64 is a FREE QBasic compiler for WIN, MAC(OSX) and LINUX : https://www.qb64.org/forum/index.php
Get my Q-Basics demonstrator: https://www.dropbox.com/s/fdmgp91d6h8ps ... s.zip?dl=0
User avatar
coma8coma1
Veteran
Posts: 100
Joined: Sat Dec 08, 2007 5:29 pm
Location: Maryland, USA

Post by coma8coma1 »

burger2227 wrote:Those libraries are in the C folder. I've never added them because I thought the compiler needed them.
no, they are in the main qb64 folder.
Do I need the C folder too?
I just added those two files to the program's main directory (not data). Nothing else
What kind of program uses them?
um, a crappy RPG? lol
What problems did you have running your program. I could add them easily if I knew which ones are necessary.
Code compiled fine and i packaged it all up, but after copying it all onto a hardrive and doubleclicking my exe I got an error at run time. It said

"DSQ.exe - Unable To Locate Component

This application has failed to start because libgcc_s_sjlj-1.dll was not found. Re-installing the application may fix this problem."

I copied that file over to the game's directory and then it gave me the same error for libstdc++-6.dll so I copied that one over too and tada! it worked. Then I posted my findings here.

Hope that helps.
Anyhow, I have been trying to get some kind of a setup wizard going.

Galleon says he will have a way to do that eventually.
That's awesome. Did I mention you're the man? 8)
User avatar
burger2227
Veteran
Posts: 2466
Joined: Mon Aug 21, 2006 12:40 am
Location: Pittsburgh, PA

Post by burger2227 »

I updated the missing DLL files! When something is changed(that I am aware of LOL) I have a special folder called Program64 that I add new stuff to and zip everything inside of the folder.


Ted

Updated: 2/27/2010 for new Ming version. Will still work with older versions!
Please acknowledge and thank members who answer your questions!
QB64 is a FREE QBasic compiler for WIN, MAC(OSX) and LINUX : https://www.qb64.org/forum/index.php
Get my Q-Basics demonstrator: https://www.dropbox.com/s/fdmgp91d6h8ps ... s.zip?dl=0
Post Reply