Problem using 'Volumes' mod.
BlitzMax Forums/Brucey's Modules/Problem using 'Volumes' mod.
| ||
It's probably just me being stupid, but there's something I can't figure out. I've compiled the volumes mod to test it and it compiled fine and if I run the included example it works fine. SuperStrict Framework BaH.Volumes Import BRL.Standardio Print GetUserDocumentsDir() However, when I try to use it in my current project I get this error; Compile Error: Framework does not match commandline framework Build Error: failed to compile C:/Documents and Settings/sb/Dokuments/Blitz/game/game.bmx This is how the top of my program looks. The troublesome line is the Framework BaH.Volumes one and no matter where I put it I get the error above. Framework brl.D3D7Max2D Import brl.Retro Import brl.Random Import brl.PNGLoader Import brl.JPGLoader Import brl.FreeAudioAudio Import brl.OGGLoader Import pub.FreeJoy Import brl.Retro Import brl.DXGraphics SetGraphicsDriver D3D7Max2DDriver() Framework bah.Volumes Import brl.Standardio I am using BLIde if that is relevant. What am I doing wrong? |
| ||
You can only use framework once -- change the Framework bah.volumes to: import bah.volumes and it should all be working fine. |
| ||
Perfect! I did think it didn't make sense to be able to import two frameworks, but it didn't occur to me that it could be imported instead. Thanks. [imagine a thumbs-up smiley here] :) |