Forum > Beginners
Crash in Assign()
Steve Baxter:
That doesn't work unfortunately:
--- Code: Pascal [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---TEST.P(2225,5) Error: Identifier not found "FPC_INITIALIZEUNITS"TEST.P(2254) Fatal: There were 1 errors compiling module, stoppingFatal: Compilation aborted
I might have to rearrange this as a dynamic library.
Thaddy:
How doesn't that work? did you actually link against system? Because that is what PascalDragon explained. If you leave that out, indeed, make it a shared library.
Steve Baxter:
I thought system was included always? Anyway I've moved this to be a dynamic lib which has fixed all the problems.
PascalDragon:
--- Quote from: Steve Baxter on July 10, 2024, 04:11:06 pm ---I thought system was included always? Anyway I've moved this to be a dynamic lib which has fixed all the problems.
--- End quote ---
You need to make sure that the system.o is indeed included in your static library.
Navigation
[0] Message Index
[*] Previous page