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

Just starting out? Need help? Post your questions and find answers here.
DrShrek
New User
New User
Posts: 7
Joined: Thu Jan 26, 2023 8:43 pm

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

Post by DrShrek »

Using Subsystem 'C'
and get this error starting compiler
---------------------------
PureBasic - Compiler Error
---------------------------
Duplicated library command: Abs() (in libraries Math and Math).
---------------------------
OK
---------------------------
User avatar
jacdelad
Addict
Addict
Posts: 1436
Joined: Wed Feb 03, 2021 12:46 pm
Location: Planet Riesa
Contact:

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

Post by jacdelad »

Code? Also, "libraries Math and Math"? Are you a bot?
PureBasic 6.04/XProfan X4a/Embarcadero RAD Studio 11/Perl 5.2/Python 3.10
Windows 11/Ryzen 5800X/32GB RAM/Radeon 7770 OC/3TB SSD/11TB HDD
Synology DS1821+/36GB RAM/130TB
Synology DS920+/20GB RAM/54TB
Synology DS916+ii/8GB RAM/12TB
User avatar
StarBootics
Addict
Addict
Posts: 984
Joined: Sun Jul 07, 2013 11:35 am
Location: Canada

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

Post 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
The Stone Age did not end due to a shortage of stones !
DrShrek
New User
New User
Posts: 7
Joined: Thu Jan 26, 2023 8:43 pm

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

Post 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.
juergenkulow
Enthusiast
Enthusiast
Posts: 544
Joined: Wed Sep 25, 2019 10:18 am

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

Post 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
Please ask your questions, because switch on the cognition apparatus decides on the only known life in the universe.Wersten :DDüsseldorf NRW Germany Europe Earth Solar System Flake Bubble Orionarm
Milky Way Local_Group Virgo Supercluster Laniakea Universe
DrShrek
New User
New User
Posts: 7
Joined: Thu Jan 26, 2023 8:43 pm

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

Post by DrShrek »

Thanks.
Post Reply