Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
(freebasic for dos:) ld.exe: cannot find -lfbgfx
#3
in the docs section, theres a text file about gfix2lib, but no such file installed.

apparantly i need this library to do anything with graphics, including change the screen mode. (using dos)

i can't currently compile my new program, which compiles fine until i add this command:

screen 13

it would be really absurd for someone to make a free version of basic but make it so you can't PSET or CIRCLE outside of windows and linux.

that's it. i can't change to screen 13 because this library isnt included. here's some of the text file i was talking about: there are no files anywhere that seem to coincide with this doc:

GFXlib 2 - FreeBASIC's gfx library
----------------------------------

Copyright © 2005 Angelo Mottola (a.mottola@libero.it)



Welcome to GFXlib 2. This library is meant to supply FB with an emulation of
the QB built-in gfx routines, but also to give users more possibilities than
QB provided, like high resolutions and hi/truecolor, MMX optimized routines,
mouse and keyboard (multiple keypresses) handling, transparent PUT support
with clipping done right, multiple offscreen pages in any gfx mode.
It also supports setting up an OpenGL mode so you can do your own OpenGL
coding without worrying about platform dependent initializations.

This document holds a reference of the available functions in alphabetical
order, together with small inline examples where appropriate and with remarked
differences with their QB counterparts. You'll also find some appendices for
special topics.

Some useful constants are defined in the fbgfx.bi include file for you to use,
you may want to have a look at it, it's in your FreeBASIC/inc directory.

Happy coding!


Index
------------------------------------------------------------------------------

Functions reference:
BLOAD statement
BSAVE statement
CIRCLE statement
COLOR statement
DRAW statement
FLIP statement
GET statement
GETMOUSE statement
INP function
LINE statement
MULTIKEY function
OUT statement
PAINT statement
PALETTE statement
PCOPY statement
PMAP statement
POINT function
PSET statement
PUT statement
RGB macro
SCREEN statement
SCREENCOPY statement
SCREENINFO function
SCREENLOCK statement
SCREENPTR function
SCREENRES statement
SCREENSET statement
SCREENUNLOCK statement
SETMOUSE statement
VIEW statement
WAIT statement
WINDOW statement
WINDOWTITLE statement
Appendix A: DOS keyboard scancodes
Appendix B: Default palettes
Appendix C: Internal pixel formats
Appendix D: About speed and size
Appendix E: Internal drivers
Appendix F: Hints
Reply


Messages In This Thread
i'm pretty sure i'm *supposed* to have the library - by mennonite - 04-15-2005, 08:00 AM
so far... - by mennonite - 04-17-2005, 12:10 PM
Re: so far... - by Z!re - 04-17-2005, 05:41 PM
Re: so far... - by adosorken - 04-18-2005, 01:20 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)