harry7111
08-04-2012 17:55:35
I am currently trying to add Hydrax into my game but am I having a problem after compiling it gives me a "Entry Point Not Found" error saying "The procedure entry point ?removeQueryFlags@MovableObject@Ogre@@UAEXK@Z could not be located in the dynamic link library OgreMain_d.dll.". I am using Ogre 1.7.4 and Hydrax 0.5.1
I get this error only when I add this code into my project:
I get this error only when I add this code into my project:
mHydrax = new Hydrax::Hydrax(mSceneMgr, mCamera, mWindow->getViewport(0));
// Create our projected grid module
Hydrax::Module::ProjectedGrid *mModule
= new Hydrax::Module::ProjectedGrid(// Hydrax parent pointer
mHydrax,
// Noise module
new Hydrax::Noise::Perlin(/*Generic one*/),
// Base plane
Ogre::Plane(Ogre::Vector3(0,-1,0), Ogre::Vector3(0,0,0)),
// Normal mode
Hydrax::MaterialManager::NM_VERTEX,
// Projected grid options
Hydrax::Module::ProjectedGrid::Options(/*Generic one*/));
// Set our module
mHydrax->setModule(static_cast<Hydrax::Module::Module*>(mModule));
// Load all parameters from config file
// Remarks: The config file must be in Hydrax resource group.
// All parameters can be set/updated directly by code(Like previous versions),
// but due to the high number of customizable parameters, since 0.4 version, Hydrax allows save/load config files.
mHydrax->loadCfg("HydraxDemo2.hdx");
// Create water
mHydrax->create();