About Store Forum Documentation Contact
Donations:
140$/mo



Post Reply 
error compiling
Author Message
rogerg Offline
Member

Post: #1
error compiling
hello, I decided to try out the Esenthel engine and I tried to compile the tutorial project. however it gave me a lot of errors.
what do I do? :shock:

<!-- m --><a class="postlink" href="http://img3.imagebanana.com/view/lw33nslb/errrooor22.jpg">http://img3.imagebanana.com/view/lw33ns ... ooor22.jpg</a><!-- m -->

also i noticed one of the headfiles you need is Vtx Ind Buf.h and in the installation its Vertex Index Buffer.h. I made a copy of Vertex Index Buffer.h and renamed it to Vtx Ind Buf.h, I think thats correct right?

please help.
12-06-2008 09:14 PM
Find all posts by this user Quote this message in a reply
Brainache Offline
Member

Post: #2
Re: error compiling
Hey there... It looks like you do not have the esenthel.lib library file being linked in your project... I had to copy the .lib file to my compiler's library folder...
12-06-2008 09:17 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #3
Re: error compiling
Hi,

I've fixed the Vertex Index Buffer header, altough its a minor thing and shouldnt cause any errors.

It seems you haven't properly installed Esenthel Engine, please check instalation in the documentation,

as Brainache said its possible that you haven't copied the EsenthelEngine.lib file
12-06-2008 09:29 PM
Find all posts by this user Quote this message in a reply
rogerg Offline
Member

Post: #4
Re: error compiling
the .lib file is in the correct directory like it says in the readme, I checked everything is correct many times.

Is the project meant to be a console application or a windows application?
12-06-2008 11:22 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #5
Re: error compiling
This is a windows application

Are you using provided Tutorials.sln (Visual Studio Solution) ?
12-06-2008 11:29 PM
Find all posts by this user Quote this message in a reply
rogerg Offline
Member

Post: #6
Re: error compiling
yes I am using the provided solution. everything in the project settings seems to be good
12-06-2008 11:50 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #7
Re: error compiling
I'm sure you must have done something wrong in the installation.

Are you using Microsoft Visual Studio 2008 ?

Does your project settings in "Linker\Input" look like this ?
Additional Dependencies - wininet.lib winmm.lib libcmt.lib psapi.lib ws2_32.lib oldnames.lib dinput8.lib dsound.lib d3d9.lib d3dx9.lib dxguid.lib EsenthelEngine.lib

Have you copied the latest "EsenthelEngine.lib" to "Microsoft Visual Studio\VC\lib\EsenthelEngine.lib"

If you're updating the engine from a previous engine version you need to copy the new version files.
12-07-2008 12:34 AM
Find all posts by this user Quote this message in a reply
rogerg Offline
Member

Post: #8
Re: error compiling
im using visual studio 2008 proffesional

my project linker/input additional dependancies are wininet.lib winmm.lib libcmt.lib psapi.lib ws2_32.lib oldnames.lib dinput8.lib dsound.lib d3d9.lib d3dx9.lib dxguid.lib EsenthelEngine.lib

i copied the EsenthelEngine.lib to Microsoft Visual Studio 9.0\VC\lib\

here it is sitting there <!-- m --><a class="postlink" href="http://img3.imagebanana.com/view/7j30cqsb/lib.bmp.png">http://img3.imagebanana.com/view/7j30cqsb/lib.bmp.png</a><!-- m -->

I only installed the new version of Esenthel yesterday, and I never had it before.
12-07-2008 12:43 AM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #9
Re: error compiling
I'll see how the engine works on 2008 professional and I'll get back to you
12-07-2008 12:37 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #10
Re: error compiling
I've installed Visual Studio 2008 Pro, and it works with no problem.
12-07-2008 02:33 PM
Find all posts by this user Quote this message in a reply
rogerg Offline
Member

Post: #11
Re: error compiling
thanks for your help, after loads of hours trying to fix things, I ended up reinstalling visual studio and installing all the esenthel stuff again and now it compiles.
I guess something got corrupted along the way.
12-08-2008 05:09 AM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #12
Re: error compiling
Thanks for the info, I'm glad that now it works
12-08-2008 11:29 AM
Find all posts by this user Quote this message in a reply
Post Reply