[Solved] cmake build errors please help

For help with general CEGUI usage:
- Questions about the usage of CEGUI and its features, if not explained in the documentation.
- Problems with the CMAKE configuration or problems occuring during the build process/compilation.
- Errors or unexpected behaviour.

Moderators: CEGUI MVP, CEGUI Team

JohnBoyMan
Just popping in
Just popping in
Posts: 16
Joined: Thu Aug 25, 2011 21:51

[Solved] cmake build errors please help

Postby JohnBoyMan » Wed Jul 02, 2014 20:54

Hello i am trying to build cegui with cmake for ogre.

I'm using cmake version 2.8 and cegui-0.8.3.

I get this error when i try to build it with cmake.


The C compiler identification is MSVC 17.0.50727.1
The CXX compiler identification is MSVC 17.0.50727.1
Check for working C compiler using: Visual Studio 11
Check for working C compiler using: Visual Studio 11 -- works
Detecting C compiler ABI info
Detecting C compiler ABI info - done
Check for working CXX compiler using: Visual Studio 11
Check for working CXX compiler using: Visual Studio 11 -- works
Detecting CXX compiler ABI info
Detecting CXX compiler ABI info - done
Could NOT find PCRE (missing: PCRE_LIB)
Could NOT find FREETYPE (missing: FREETYPE_LIB)
Could NOT find MINIZIP (missing: MINIZIP_LIB MINIZIP_LIB_DBG MINIZIP_H_PATH)
Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
Could NOT find FRIBIDI (missing: FRIBIDI_FOUND_ALL_LIBS FRIBIDI_FOUND_ALL_LIBS_DBG FRIBIDI_INCLUDE_DIR)
Could NOT find GLEW (missing: GLEW_LIB)
Could NOT find GLFW (missing: GLFW_LIB)
Could NOT find DIRECTXSDK (missing: DIRECTXSDK_LIB_PATH DIRECTXSDK_H_PATH DIRECTXSDK_MAX_D3D)
Could NOT find D3DX11EFFECTS (missing: D3DX11EFFECTS_LIB D3DX11EFFECTS_LIB_DBG D3DX11EFFECTS_H_PATH)
Could NOT find IRRLICHT (missing: IRRLICHT_LIB IRRLICHT_H_PATH)
Could NOT find OGRE (missing: OGRE_LIB OGRE_H_PATH OGRE_H_BUILD_SETTINGS_PATH)
Could NOT find OIS (missing: OIS_LIB OIS_H_PATH)
Could NOT find DIRECTFB (missing: DIRECTFB_LIB DIRECTFB_LIB_DBG DIRECTFB_H_PATH)
Could NOT find OPENGLES (missing: OPENGLES_LIB OPENGLES_H_PATH)
Could NOT find EXPAT (missing: EXPAT_LIB)
Could NOT find XERCESC (missing: XERCESC_LIB XERCESC_LIB_DBG XERCESC_H_PATH)
Could NOT find LibXml2 (missing: LIBXML2_LIBRARIES LIBXML2_INCLUDE_DIR)
Could NOT find TINYXML (missing: TINYXML_LIB TINYXML_LIB_DBG TINYXML_H_PATH)
Could NOT find RAPIDXML (missing: RAPIDXML_H_PATH)
Could NOT find IL (missing: IL_LIB IL_LIB_DBG IL_H_PATH)
Could NOT find ILU (missing: ILU_LIB ILU_LIB_DBG)
Could NOT find FREEIMAGE (missing: FREEIMAGE_LIB FREEIMAGE_LIB_DBG FREEIMAGE_H_PATH)
Could NOT find SILLY (missing: SILLY_LIB)
Could NOT find CORONA (missing: CORONA_LIB CORONA_LIB_DBG CORONA_H_PATH)
Could NOT find PVRTOOLS (missing: PVRTOOLS_LIB PVRTOOLS_H_PATH)
Could NOT find LUA51 (missing: LUA_LIB)
Could NOT find TOLUAPP (missing: TOLUAPP_LIB)
Could NOT find PythonInterp (missing: PYTHON_EXECUTABLE)
Could NOT find PythonLibs (missing: PYTHON_LIBRARIES PYTHON_INCLUDE_DIRS)
Could NOT find Boost
Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
Could NOT find FREETYPE (missing: FREETYPE_LIB)
Some or all of the gtk libraries were not found. (missing: GTK2_GTK_LIBRARY GTK2_GTK_INCLUDE_DIR GTK2_GDK_INCLUDE_DIR GTK2_GDKCONFIG_INCLUDE_DIR GTK2_GDK_LIBRARY GTK2_GLIB_INCLUDE_DIR GTK2_GLIBCONFIG_INCLUDE_DIR GTK2_GLIB_LIBRARY)
CMake Warning at CMakeLists.txt:336 (message):
None of the XML parser modules are going to be built.

You should ensure that CEGUI_OPTION_DEFAULT_XMLPARSER is set to something

appropriate.


CMake Error: File C:/OgreSDK_vc11_v1-9-0/cegui-0.8.3/cegui/include/CEGUI/Version.h.in does not exist.
CMake Error at CMakeLists.txt:464 (configure_file):
configure_file Problem configuring file


Configuring incomplete, errors occurred!
See also "C:/OgreSDK_vc11_v1-9-0/cegui-0.8.3built111/CMakeFiles/CMakeOutput.log".



cegui-0.8.3
i downloaded the dependencies and built them with cmake , got the dependencies file that is created that contains all thoughs .lib and .dll files like expat_d.dll and freetype_d.dll. I put it into the cegui folder cegui-0.8.3.

I dont know what to do im very frusterated.



One of thoughs errors says this

CMake Error: File C:/OgreSDK_vc11_v1-9-0/cegui-0.8.3/cegui/include/CEGUI/Version.h.in does not exist.



I looked in the file and version.h.in is there.


I have also set up the ogre3d evironmental variable to the C:/OgreSDK_vc11_v1-9-0;

Please help thanks.

User avatar
Kulik
CEGUI Team
Posts: 1382
Joined: Mon Jul 26, 2010 18:47
Location: Czech Republic
Contact:

Re: cmake build errors please help

Postby Kulik » Wed Jul 02, 2014 20:58


User avatar
Ident
CEGUI Team
Posts: 1998
Joined: Sat Oct 31, 2009 13:57
Location: Austria

Re: cmake build errors please help

Postby Ident » Wed Jul 02, 2014 21:20

From your Cmake log I can see that 0 dependencies are found. Did you download the dependencies, compile them and copy the dependencies folder to the CEGUI folder, like said in the APi documentation?
CrazyEddie: "I don't like GUIs"

JohnBoyMan
Just popping in
Just popping in
Posts: 16
Joined: Thu Aug 25, 2011 21:51

Re: cmake build errors please help

Postby JohnBoyMan » Thu Jul 03, 2014 16:41

Hello, i fallowed the video and got cegui to build right. Thanks for the help. The dependencies didn't build properly though it says this.

The C compiler identification is MSVC 17.0.50727.1
The CXX compiler identification is MSVC 17.0.50727.1
Check for working C compiler using: Visual Studio 11
Check for working C compiler using: Visual Studio 11 -- works
Detecting C compiler ABI info
Detecting C compiler ABI info - done
Check for working CXX compiler using: Visual Studio 11
Check for working CXX compiler using: Visual Studio 11 -- works
Detecting CXX compiler ABI info
Detecting CXX compiler ABI info - done
Could NOT find PCRE (missing: PCRE_LIB)
Could NOT find FREETYPE (missing: FREETYPE_LIB)
Could NOT find MINIZIP (missing: MINIZIP_LIB MINIZIP_LIB_DBG MINIZIP_H_PATH)
Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
Could NOT find FRIBIDI (missing: FRIBIDI_FOUND_ALL_LIBS FRIBIDI_FOUND_ALL_LIBS_DBG FRIBIDI_INCLUDE_DIR)
Found OpenGL: opengl32
Could NOT find GLEW (missing: GLEW_LIB)
Found GLM: C:/OgreSDK_vc11_v1-9-0/cegui-0.8.3/dependencies/include
Could NOT find GLFW (missing: GLFW_LIB)
Could NOT find DIRECTXSDK (missing: DIRECTXSDK_LIB_PATH DIRECTXSDK_H_PATH DIRECTXSDK_MAX_D3D)
Could NOT find D3DX11EFFECTS (missing: D3DX11EFFECTS_LIB D3DX11EFFECTS_LIB_DBG D3DX11EFFECTS_H_PATH)
Could NOT find IRRLICHT (missing: IRRLICHT_LIB IRRLICHT_H_PATH)
Could NOT find OGRE (missing: OGRE_LIB OGRE_H_PATH OGRE_H_BUILD_SETTINGS_PATH)
Could NOT find OIS (missing: OIS_LIB OIS_H_PATH)
Could NOT find DIRECTFB (missing: DIRECTFB_LIB DIRECTFB_LIB_DBG DIRECTFB_H_PATH)
Could NOT find OPENGLES (missing: OPENGLES_LIB OPENGLES_H_PATH)
Could NOT find EXPAT (missing: EXPAT_LIB)
Could NOT find XERCESC (missing: XERCESC_LIB XERCESC_LIB_DBG XERCESC_H_PATH)
Could NOT find LibXml2 (missing: LIBXML2_LIBRARIES LIBXML2_INCLUDE_DIR)
Could NOT find TINYXML (missing: TINYXML_LIB TINYXML_LIB_DBG TINYXML_H_PATH)
Could NOT find RAPIDXML (missing: RAPIDXML_H_PATH)
Could NOT find IL (missing: IL_LIB IL_LIB_DBG IL_H_PATH)
Could NOT find ILU (missing: ILU_LIB ILU_LIB_DBG)
Could NOT find FREEIMAGE (missing: FREEIMAGE_LIB FREEIMAGE_LIB_DBG FREEIMAGE_H_PATH)
Could NOT find SILLY (missing: SILLY_LIB)
Could NOT find CORONA (missing: CORONA_LIB CORONA_LIB_DBG CORONA_H_PATH)
Could NOT find PVRTOOLS (missing: PVRTOOLS_LIB PVRTOOLS_H_PATH)
Could NOT find LUA51 (missing: LUA_LIB)
Could NOT find TOLUAPP (missing: TOLUAPP_LIB)
Could NOT find PythonInterp (missing: PYTHON_EXECUTABLE)
Could NOT find PythonLibs (missing: PYTHON_LIBRARIES PYTHON_INCLUDE_DIRS)
Could NOT find Boost
Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
Could NOT find FREETYPE (missing: FREETYPE_LIB)
Some or all of the gtk libraries were not found. (missing: GTK2_GTK_LIBRARY GTK2_GTK_INCLUDE_DIR GTK2_GDK_INCLUDE_DIR GTK2_GDKCONFIG_INCLUDE_DIR GTK2_GDK_LIBRARY GTK2_GLIB_INCLUDE_DIR GTK2_GLIBCONFIG_INCLUDE_DIR GTK2_GLIB_LIBRARY)
CMake Warning at CMakeLists.txt:336 (message):
None of the XML parser modules are going to be built.

You should ensure that CEGUI_OPTION_DEFAULT_XMLPARSER is set to something

appropriate.


Configuring done
CMake Warning (dev) in cegui/src/CMakeLists.txt:
Policy CMP0022 is not set: INTERFACE_LINK_LIBRARIES defines the link
interface. Run "cmake --help-policy CMP0022" for policy details. Use the
cmake_policy command to set the policy and suppress this warning.

Target "CEGUIBase-0" has an INTERFACE_LINK_LIBRARIES property which differs
from its LINK_INTERFACE_LIBRARIES properties.

INTERFACE_LINK_LIBRARIES:

winmm;$<$<CONFIG:DEBUG>:DbgHelp>

LINK_INTERFACE_LIBRARIES:



This warning is for project developers. Use -Wno-dev to suppress it.

Generating done






I built the cegui deps with cmake , then built the CEGUI-DEPS ms visual file , then took the dependencies folder that contains all the lib and dll files, put them into the main cegui folder before i built cegui. Non of the dependencies were found still. I fallowed the video exactly. thanks

JohnBoyMan
Just popping in
Just popping in
Posts: 16
Joined: Thu Aug 25, 2011 21:51

Re: cmake build errors please help

Postby JohnBoyMan » Thu Jul 03, 2014 17:09

Hello. When i try to open the cegui snl file in ms visual. There are only 9 libs there. they are as fallows.
All_Build
CEGUIbASE-0
CEGUICommonDialogs-0
CEGUICoreWindowRendererSet
CEGUINullRenderer-0
CEGUIGAImageCodec
INSTALL
PACKAGE
ZERO_CHECK

Also my ms visual gives me this error.

Error 2 error C2063: 'CEGUI::System::d_defaultXMLParserName' : not a function C:\OgreSDK_vc11_v1-9-0\cegui-0.8.3\cegui\src\System.cpp 105 1 CEGUIBase-0
Error 3 error LNK1104: cannot open file '..\..\..\..\lib\CEGUIBase-0_d.lib' C:\OgreSDK_vc11_v1-9-0\cegui-0.8.3\built\cegui\src\RendererModules\Null\LINK CEGUINullRenderer-0
Error 5 error LNK1104: cannot open file '..\..\..\..\lib\CEGUIBase-0_d.lib' C:\OgreSDK_vc11_v1-9-0\cegui-0.8.3\built\cegui\src\ImageCodecModules\TGA\LINK CEGUITGAImageCodec
Error 6 error LNK1104: cannot open file '..\..\..\..\lib\CEGUIBase-0_d.lib' C:\OgreSDK_vc11_v1-9-0\cegui-0.8.3\built\cegui\src\ImageCodecModules\STB\LINK CEGUISTBImageCodec
Error 4 error LNK1104: cannot open file '..\..\..\lib\CEGUIBase-0_d.lib' C:\OgreSDK_vc11_v1-9-0\cegui-0.8.3\built\cegui\src\CommonDialogs\LINK CEGUICommonDialogs-0
23 IntelliSense: declaration is incompatible with "CEGUI::String CEGUI::System::d_defaultXMLParserName" (declared at line 628 of "C:\OgreSDK_vc11_v1-9-0\cegui-0.8.3\cegui\include\CEGUI/System.h") c:\OgreSDK_vc11_v1-9-0\cegui-0.8.3\cegui\src\System.cpp 105 16 CEGUIBase-0


thanks
Last edited by JohnBoyMan on Thu Jul 03, 2014 17:25, edited 1 time in total.

lucebac
Just can't stay away
Just can't stay away
Posts: 193
Joined: Sat May 24, 2014 21:55

Re: cmake build errors please help

Postby lucebac » Thu Jul 03, 2014 17:18

Please provide the compiler output and not the content of the error tab!

User avatar
Nickenstein79
Quite a regular
Quite a regular
Posts: 93
Joined: Thu May 09, 2013 06:19

Re: cmake build errors please help

Postby Nickenstein79 » Thu Jul 03, 2014 17:24

From your cmake log:

Code: Select all

CMake Warning at CMakeLists.txt:336 (message):
None of the XML parser modules are going to be built.

You should ensure that CEGUI_OPTION_DEFAULT_XMLPARSER is set to something


Look for the variables called CEGUI_XML_PARSER_* , do you have at least one of them ticked on? I have CEGUI_XML_PARSER_EXPAT enabled in my cmake. It looks like you don't have any set to be built.

Also, it looks like it is still not finding any of your CEGUI-Dependencies. Have you put the dependencies folder into your CEGUI source or destination folder?
Last edited by Nickenstein79 on Thu Jul 03, 2014 17:31, edited 1 time in total.

JohnBoyMan
Just popping in
Just popping in
Posts: 16
Joined: Thu Aug 25, 2011 21:51

Re: cmake build errors please help

Postby JohnBoyMan » Thu Jul 03, 2014 17:29

what should i set CEGUI_XML_PARSER_EXPAT to. And can you tell me exactly how to do that? thanks.

I see this is the cmakelists


################################################################################
# Select one of the XML parser modules to be the default, warning if none are
# available.
################################################################################
if (CEGUI_BUILD_XMLPARSER_EXPAT)
set( CEGUI_OPTION_DEFAULT_XMLPARSER "ExpatParser" CACHE STRING "Specifies the XMLParser module to use as the default" )
set( CEGUI_STATIC_XMLPARSER_MODULE ${CEGUI_EXPAT_PARSER_LIBNAME} CACHE STRING "Specifies xml parser library to link to samples in static builds." )
elseif (CEGUI_BUILD_XMLPARSER_XERCES)
set( CEGUI_OPTION_DEFAULT_XMLPARSER "XercesParser" CACHE STRING "Specifies the XMLParser module to use as the default" )
set( CEGUI_STATIC_XMLPARSER_MODULE ${CEGUI_XERCES_PARSER_LIBNAME} CACHE STRING "Specifies xml parser library to link to samples in static builds." )
elseif (CEGUI_BUILD_XMLPARSER_LIBXML2)
set( CEGUI_OPTION_DEFAULT_XMLPARSER "LibXMLParser" CACHE STRING "Specifies the XMLParser module to use as the default" )
set( CEGUI_STATIC_XMLPARSER_MODULE ${CEGUI_LIBXML2_PARSER_LIBNAME} CACHE STRING "Specifies xml parser library to link to samples in static builds." )
elseif (CEGUI_BUILD_XMLPARSER_RAPIDXML)
set( CEGUI_OPTION_DEFAULT_XMLPARSER "RapidXMLParser" CACHE STRING "Specifies the XMLParser module to use as the default" )
set( CEGUI_STATIC_XMLPARSER_MODULE ${CEGUI_RAPIDXML_PARSER_LIBNAME} CACHE STRING "Specifies xml parser library to link to samples in static builds." )
elseif (CEGUI_BUILD_XMLPARSER_TINYXML)
set( CEGUI_OPTION_DEFAULT_XMLPARSER "TinyXMLParser" CACHE STRING "Specifies the XMLParser module to use as the default" )
set( CEGUI_STATIC_XMLPARSER_MODULE ${CEGUI_TINYXML_PARSER_LIBNAME} CACHE STRING "Specifies xml parser library to link to samples in static builds." )
else()
message(WARNING "None of the XML parser modules are going to be built.
You should ensure that CEGUI_OPTION_DEFAULT_XMLPARSER is set to something
appropriate.")
endif()



I dont know how to edit these files. should i just change CEGUI_BUILD_XMLPARSER_EXPAT to true?
Last edited by JohnBoyMan on Thu Jul 03, 2014 17:39, edited 1 time in total.

User avatar
Nickenstein79
Quite a regular
Quite a regular
Posts: 93
Joined: Thu May 09, 2013 06:19

Re: cmake build errors please help

Postby Nickenstein79 » Thu Jul 03, 2014 17:39

It's a variable that is in the CEGUI section of the cmake variables. (Toggle 'ON' the 'grouped' and 'advanced' tick boxes in cmake to see all of the variables categorised into groups).

I am guessing that the 'CEGUI_BUILD_XML_PARSER_*' variables are not showing up for you because cmake is not finding your dependencies folder (where the xml-parsing libs come from).

The dependencies should be in your cmake source folder, which should hopefully look something like this:

Image

And the contents of that dependencies folder should look something like this:

Image

lucebac
Just can't stay away
Just can't stay away
Posts: 193
Joined: Sat May 24, 2014 21:55

Re: cmake build errors please help

Postby lucebac » Thu Jul 03, 2014 17:49

Have you done the following steps in this particular order?

1) Download CEGUI 0.8.3 and the dependencies pack from http://cegui.org.uk/download
2) Unpack the archives to any folder but remember which it was
3) build the dependencies
3a) run cmake-gui and point the "source" folder to the folder you unpacked the dependencies to and set the "output" folder to "/path/to/cegui-deps/build" and hit "generate"
3b) go to the folder cmake created the build files in
3c) open CEGUI-DEPS.sln with VS
3d) build dependencies both in "Debug" and "RelWithDebSymbols" mode
4) copy the "dependencies" folder to the cegui source folder (afterwards it should look like Nickenstein79's pictures do)
5) build cegui
5a) run cmake-gui and point the "source" folder to the folder you unpacked cegui source files to and set the "output" directory to "/path/to/cegui/build" and hit "generate"
5b) go to the folder cmake created the build files in
5c) open CEGUI.sln with VS
5d) build cegui both in "Debug" and "RelWithDebSymbols" mode
6) you're done

JohnBoyMan
Just popping in
Just popping in
Posts: 16
Joined: Thu Aug 25, 2011 21:51

Re: cmake build errors please help

Postby JohnBoyMan » Thu Jul 03, 2014 18:15

Hi thanks for your help i did what you said and it worked partially. Now i get this when i try to generate the cmake.

Could NOT find PCRE (missing: PCRE_LIB)
Could NOT find FREETYPE (missing: FREETYPE_LIB)
Could NOT find MINIZIP (missing: MINIZIP_LIB MINIZIP_LIB_DBG MINIZIP_H_PATH)
Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
Could NOT find FRIBIDI (missing: FRIBIDI_FOUND_ALL_LIBS FRIBIDI_FOUND_ALL_LIBS_DBG FRIBIDI_INCLUDE_DIR)
Could NOT find GLEW (missing: GLEW_LIB)
Could NOT find GLFW (missing: GLFW_LIB)
Could NOT find DIRECTXSDK (missing: DIRECTXSDK_LIB_PATH DIRECTXSDK_H_PATH DIRECTXSDK_MAX_D3D)
Could NOT find D3DX11EFFECTS (missing: D3DX11EFFECTS_LIB D3DX11EFFECTS_LIB_DBG D3DX11EFFECTS_H_PATH)
Could NOT find IRRLICHT (missing: IRRLICHT_LIB IRRLICHT_H_PATH)
Could NOT find OGRE (missing: OGRE_LIB OGRE_H_PATH OGRE_H_BUILD_SETTINGS_PATH)
Could NOT find OIS (missing: OIS_LIB OIS_H_PATH)
Could NOT find DIRECTFB (missing: DIRECTFB_LIB DIRECTFB_LIB_DBG DIRECTFB_H_PATH)
Could NOT find OPENGLES (missing: OPENGLES_LIB OPENGLES_H_PATH)
Could NOT find EXPAT (missing: EXPAT_LIB)
Could NOT find XERCESC (missing: XERCESC_LIB XERCESC_LIB_DBG XERCESC_H_PATH)
Could NOT find LibXml2 (missing: LIBXML2_LIBRARIES LIBXML2_INCLUDE_DIR)
Could NOT find TINYXML (missing: TINYXML_LIB TINYXML_LIB_DBG TINYXML_H_PATH)
Could NOT find RAPIDXML (missing: RAPIDXML_H_PATH)
Could NOT find IL (missing: IL_LIB IL_LIB_DBG IL_H_PATH)
Could NOT find ILU (missing: ILU_LIB ILU_LIB_DBG)
Could NOT find FREEIMAGE (missing: FREEIMAGE_LIB FREEIMAGE_LIB_DBG FREEIMAGE_H_PATH)
Could NOT find SILLY (missing: SILLY_LIB)
Could NOT find CORONA (missing: CORONA_LIB CORONA_LIB_DBG CORONA_H_PATH)
Could NOT find PVRTOOLS (missing: PVRTOOLS_LIB PVRTOOLS_H_PATH)
Could NOT find LUA51 (missing: LUA_LIB)
Could NOT find TOLUAPP (missing: TOLUAPP_LIB)
Could NOT find PythonInterp (missing: PYTHON_EXECUTABLE)
Could NOT find PythonLibs (missing: PYTHON_LIBRARIES PYTHON_INCLUDE_DIRS)
Could NOT find Boost
Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
Could NOT find FREETYPE (missing: FREETYPE_LIB)
Some or all of the gtk libraries were not found. (missing: GTK2_GTK_LIBRARY GTK2_GTK_INCLUDE_DIR GTK2_GDK_INCLUDE_DIR GTK2_GDKCONFIG_INCLUDE_DIR GTK2_GDK_LIBRARY GTK2_GLIB_INCLUDE_DIR GTK2_GLIBCONFIG_INCLUDE_DIR GTK2_GLIB_LIBRARY)
Configuring done
CMake Warning (dev) in cegui/src/CMakeLists.txt:
Policy CMP0022 is not set: INTERFACE_LINK_LIBRARIES defines the link
interface. Run "cmake --help-policy CMP0022" for policy details. Use the
cmake_policy command to set the policy and suppress this warning.

Target "CEGUIBase-0" has an INTERFACE_LINK_LIBRARIES property which differs
from its LINK_INTERFACE_LIBRARIES properties.

INTERFACE_LINK_LIBRARIES:

winmm;$<$<CONFIG:DEBUG>:DbgHelp>

LINK_INTERFACE_LIBRARIES:



This warning is for project developers. Use -Wno-dev to suppress it.

Generating done

User avatar
Nickenstein79
Quite a regular
Quite a regular
Posts: 93
Joined: Thu May 09, 2013 06:19

Re: cmake build errors please help

Postby Nickenstein79 » Thu Jul 03, 2014 18:30

Errrrm, it's clearly still not finding the dependencies folder. (This might sound like a daft question, but is 'dependencies' spelt correctly?)

JohnBoyMan
Just popping in
Just popping in
Posts: 16
Joined: Thu Aug 25, 2011 21:51

Re: cmake build errors please help

Postby JohnBoyMan » Thu Jul 03, 2014 18:46

yes it is spelled properly. this is the path to it.
C:\OgreSDK_vc11_v1-9-0\cegui-0.8.3\dependencies\bin\expat_d.dll

thats the first dll in the bin. there is a total of 22.
When i run cmake , some of the dependencies are found some arent.

User avatar
Nickenstein79
Quite a regular
Quite a regular
Posts: 93
Joined: Thu May 09, 2013 06:19

Re: cmake build errors please help

Postby Nickenstein79 » Thu Jul 03, 2014 18:52

JohnBoyMan wrote:yes it is spelled properly. this is the path to it.
C:\OgreSDK_vc11_v1-9-0\cegui-0.8.3\dependencies\bin\expat_d.dll

thats the first dll in the bin. there is a total of 22.
When i run cmake , some of the dependencies are found some arent.


You have put your CEGUI folder inside your ogre folder. This is possibly why it is failing to find the dependencies. It is most likely finding the ogre-dependencies rather than the CEGUI dependencies.

Put your CEGUI folder outside of Ogre.

JohnBoyMan
Just popping in
Just popping in
Posts: 16
Joined: Thu Aug 25, 2011 21:51

Re: cmake build errors please help

Postby JohnBoyMan » Thu Jul 03, 2014 19:11

same thing, nothing changed. I made a folder on my desktop put a new copy of the cegui and the dependencies.

C:\Users\john\Desktop\New folder (5)\cegui-0.8.3

C:\Users\john\Desktop\New folder (5)\cegui-0.8.3\cegui-deps-0.8.x-src

Then i built the dependencies with cmake, took them and put that dependencies folder into cegui-0.8.3. then i tried to build cegui and it still wont find them.
is there anywhere that i can find a precompiled cegui. thanks


Return to “Help”

Who is online

Users browsing this forum: No registered users and 10 guests