Qbasicnews.com

Full Version: FB .11 Realeased!
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Check it out at www.freebasic.net

VonGodric, wheres you FBIDE+FB package?

:bounce:
I was happy about that until I found I cannot use it...

First some examples went fine and suddenly some not. Then I found something must be missing...
Ok I thought lets dl some dll and put it into system32....

There is this nice list in readme.txt so I start looking on that websites.
But.... They don´t tell me what I need from them neither where I put it.

So I need some more information, what I need and where do I put that?
For example Freeimage, I was hoping to find just a dll, but so many things in that folder, what do I do with all that stuff....


Mipooh
To Mipooh:

Man, I will be *quite* happy to tell you where the missing .DLLs are located. Big Grin

For the download page of the official FreeImage website on SourceForge, the thing for you to look for is the link called FreeImage 3.5.3 [WIN32]. Click that link to download the .DLL there. Upon download, there is gonna be a *lot* of files, but you will eventually find the FreeImage .DLL within them. Cool

Another great place to look for many SDL-based library .DLLs are these following links:
The thing to look for here are the Binaries (or Runtimes) within them four, because they are where the actual .DLLs are located. Smile !

And also, the possible download of SDL_gfx.dll is here for you. Finally, as for the Allegro 4.0 runtimes (required for the Allegro starfield demo in FB), you can download them right here! Big Grin

Enjoy them all, Mipooh, and be sure to place the .DLLs in the *exact* place that the compiled programs in FB are located for best results, alright? Wink=b

Catch you later!! :king:



DOING MY UTMOST BEST TO GET YOU THROUGH,

[Image: file.php?id=32]
Adigun Azikiwe Polack
One of the Founders of “Aura Flow”
Continuing Developer of “Frantic Journey”
Current Developer of “Star Angelic Slugger”
Webmaster of the “AAP Official Projects Squad”
I think, what is confusing me is, that some examples worked fine in my old install. For the 0.11 I installed new, and I am no more aware of the changes I made in the old install.
I was hoping for an easier way to handle all this .dll-stuff. I would exspect the needed files in a folder of the freebasic-install, where they could be used by any program or example that would need them.
Or together with the examples a readme file where would be explained what file I have to put into what place to get them run.
At the moment some examples here run in the compiled form nicely, but the .bas-version fails. When I check the included files, they are here, so I wonder why they cannot be used.
Maybe most of you are more familiar with the use of libraries...
(and maybe I have some "old" examples that cannot run because I use the "wrong" gfxlib....)
Mipooh
You need to put the DLLs either in the Windows system directory (system32 on NT-based systems - 2K/XP+) or in the same directory as the program using them.
speaking of examples that worked in previous versions ... I recently installed FB 0.11b and tried to compile a fairly complex program of mine. it compiled just fine with the previous version, but now I was confronted with this:

Code:
G:\ps>fbc stat06fb.bas
stat06fb.o(.text+0x430b):fake: undefined reference to `fb_StrConcatAssign@16'
stat06fb.o(.text+0x634b):fake: undefined reference to `fb_StrConcatAssign@16'
stat06fb.o(.text+0x858b):fake: undefined reference to `fb_StrConcatAssign@16'
stat06fb.o(.text+0x8731):fake: undefined reference to `fb_StrConcatAssign@16'
stat06fb.o(.text+0x92b8):fake: undefined reference to `fb_StrConcatAssign@16'
stat06fb.o(.text+0x92cf):fake: more undefined references to `fb_StrConcatAssign@
16' follow
stat06fb.o(.text+0xb08e):fake: undefined reference to `fb_FileLineInput@12'
stat06fb.o(.text+0xb0be):fake: undefined reference to `fb_FileLineInput@12'
stat06fb.o(.text+0xb202):fake: undefined reference to `fb_FileLineInput@12'
stat06fb.o(.text+0xb232):fake: undefined reference to `fb_FileLineInput@12'
stat06fb.o(.text+0xdc12):fake: undefined reference to `fb_FileLineInput@12'
stat06fb.o(.text+0xdc83):fake: more undefined references to `fb_FileLineInput@12
' follow
stat06fb.o(.text+0xe519):fake: undefined reference to `fb_StrConcatAssign@16'
stat06fb.o(.text+0xe955):fake: undefined reference to `fb_StrConcatAssign@16'
stat06fb.o(.text+0x12a68):fake: undefined reference to `fb_StrConcatAssign@16'
stat06fb.o(.text+0x12e57):fake: undefined reference to `fb_StrConcatAssign@16'
stat06fb.o(.text+0x13ba7):fake: undefined reference to `fb_StrConcatAssign@16'
stat06fb.o(.text+0x13bc6):fake: more undefined references to `fb_StrConcatAssign
@16' follow

and honestly, I have no idea what to make of this. a missing file on my end? something broken in the libraries or the compiler itself?

any help is appreciated.
It's probably a misincluded lib or you forgot to initialize a lib.
Quote:undefined reference to `fb_StrConcatAssign@16'

How are you combining strings. It looks as if the compiler is choking on a way you are added two strings together to make a single string.

You know:

Code:
talk1 = "Hello, " + playername + ", how are you?"
print talk1
Quote:stat06fb.o(.text+0xe519):fake: undefined reference to `fb_StrConcatAssign@16'
This is usually because of improper calling convention. Try using CDECL in the declare for the function.
Pages: 1 2