Hello
I'm having problems compiling the 2nd gen gas detection algorithm libraries. When I try to build the program, I keep getting this same error:
"C:\Program Files\Microchip\xc8\v2.36\pic\sources\c99\common\roundf.c:12:: error: (1098) conflicting declarations for variable "_roundf" (/builds/industrial/zmod4xxx/zmod4xxx_generic_example/libraries/oaq_2nd_gen/src/oaq_2nd_gen.c:261)(908) exit status = 1"I already tried a few possilble solutions, but to no avail. Since I can´t change the library source code, I was wondering if you guys could help.I'm using MPLAB v6.05, with xc8 v2.40 and a PIC18F27K42 MCU.Any help would be greatly appreciated.Best regards,Carlos Silva
Hi Carlos,
Thanks for reaching to the Renesas Engineering Community. Could you please share the circuit schematic and code for our better understanding? Please mention the library that you have used in your program.
Regards:
Raja
Hello Raja,
Thanks for the response.
Sorry, forgot to mention that. I am using the AirQuality 8 from MIKROE. I have attached a PDF of their schematic.
I used the 2nd gen library for Microchip PIC, the version for PIC18F57K42.
Schematic:
Air_Quality_8_click_v101_Schematic.pdf
Project:
ZMOD4510_2nd_Gen.X.zip
Hi, Carlos,
Sorry to say that our library file does not support your specific target MCU. Currently our library supports the following Microchip MCU:
Note: We are going to release new firmware soon in which we will provide library file for more MCU also.
Raja.
Hello Raja,That is really weird since the first gen library should not be supported aswell, and works flawlessly on this MCU... I don´t think the problem is the target MCU, but I can't test it on the supported ones because I have none in stock. Having said this, can you give me a rough estimate of how soon will the new firmware be available?Best regards:Carlos
What is the suffix of PIC18F27K42?
You have been added to the moderated user list because you have breeched our community policy with repeated commercial solicitation in response to threads.
All future posts from this user will be queued for review prior to posting to the forum. Continued infraction will result in your removal from the community.
REC Community Manager