Page 1 of 1

New QB64 program package for moving programs

Posted: Sun Jan 17, 2010 9:50 pm
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

Posted: Fri Feb 26, 2010 3:50 am
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?

Posted: Fri Feb 26, 2010 3:28 pm
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

Posted: Fri Feb 26, 2010 4:19 pm
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

Posted: Fri Feb 26, 2010 4:56 pm
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.

Posted: Sat Feb 27, 2010 4:23 am
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!)

Posted: Sat Feb 27, 2010 1:02 pm
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.

Posted: Sat Feb 27, 2010 5:18 pm
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)

Posted: Sat Feb 27, 2010 8:05 pm
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!