Error using MiniB3D's Blitz3DSDK mod
BlitzMax Forums/MiniB3D Module/Error using MiniB3D's Blitz3DSDK mod
| ||
I am using MiniB3D's version of the Blitz3DSDK module (which removes the 'bb' prefix from function names). When I try to compile a program made with it, I get the following error: Compile Error: Duplicate identifier 'Flip' in modules 'blitz3d.blitz3dsdk' and 'brl.graphics' I am inclusing the following modules in my program: Framework Blitz3D.Blitz3DSDK Import BRL.MaxGui Import BRL.Win32MaxGui Import BRL.Timer Import BRL.EventQueue How can I fix this? |
| ||
The problem is that brl.maxgui imports brl.graphics which includes the standard Flip. One solution would be to add a Flip Function to your app which should look like:Function Flip() Blitz3D.Blitz3DSDK.Flip() End Function I don't know if it will work its just a guess. |
| ||
Didn't know that modules work as namespaces, it works now :) Thanks! |