News:

Want an XLerator? Please participate in the market research thread: https://lisalist2.com/index.php/topic,594.msg4180.html

Main Menu

Missing libraries when linking a program.

Started by dmac1267, Today at 12:23:07 AM

Previous topic - Next topic

dmac1267

I am using LisaEm under Windows 11. I have made a series of test codes to learn pascal, but I seemed to have hit a wall.

Program LisaTest4;
 (*This is an example of a remark*)

 var
  i:integer;

 begin
  begin
   For i = 1 to 5 do
   WriteLn ('Hello from Apple Lisa. Line:' :i);
  end;
 end.

I know this program probably has some errors regarding the formatting. I corrected it in LPW and it compiled successfully. When it comes to linking it to create the executable program everything goes to pot. It appears that I am missing most or all libraries. I have tried linking it with normal inputs, I have also tried to use the option function to specifically declare sys1lib, iospaslib, and qd/support, to no avail. I am new to LOS and LPW so I am trying my best to work out my own problems. I have gotten some invaluable help from TorZidan with the LisaEm, but now I am stuck.

Any suggestions?

bmwcyclist

The linker needs IOSPASLIB.OBJ, SYS1LIB.OBJ and SYS2LIB.OBJ as inputs (the intrinsic units come through INTRINSIC.LIB automatically). If it says they're missing, check they're actually on the Workshop volume you booted in LisaEm — some Workshop images don't include them, and then no amount of naming them helps. Our exec files list them right after the program's own .OBJ files, then a blank line, then the output name.

I ran into this issue also.
Using my LISA for writing blogs and other work projects, and for fun and games at home.
Visit my shares on GlobalTalk! LISAGamingZone
Check out the NEW Lisa Software! https://github.com/GyroPilot
telnet theapplelisabbs.duckdns.org 1983