Horde3D

Next-Generation Graphics Engine
It is currently 22.11.2024, 01:34

All times are UTC + 1 hour




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: 24.07.2015, 10:23 
Offline

Joined: 27.03.2014, 18:59
Posts: 4
Hi,
I'm a beginner, so I apologize for my lack of skills... :oops:
I'm attempting to set up an Horde3d project. To accomplish this, I'm following the very detailed Tutorial "Setting up Horde3D from scratch" by Basez, posted in the Forum.
But when I build the solution in Visual Studio 2013, the compiler pointed out this kind of error: "C1083: Cannot open include file: 'Horde3DUtils.h'".
Please, could you explain me what's wrong and how I solve the issue?
Thanks for your kind attention, goodbye! :)


Last edited by Xanto on 14.08.2015, 11:59, edited 1 time in total.

Top
 Profile  
Reply with quote  
PostPosted: 24.07.2015, 19:08 
Offline

Joined: 17.11.2009, 17:00
Posts: 205
Location: Russia, Moscow
Check this point of instruction:
***** Configuration Properties -> C/C++ -> General
// ADDITIONAL INCLUDE DIRECTORIES:
$(HORDE_HOME)\Horde3D\Bindings\C++
$(HORDE_HOME)\Horde3D\Samples\glfw

It seems that Visual studio cannot find the bindings folder. Horde3dutils.h should be in this folder too.
You can make the path to bindings folder relative, like $(ProjectDir)..\..\Horde3D\Bindings\C++ (number of ..\ may be different)


Top
 Profile  
Reply with quote  
PostPosted: 25.07.2015, 17:49 
Offline

Joined: 27.03.2014, 18:59
Posts: 4
Thanks, I solved the issue!
But now, there is another error: "LNK2019:unresolved external symbol..."

Cuold you explain me, please, what happend?
Thank you again!


Top
 Profile  
Reply with quote  
PostPosted: 03.08.2015, 20:12 
Offline

Joined: 05.03.2007, 19:38
Posts: 167
Location: Romania
Quote:
"LNK2019:unresolved external symbol..."


That means the you're missing some required libraries. Not sure which because you haven't posted which symbols are not resolved. I have listed those that we usually link against.

Make sure you have in your project properties in Linker->Input->Additional Dependencies: Horde3DUtils.lib, glfw.lib (or the version of glfw that you use), Horde3D.lib, opengl32.lib, Horde3DTerrain.lib (if required by your build) and in General->Additional Library Directories make sure you have the folders that contain those libraries so Visual Studio can find them.

Horde3D.lib and Horde3DUtils.lib are part of the engine.
opengl32.lib is, well, OpenGL. Horde3d's renderer uses that.
glfw.lib is the opengl windowing and input framework that we normally use. It might be called glfw3.lib, depending on the version.
Horde3DTerrain.lib is the terrain library extension, depends if you use it or not.

Hope this helps.

_________________
Paul


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 10 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group