Page 1 of 1

Duplicated library command: Abs() (in libraries Math and Math).

Posted: Thu Jan 26, 2023 8:45 pm
by DrShrek
Using Subsystem 'C'
and get this error starting compiler
---------------------------
PureBasic - Compiler Error
---------------------------
Duplicated library command: Abs() (in libraries Math and Math).
---------------------------
OK
---------------------------

Re: [6.01] Duplicated library command: Abs() (in libraries Math and Math).

Posted: Fri Jan 27, 2023 5:54 am
by jacdelad
Code? Also, "libraries Math and Math"? Are you a bot?

Re: [6.01] Duplicated library command: Abs() (in libraries Math and Math).

Posted: Fri Jan 27, 2023 7:20 am
by StarBootics
jacdelad wrote: Fri Jan 27, 2023 5:54 am Code? Also, "libraries Math and Math"? Are you a bot?
Probably not. And for the code, a simple :

Code: Select all

Debug Abs(-25)
But you have to add c as subsystem in the compiler options.

By the way this happen only with the ASM backend not with the C backend.

Best regards
StarBootics

Re: [6.01] Duplicated library command: Abs() (in libraries Math and Math).

Posted: Fri Jan 27, 2023 9:09 am
by DrShrek
jacdelad wrote: Fri Jan 27, 2023 5:54 am Code? Also, "libraries Math and Math"? Are you a bot?
I use no code.
Only add C as Subsytem on the compiler options and try to compile.
jacdelad wrote: Fri Jan 27, 2023 5:54 am Are you a bot?
No! Im 'icesoft' but my account is not working longer. Boardadmin (RSBASIC) is informed.

Re: [6.01] Duplicated library command: Abs() (in libraries Math and Math).

Posted: Fri Jan 27, 2023 10:49 am
by juergenkulow
Image
I think this is a problem of documentation.
Image
Image
Leave the Subsystem field empty and select the C backend compiler as the compiler used.
Image

Re: [6.01] Duplicated library command: Abs() (in libraries Math and Math).

Posted: Fri Jan 27, 2023 11:30 am
by DrShrek
Thanks.