Hydrax No Entry Point error


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:
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
// Noise module
new Hydrax::Noise::Perlin(/*Generic one*/),
// Base plane
Ogre::Plane(Ogre::Vector3(0,-1,0), Ogre::Vector3(0,0,0)),
// Normal mode
// Projected grid options
Hydrax::Module::ProjectedGrid::Options(/*Generic one*/));

// Set our module

// 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.

// Create water


12-04-2012 17:27:30


Have you compiled hydrax and your project against 1.7.4? And then moved the new hydrax dll files into your bin folder? I have had this problem before and it was because the wrong dll files were in the bin folder. Also, make sure you are linking to the right 1.7.4 libraries.

Hope it helps! :D


20-04-2012 21:54:22

Yes I have compiled Hydrax with 1.7.4 I still have not found what the problem is.