PDA

View Full Version : Error Messages



mombasa
- 19th June 2016, 11:18
I'm now using Picbasic Pro 3.0.6.1. When I INCLUDE "LCDbar_INC.bas", I have this error messages:

Macro DIV32?WW not found in marco file
Macro DIV32?CW not found in macro file

can help me ? Thanks

HenrikOlsson
- 19th June 2016, 12:34
Hi,
This is a longshot but I don't Think DIV32 is supported when compiling with LONGs enabled so if that's what you're doing try disabling LONGs and see if it will compile. If that's what's happening AND you're actually using LONGs in your program well, then you're screwed and will need to change LCDbar_INC.bas

/Henrik.

mombasa
- 19th June 2016, 16:09
Thanks Henrik, you were right, if I disable LONGs is all ok. The problem is that I need both functions. Do you think there is no solution?

HenrikOlsson
- 19th June 2016, 19:30
OK, in that case I'm sorry for being right :-)
No, short of digging into the LCD_Bar include file and replacing the code that is using the DIV32 macros with code that doesn't there is no solution.

When you're using LONGs there's no need for the DIV32 command so it's not included in the LONG-enabled version of library files. It MIGHT be possible to "hack" them back in but I don't know how to do that.

Without ever having looked at the LCD_Bar file(s) I think rewriting those is your best bet.

/Henrik.

mombasa
- 19th June 2016, 21:06
Henrik thanks for your help and for your time. Regards