Ogre Build Error ( can't find freetype )
- c6burns
- Beholder
- Posts: 1512
- Joined: Fri Feb 22, 2013 4:44 am
- Location: Deep behind enemy lines
- x 138
Re: Ogre Build Error ( can't find freetype )
Everyone has to start somewhere. No one is born a rockstar. Glad you got this working.
-
- Minaton
- Posts: 933
- Joined: Mon Mar 05, 2012 11:37 am
- Location: Germany
- x 110
Re: Ogre Build Error ( can't find freetype )
That's right. Building Ogre from source as your first project is the ultimate sufferingc6burns wrote:Everyone has to start somewhere. No one is born a rockstar. Glad you got this working.
I'm sorry to be so rude. I agree, you could not know about the version conflicts of the dependencies. I was wondering about you last screenshot with "Could not locate DirectX" - which is a clear message in my opinion. Let me give you a few tips for your future work with cmake.runizgozilla wrote:You strike an interesting balance of rude and helpful. You're not wrong though, in fact you are absolutely right. I have little to no experience with these tools. That's exactly why I'm in the help section: because I need help. An error that appears obvious to you, with a knowledge of ogre's dependencies and how they've changed from version to version, does not appear obvious to me at all, because I had not considered the fact that the dependencies might have changed.
EDIT: Used precompiled dependencies, I'm shown a series of options now when I hit configure in cmake. I have no configuration errors. So, thank you Transporter for being painfully frank, and everyone else for helping. I'm sorry to expose you to such n00bery, but I guess it happens.
Read the output complete! Any sentence like "Could not locate DirectX" gives a point where you can start searching the error. You can find the dependency part in the file ogre/CMake/Dependencies.cmake. Also there is a subdirectory ogre/CMake/Packages/ where you can find the scripts to locate the different parts (for example FindDirectX.cmake). If you have a look at the Find file you can find the following block:
Code: Select all
# Get path, convert backslashes as ${ENV_DXSDK_DIR}
getenv_path(DXSDK_DIR)
getenv_path(DIRECTX_HOME)
getenv_path(DIRECTX_ROOT)
getenv_path(DIRECTX_BASE)
# construct search paths
set(DirectX_PREFIX_PATH
"${DXSDK_DIR}" "${ENV_DXSDK_DIR}"
"${DIRECTX_HOME}" "${ENV_DIRECTX_HOME}"
"${DIRECTX_ROOT}" "${ENV_DIRECTX_ROOT}"
"${DIRECTX_BASE}" "${ENV_DIRECTX_BASE}"
"C:/apps_x86/Microsoft DirectX SDK*"
"C:/Program Files (x86)/Microsoft DirectX SDK*"
"C:/apps/Microsoft DirectX SDK*"
"C:/Program Files/Microsoft DirectX SDK*"
"$ENV{ProgramFiles}/Microsoft DirectX SDK*"
)
Code: Select all
set(FREETYPE_LIBRARY_NAMES freetype2411 freetype2410 freetype249 freetype248 freetype246 freetype2311 freetype239 freetype238 freetype235 freetype219 freetype)
Btw, think about a change to Ogre 1.9 (source code: https://bitbucket.org/sinbad/ogre) because 1.8 is an old version and I don't think somebody would update the version stuff in this version. Also read http://www.ogre3d.org/tikiwiki/tiki-ind ... lding+Ogre where you can find tutorials and a list of what you need to build Ogre from source.
- c6burns
- Beholder
- Posts: 1512
- Joined: Fri Feb 22, 2013 4:44 am
- Location: Deep behind enemy lines
- x 138
Re: Ogre Build Error ( can't find freetype )
Transporter wrote:That's right. Building Ogre from source as your first project is the ultimate sufferingc6burns wrote:Everyone has to start somewhere. No one is born a rockstar. Glad you got this working.
-
- Greenskin
- Posts: 114
- Joined: Mon Oct 14, 2013 1:41 am
- Location: Chile
- x 3
Re: Ogre Build Error ( can't find freetype )
You masters always laughing on us the rookies.....
Nah! just kidding, there's always someone ready to help, though for some people around patience is not a strong gift, but that's real life anyway, isn't it?
We all rookies learn from other rookies who dare to ask everything... the best way to learn is far the Help forum section.
Nah! just kidding, there's always someone ready to help, though for some people around patience is not a strong gift, but that's real life anyway, isn't it?
We all rookies learn from other rookies who dare to ask everything... the best way to learn is far the Help forum section.
Integrated: Ogre3D + dotScene (Blender loader) + MyGUI (UI) + RakNet (Client/Server) + Leap Motion (The future is here!) + StereoManager (3D Anaglyph red-cyan)
WIP: StereoManager (Real 3D) + CCS (Camera Control System) + Sound, experimenting with Android.
WIP: StereoManager (Real 3D) + CCS (Camera Control System) + Sound, experimenting with Android.