Hydrax Errors

yprabathmeHydrax

05-07-2009 07:12:29

Hi All,
I have downloaded Hydrax-v0.5 and install into C drive. In first time I have compile with VC++(2005), then It's ask hydrax.dll is missing. so I search the files from the web and copied into C:\Hydrax\Hydrax-v0.5\Demo1\bin\debug directory. again I compiled it and now I have following linking errors.

------ Build started: Project: Demo1, Configuration: Release Win32 ------
Linking...
LINK : warning LNK4075: ignoring '/INCREMENTAL' due to '/LTCG' specification
main.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual bool const __thiscall Hydrax::Module::Module::_createGeometry(class Hydrax::Mesh *)const " (__imp_?_createGeometry@Module@1Hydrax@@UBE?B_NPAVMesh@2@@Z)
.\bin\release\Demo1.exe : fatal error LNK1120: 1 unresolved externals
Build log was saved at "file://c:\Hydrax\Hydrax-v0.5\Demo1\obj\release\BuildLog.htm"
Demo1 - 2 error(s), 1 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

please any one can give me a support to solve this problem.....
: :?:

yprabathmeHydrax

07-07-2009 05:44:19

No one there?? I'm still stuck...... :(

al2950

07-07-2009 08:44:06

If you have downloaded Hydrax 0.5 which has Hydrax in it and the Hydrax demo then all you should need to do is open up the Hydrax solution, build Hydrax and then build Demo1.

Building the Hydrax project will generate the Hydrax.dll that you are missing. You will also want to make sure you compile it in Release mode as it will run very slowly in Debug.

Angus

P.S. Downloading the missing dll from the web is a bad idea with a project that is in development!

Rscorpiox

23-08-2009 14:59:09

Just guess , maybe you didn't copy the head file of Hydrax v0.5 to the right path.

Hope that can help you.

didito

27-08-2009 21:21:37

al2950 is right. try to build hydrax first (which will build the *.lib and *.dll) in release and debug mode.
some people had problems with the visualstudio solution (mostly version 2008), but there are threads on that in the forum.
then you can build the demo1 - you should add a dependancy of the project of demo1 on the project of hydrax -> demo1 -> right click -> project dependencies.
then the link error should get away.
you probably need to copy the dlls in the working (or debugging directory) of demo1. you will also need the standard ogre files there (ogre.cfg, plugings.cfg - resource.cfg is already there).

the projectfiles and solution needed a bit of "hacking" from me to be buildable out of the box. let's hope in the next version it will improve (btw, i could help the author if he likes to).
other than that the code builds fine and works.

hope this helps!

Flanker

03-02-2010 08:38:09

some people had problems with the visualstudio solution (mostly version 2008), but there are threads on that in the forum.

can you please point me towards some of the threads. Because I'm having problems with the debug build (release build works fine). I'm using visual studio 2008 and tried everything that I can think of.

Thanks for the help