Pete's QBASIC Site Forum Index Pete's QBASIC Site
Return to Pete''s QBasic Site
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

New QB64 program package for moving programs

 
Post new topic   Reply to topic    Pete's QBASIC Site Forum Index -> News and Announcements
View previous topic :: View next topic  
Author Message
burger2227



Joined: 21 Aug 2006
Posts: 888
Location: Pittsburgh, PA

PostPosted: Sun Jan 17, 2010 9:50 pm    Post subject: New QB64 program package for moving programs Reply with quote

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/57873050/Program64.html

See the ReadMe file for more info.

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

Ted
_________________
Please acknowledge that you have read an answer!
QB64 is a FREE QBasic compiler for 32/64 bit WIN and LINUX PC's! : http://www.qb64.net/forum/
Get my Q-Basics demonstrator here (fast download): http://dl.dropbox.com/u/8440706/Q-Basics.zip


Last edited by burger2227 on Sat Feb 27, 2010 8:01 pm; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail
coma8coma1



Joined: 08 Dec 2007
Posts: 94
Location: Maryland, USA

PostPosted: Fri Feb 26, 2010 3:50 am    Post subject: Reply with quote

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?
Back to top
View user's profile Send private message AIM Address
burger2227



Joined: 21 Aug 2006
Posts: 888
Location: Pittsburgh, PA

PostPosted: Fri Feb 26, 2010 3:28 pm    Post subject: Reply with quote

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 that you have read an answer!
QB64 is a FREE QBasic compiler for 32/64 bit WIN and LINUX PC's! : http://www.qb64.net/forum/
Get my Q-Basics demonstrator here (fast download): http://dl.dropbox.com/u/8440706/Q-Basics.zip
Back to top
View user's profile Send private message Send e-mail
coma8coma1



Joined: 08 Dec 2007
Posts: 94
Location: Maryland, USA

PostPosted: Fri Feb 26, 2010 4:19 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message AIM Address
burger2227



Joined: 21 Aug 2006
Posts: 888
Location: Pittsburgh, PA

PostPosted: Fri Feb 26, 2010 4:56 pm    Post subject: Reply with quote

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 that you have read an answer!
QB64 is a FREE QBasic compiler for 32/64 bit WIN and LINUX PC's! : http://www.qb64.net/forum/
Get my Q-Basics demonstrator here (fast download): http://dl.dropbox.com/u/8440706/Q-Basics.zip
Back to top
View user's profile Send private message Send e-mail
coma8coma1



Joined: 08 Dec 2007
Posts: 94
Location: Maryland, USA

PostPosted: Sat Feb 27, 2010 4:23 am    Post subject: Reply with quote

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, Very Happy I will test on some friends' computers this weekend (hopefully!)
Back to top
View user's profile Send private message AIM Address
burger2227



Joined: 21 Aug 2006
Posts: 888
Location: Pittsburgh, PA

PostPosted: Sat Feb 27, 2010 1:02 pm    Post subject: Reply with quote

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 that you have read an answer!
QB64 is a FREE QBasic compiler for 32/64 bit WIN and LINUX PC's! : http://www.qb64.net/forum/
Get my Q-Basics demonstrator here (fast download): http://dl.dropbox.com/u/8440706/Q-Basics.zip
Back to top
View user's profile Send private message Send e-mail
coma8coma1



Joined: 08 Dec 2007
Posts: 94
Location: Maryland, USA

PostPosted: Sat Feb 27, 2010 5:18 pm    Post subject: Reply with quote

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.

Quote:
Do I need the C folder too?


I just added those two files to the program's main directory (not data). Nothing else

Quote:
What kind of program uses them?


um, a crappy RPG? lol

Quote:
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.

Quote:
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? Cool
Back to top
View user's profile Send private message AIM Address
burger2227



Joined: 21 Aug 2006
Posts: 888
Location: Pittsburgh, PA

PostPosted: Sat Feb 27, 2010 8:05 pm    Post subject: Reply with quote

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 that you have read an answer!
QB64 is a FREE QBasic compiler for 32/64 bit WIN and LINUX PC's! : http://www.qb64.net/forum/
Get my Q-Basics demonstrator here (fast download): http://dl.dropbox.com/u/8440706/Q-Basics.zip
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Pete's QBASIC Site Forum Index -> News and Announcements All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group
Protected by Anti-Spam ACP