ummerland Posted February 25, 2012 Share Posted February 25, 2012 Hi I have downloaded the Demo Version of the Leadwerks Engine an wanted to test it with blitzmax. So i also wanted to test out the water: setwater(1) but the compiler says: Compile Error: Identifier 'setwater' not found Build Error: failed to compile But most other fuctions are working, such as lightning, physics,... Can you tell me please how it works with blitzmax? Quote Link to comment Share on other sites More sharing options...
Naughty Alien Posted February 25, 2012 Share Posted February 25, 2012 ..hey hey..welcome...can you show to us, how does it look like engine initialization, you did ?? Quote Link to comment Share on other sites More sharing options...
Canardia Posted February 25, 2012 Share Posted February 25, 2012 BlitzMax is a bit different than any other language, because it doesn't use the standard engine.dll. So you have to start your program like this: Framework Leadwerks.Engine Import "d:/le/Framework/Framework.bmx" Or whereever you installed Leadwerks Engine, I put it in D:LE because C: is for system only Quote ■ Ryzen 9 ■ RX 6800M ■ 16GB ■ XF8 ■ Windows 11 ■ ■ Ultra ■ LE 2.5 ■ 3DWS 5.6 ■ Reaper ■ C/C++ ■ C# ■ Fortran 2008 ■ Story ■ ■ Homepage: https://canardia.com ■ Link to comment Share on other sites More sharing options...
ummerland Posted February 27, 2012 Author Share Posted February 27, 2012 Thank you for your Answers.. I have tried it now to add the Import Command: Now the COmpiler says: Compile Error: Identifier 'TFramework' not found Build Error: failed to compile C:/Leadwerks Engine SDK/BMX/Framework/commands.bmx The Error occurs in Line: Function SetWater(mode:Int) TFramework.Current.renderer.SetWater(mode) EndFunction ...in the commands.bmx I have not found any documntations, books or more advanced tutorials for leadwerks with blitzmax. Do you some Documents? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.