creating a qlb from c code can't find N_FTOL@ symbol
Posted: Wed Apr 17, 2013 8:36 pm
I'm working on building a 3d rendering library in c / asm that qbasic can call down to. Essentially so I can have a "renderPolygons" function.
I'm building the c code in turbo C++ 3.0, but when i link it can't figure out how to convert floats to ints. I.E. "float b; int a = (int)b;" gives a linker error. This is troublesome as while I can compute all the data i need, when it comes time to actually blit the scanlines i'm at a loss how to avoid doing this.
Does anyone know what i should be linking this against? the libraries with turbo C don't seem to be very sensically named.
I'm building the c code in turbo C++ 3.0, but when i link it can't figure out how to convert floats to ints. I.E. "float b; int a = (int)b;" gives a linker error. This is troublesome as while I can compute all the data i need, when it comes time to actually blit the scanlines i'm at a loss how to avoid doing this.
Does anyone know what i should be linking this against? the libraries with turbo C don't seem to be very sensically named.