91
General / Re: a Unit problem?
« Last post by Thaddy on March 28, 2024, 01:10:07 pm »change:
uses graph;
to uses ptcgraph;
ptcgraph is compatible with graph and often works a bit better on linux.
should not require any other code changes.
[edit] changed uses like so:tested linux64 debian bookworm and windows11-64. No other code changes.
Note as you can see, I also changed the cthreads define a bit, because you must always use cthreads since ptc is multithreaded.
uses graph;
to uses ptcgraph;
ptcgraph is compatible with graph and often works a bit better on linux.
should not require any other code changes.
[edit] changed uses like so:
- {$mode objfpc}{$H+}
- uses
- {$IFDEF UNIX}
- cthreads,
- {$ENDIF}
- Classes,
- sysutils, ptccrt, ptcgraph;
Note as you can see, I also changed the cthreads define a bit, because you must always use cthreads since ptc is multithreaded.