Home | Reviews | GUIpedia | Forum | Fun500


JasonDebug → Assemble → Link
Okay, so, guys, I got the .OBJ file by typing "ml /c vesacore.asm", using Microsoft Macro Assembler 6.14.8444 Then I copied the .OBJ to my QuickBASIC folder and typed "link /qu vesacore.obj", but I got these "external" errors: Microsoft Windows [Version 6.1.7600] Copyright (c) 2009 Microsoft Corporation.
All rights reserved.

C:\Programming\QuickBasic>link /qu vesacore.obj
Microsoft (R) Overlay Linker Version 3.69 Copyright (C) Microsoft Corp 1983-1988.
All rights reserved.

Run File [VESACORE.QLB]:
List File [NUL.MAP]:
Libraries [.LIB]:
LINK : error L2043: Quick Library support module missing
VESACORE.OBJ(vesacore.asm) : error L2029 : 'SVGAMouseOn' : unresolved external VESACORE.OBJ(vesacore.asm) : error L2029 : 'TempCursorBufferX' : unresolved exte rnal VESACORE.OBJ(vesacore.asm) : error L2029 : 'TempCursorBuffer' : unresolved exter nal VESACORE.OBJ(vesacore.asm) : error L2029 : 'CursorBuffer' : unresolved external
: error L2029 : '__aulstart' : unresolved external There were 6 errors detected C:\PROGRA~3\QUICKB~1> I'd imagine that I need to include some other files with link (it _links_ files at a random guess?) Here's a list of files that came with the Future Library version 3.5: 45 directory
  EXPORT.OBJ
  FUTURE.OBJ
  IMPORT.OBJ
  QB3D.OBJ
  QBEMS.OBJ
  QBUFONTS.OBJ
  QBXMS.OBJ
  SOUND.OBJ
  SVGA.OBJ
  VER.OBJ

SHARED directory
  BLEND256.OBJ
  FTIME.OBJ
  KBH.OBJ
  SBCORE.OBJ
  SVGA3D.OBJ
  SVGAEMS.OBJ
  SVGAMOUS.OBJ
  SVGASCRO.OBJ
  SVGAXMS.OBJ
  UFONT.OBJ
  VESACORE.OBJ
  XMS.OBJ FUTURE.OBJ really stands out; I would try linking it with VESACORE.OBJ but I don't know how Please TheGUIBlog! Pimp my code!
2011-01-2612:56 PM

ToddRe:Debug → Assemble → Link
"External" errors are usually related to a function or subroutine that cannot be found since the VESACORE.OBJ file references it somewhere in the code. It's like trying to compile a GUI without the QB.QLB library.   VESACORE.OBJ(vesacore.asm) : error L2029 : 'SVGAMouseOn' : unresolved external
VESACORE.OBJ(vesacore.asm) : error L2029 : 'TempCursorBufferX' : unresolved exte rnal
VESACORE.OBJ(vesacore.asm) : error L2029 : 'TempCursorBuffer' : unresolved exter nal
VESACORE.OBJ(vesacore.asm) : error L2029 : 'CursorBuffer' : unresolved external : error L2029 : '__aulstart' : unresolved external There were 6 errors The errors above mean that VESACORE.OBJ depends on files that provide the "SVGAMouseOn", "TempCursorBufferX", "TempCursorBuffer", and "CursorBuffer" subroutines. Judging by the filenames, I'd say you'd need to link VESACORE with "SVGAMOUS.OBJ". Just scan the ASM files for these subroutines and link them together. Assembly is different than QB or C++ in that Assembler does not import code from other files in the project unless you link them.
2011-01-266:29 PM

JasonRe:Debug → Assemble → Link EDITED
Great! I'll try that. So I just type link /qu vesacore.obj svgamous.obj I imagine? I'll try various ways. BTW, I like how your signature always leads on from your post :P EDIT: I don't know how to link them together? I tried using lib, I'm just improvising, and there are no tutorials on the net explaining how to do this.
2011-01-269:23 PM

BASIC Programming Help


2021 Brandon Cornell