Support > Installation

Windows 2.1 RC1 install

<< < (2/4) > >>

John Spikowski:
Armando created a zip of the current 3rd party DLLs that the extension modules use. Unzip this into \WINDOWS\System32 directory.

http://www.scriptbasic.org/download/Scriba_WIN_RC_Dll_Pack.zip

ScriptBasic uses a compiled form of it's configuration file to run. If you would like to modify your configuration then follow these steps.

[*]cd to your /scriptbasic/bin directory and you should find a scriba.conf.txt file. Make your changes to this text version of the configuration file.
[*]Create the binary version with the following command.
[/list]
--- Code: ---scriba -k scriba.conf.txt
--- End code ---
[*]If you don't have or trust you have a current text version of your configuration, then you can dump the configuration to text file with the following command.

--- Code: ---scriba -D > scriba.conf.txt
--- End code ---

Check out the documentation for the configuration file structure on the ScriptBasic Wiki.

http://www.scriptbasic.org/wiki/index.php?title=ScriptBasic_Configuration_File

btechint:
I put the .dll files in the \system32 dir and checked the conf file. The default file looked ok so run the command to complie. Upon testing the gd module, my program starts, but errors at the first use the the graphics module. Are the GD commands the same or have they been changed?

Is this the library that is being used?
http://www.libgd.org/Main_Page

Support:
Can you post your code so we can have a look at what might be going wrong?

It sounds like your having issues loading the extension module. Use the -d command to debug the extension module loading part of your program before your code even starts to run.

scriba -d yourpgm.bas

btechint:
G:\hdrive\sbcode\wrk\ser>scriba -d sm.sb
Searching installed module header file 'gd.bas' ...
Checking installed module header file location 'c:\scriptbasic\include\gd.bas' Result=OK
Including file 'c:\scriptbasic\include\gd.bas'
491
0
469
AA.png

error:
scriba.exe has encountered a problem and needs to close.  We are sorry for the inconvenience.

-------
It failing on the first use of gd.

the gd commands work fine in the old version, not in the new version


Support:

--- Quote ---the gd commands work fine in the old version, not in the new version
--- End quote ---

When you say "old version", do you mean the beta 2.1 that installs with a setup program?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version