Hello to all,

I'm new to wxLua and maybe (hopefully:)) this is not a hard question for you!

Building wxLua actually fails due some missing wxWidgets libraries.
The strange think is that they can find some of the libraries but not all, even 
all libraries are placed there.
Enclosed you can find the output from CMake (CMake_isssue.txt) and hopefully 
all information which you need to help me.
Building the wxWidgets seems to be okay, since I was able to run the samples 
(widgets, mediaplayer) .
Do you have an idea what could be the reason for that?

Thank you in advance!

Best regards,
valmir
CMake Warning (dev) in CMakeLists.txt:
  Syntax Warning in cmake code at

    C:/build/wxLua-2.8.12.3-src/CMakeLists.txt:380:18

  Argument not separated from preceding token by whitespace.
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in CMakeLists.txt:
  Syntax Warning in cmake code at

    C:/build/wxLua-2.8.12.3-src/CMakeLists.txt:380:24

  Argument not separated from preceding token by whitespace.
This warning is for project developers.  Use -Wno-dev to suppress it.

* ---------------------------------------------------------------------------
* CMake command line options and tips specific to this project 
* 
* In the CMake GUI you can set values and press configure a few times 
* and until there are no more red items, then press generate.
* 
* Usage: cmake -D[OPTION_NAME]=[OPTION_VALUE] /path/to/CMakeLists.txt/
* ---------------------------------------------------------------------------
* -DHELP=TRUE 
*   Show this help message and exit, no files will be generated.
* -DCMAKE_BUILD_TYPE=[Debug, Release, RelWithDebInfo, MinSizeRel] : (Default 
Debug)
*   Makefiles : You must set the build type to Debug, Release...
*   MSVC GUI  : No need to set this since you can choose it in the GUI.
* -DBUILD_SHARED_LIBS=[TRUE, FALSE] : (Default static in MSW, shared in Linux)
*   Build shared (.DLL or .so) or static (.lib or .a) libraries.
* ---------------------------------------------------------------------------
 
 
*****************************************************************************
* BUILD TYPE:        Release
* BUILD_SHARED_LIBS: OFF
*****************************************************************************
* System is 32-bit FALSE, is 64-bit TRUE
*****************************************************************************
* CMAKE_SOURCE_DIR = C:/build/wxLua-2.8.12.3-src
* CMAKE_BINARY_DIR = C:/build/wxLua_build
*****************************************************************************
 
* ---------------------------------------------------------------------------
* wxWidgets library settings :
* 
* Note that ONLY an all shared (DLL) or all static build is supported.
*   I.E. If you choose shared you must link to shared wxWidgets libs.
*   Set -DBUILD_SHARED_LIBS=[TRUE, FALSE] to control shared/static lib.
* 
* Finding wxWidgets for MSW and MSVC
* -DwxWidgets_ROOT_DIR=[path] : (e.g. /path/to/wxWidgets/)
*   Path to the root of the wxWidgets build, must at least set this.
* -DwxWidgets_LIB_DIR=[path] : (e.g. /path/to/wxWidgets/lib/vc_lib/)
*   Path to the wxWidgets lib dir also set this if libs can't be found.
* -DwxWidgets_CONFIGURATION=[configuration] : 
*   Set wxWidgets configuration; e.g. msw, mswu, mswunivu...
*   Where 'u' = unicode and 'd' = debug.
*   MSVC GUI : You need only choose msw, mswu, mswuniv, mswunivu since 
*              release or debug mode is chosen in the GUI.
* -DwxWidgets_COMPONENTS=[...stc;html;adv;core;base or mono] : 
*   For non-monolithic builds choose the wxWidgets libs to link to.
*    xrc;xml;gl;net;media;propgrid;richtext;aui;stc;html;adv;core;base
*   For monolithic builds choose mono and the contribs libs.
*    stc;mono
*   The extra decorations, e.g. wxmsw28ud_adv.lib, will be searched for.
*   Libs that cannot be found will be printed below, please fix/remove
*   them to be able to build this project.
*   You will get compilation/linker errors if wxWidgets is not found.
* 
* Finding wxWidgets for GCC and Unix type systems
* -DwxWidgets_CONFIG_EXECUTABLE=[path/to/wx-config] : 
*   Specify path to wx-config script for GCC and Unix type builds
* ---------------------------------------------------------------------------
 
* Using these wxWidgets components: 
gl;xrc;xml;net;media;richtext;aui;html;adv;core;base
Could NOT find wxWidgets (missing:  wxWidgets_FOUND) 
* 
CMake Warning at build/CMakewxAppLib.cmake:313 (message):
  * WARNING: Could not find wxWidgets! Please see help above.
Call Stack (most recent call first):
  CMakeLists.txt:54 (FIND_WXWIDGETS)


* - wxWidgets_VERSION           = 3.0.2 = 3.0.2
* - wxWidgets_COMPONENTS        = 
gl;xrc;xml;net;media;richtext;aui;html;adv;core;base
* - wxWidgets_INCLUDE_DIRS      = 
C:/build/wxWidgets-3.0.2/lib/vc_x64_lib/mswu;C:/build/wxWidgets-3.0.2/include
* - wxWidgets_LIBRARY_DIRS      = C:/build/wxWidgets-3.0.2/lib/vc_x64_lib
* - wxWidgets_LIBRARIES         = 
C:/build/wxWidgets-3.0.2/lib/vc_x64_lib/wxpng.lib;C:/build/wxWidgets-3.0.2/lib/vc_x64_lib/wxtiff.lib;C:/build/wxWidgets-3.0.2/lib/vc_x64_lib/wxjpeg.lib;C:/build/wxWidgets-3.0.2/lib/vc_x64_lib/wxzlib.lib;C:/build/wxWidgets-3.0.2/lib/vc_x64_lib/wxregexu.lib;C:/build/wxWidgets-3.0.2/lib/vc_x64_lib/wxexpat.lib;opengl32;glu32;winmm;comctl32;rpcrt4;wsock32
* - wxWidgets_CXX_FLAGS         = 
* - wxWidgets_DEFINITIONS       = UNICODE;_UNICODE
* - wxWidgets_DEFINITIONS_DEBUG = _DEBUG;__WXDEBUG__
* - wxWidgets_PORTNAME          = 
* - wxWidgets_UNIVNAME          = 
* - wxWidgets_UNICODEFLAG       = 
* - wxWidgets_DEBUGFLAG         = 
 WARNING: Unable to find requested wxWidgets component : gl
 WARNING: Unable to find requested wxWidgets component : xrc
 WARNING: Unable to find requested wxWidgets component : xml
 WARNING: Unable to find requested wxWidgets component : net
 WARNING: Unable to find requested wxWidgets component : media
 WARNING: Unable to find requested wxWidgets component : richtext
 WARNING: Unable to find requested wxWidgets component : aui
 WARNING: Unable to find requested wxWidgets component : html
 WARNING: Unable to find requested wxWidgets component : adv
 WARNING: Unable to find requested wxWidgets component : core
 WARNING: Unable to find requested wxWidgets component : base
* 
wxWidgets requested but not found.
* WARNING: Specified wxLuaBinding lib 'stc' in variable wxLuaBind_COMPONENTS is 
missing from wxWidgets_COMPONENTS so it will not be compiled.
* WARNING: Specified wxLuaBinding lib 'propgrid' in variable 
wxLuaBind_COMPONENTS is missing from wxWidgets_COMPONENTS so it will not be 
compiled.
* wxLua using external/system Lua library :
*   - include dir : C:/build/LuaJIT-2.0.4/src
*   - library     : C:/build/LuaJIT-2.0.4/src/lua51.lib
* Not copying the Lua proxydlls since they do not work in the 64-bit build.
Could NOT find Doxygen (missing:  DOXYGEN_EXECUTABLE) 
* WARNING: Doxygen NOT found, wxLua_doxygen target will not be generated.
wxWidgets requested but not found.
Could NOT find Doxygen (missing:  DOXYGEN_EXECUTABLE) 
* WARNING: Doxygen NOT found, wxStEdit_doxygen target will not be generated.
CMake Warning (dev) at build/CMakeFunctions.cmake:1225 (elseif):
  Policy CMP0054 is not set: Only interpret if() arguments as variables or
  keywords when unquoted.  Run "cmake --help-policy CMP0054" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.

  Quoted variables like "PROPERTIES" will no longer be dereferenced when the
  policy is set to NEW.  Since the policy is not set the OLD behavior will be
  used.
Call Stack (most recent call first):
  build/CMakeFunctions.cmake:1516 (APPEND_SOURCE_FILES_PROPERTIES)
  build/CMakeFunctions.cmake:872 (TARGET_PRECOMPILED_HEADER)
  modules/wxstedit/CMakeLists.txt:99 (ADD_LIBRARY_FULL)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at build/CMakeFunctions.cmake:988 (if):
  Policy CMP0054 is not set: Only interpret if() arguments as variables or
  keywords when unquoted.  Run "cmake --help-policy CMP0054" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.

  Quoted variables like "WIN32" will no longer be dereferenced when the
  policy is set to NEW.  Since the policy is not set the OLD behavior will be
  used.
Call Stack (most recent call first):
  modules/wxstedit/CMakeLists.txt:208 (ADD_EXECUTABLE_FULL)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at build/CMakeFunctions.cmake:988 (if):
  Policy CMP0054 is not set: Only interpret if() arguments as variables or
  keywords when unquoted.  Run "cmake --help-policy CMP0054" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.

  Quoted variables like "WIN32" will no longer be dereferenced when the
  policy is set to NEW.  Since the policy is not set the OLD behavior will be
  used.
Call Stack (most recent call first):
  apps/CMakeLists.txt:27 (ADD_EXECUTABLE_FULL)
  apps/wxlua/CMakeLists.txt:3 (wxLua_Apps_wxLua_TARGETS)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at build/CMakeFunctions.cmake:988 (if):
  Policy CMP0054 is not set: Only interpret if() arguments as variables or
  keywords when unquoted.  Run "cmake --help-policy CMP0054" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.

  Quoted variables like "WIN32" will no longer be dereferenced when the
  policy is set to NEW.  Since the policy is not set the OLD behavior will be
  used.
Call Stack (most recent call first):
  apps/CMakeLists.txt:56 (ADD_EXECUTABLE_FULL)
  apps/wxluacan/CMakeLists.txt:3 (wxLua_Apps_wxLuaCan_TARGETS)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at build/CMakeFunctions.cmake:988 (if):
  Policy CMP0054 is not set: Only interpret if() arguments as variables or
  keywords when unquoted.  Run "cmake --help-policy CMP0054" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.

  Quoted variables like "WIN32" will no longer be dereferenced when the
  policy is set to NEW.  Since the policy is not set the OLD behavior will be
  used.
Call Stack (most recent call first):
  apps/CMakeLists.txt:98 (ADD_EXECUTABLE_FULL)
  apps/wxluaedit/CMakeLists.txt:3 (wxLua_Apps_wxLuaEdit_TARGETS)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at build/CMakeFunctions.cmake:988 (if):
  Policy CMP0054 is not set: Only interpret if() arguments as variables or
  keywords when unquoted.  Run "cmake --help-policy CMP0054" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.

  Quoted variables like "WIN32" will no longer be dereferenced when the
  policy is set to NEW.  Since the policy is not set the OLD behavior will be
  used.
Call Stack (most recent call first):
  apps/CMakeLists.txt:131 (ADD_EXECUTABLE_FULL)
  apps/wxluafreeze/CMakeLists.txt:3 (wxLua_Apps_wxLuaFreeze_TARGETS)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at bindings/CMakeLists.txt:152 (get_target_property):
  Policy CMP0045 is not set: Error on non-existent target in
  get_target_property.  Run "cmake --help-policy CMP0045" for policy details.
  Use the cmake_policy command to set the policy and suppress this warning.

  get_target_property() called with non-existent target "lua".
Call Stack (most recent call first):
  bindings/CMakeLists.txt:183 (ADD_WXLUABIND_GENERATION)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at bindings/CMakeLists.txt:152 (get_target_property):
  Policy CMP0045 is not set: Error on non-existent target in
  get_target_property.  Run "cmake --help-policy CMP0045" for policy details.
  Use the cmake_policy command to set the policy and suppress this warning.

  get_target_property() called with non-existent target "lua".
Call Stack (most recent call first):
  bindings/CMakeLists.txt:183 (ADD_WXLUABIND_GENERATION)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at bindings/CMakeLists.txt:152 (get_target_property):
  Policy CMP0045 is not set: Error on non-existent target in
  get_target_property.  Run "cmake --help-policy CMP0045" for policy details.
  Use the cmake_policy command to set the policy and suppress this warning.

  get_target_property() called with non-existent target "lua".
Call Stack (most recent call first):
  bindings/CMakeLists.txt:183 (ADD_WXLUABIND_GENERATION)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at bindings/CMakeLists.txt:152 (get_target_property):
  Policy CMP0045 is not set: Error on non-existent target in
  get_target_property.  Run "cmake --help-policy CMP0045" for policy details.
  Use the cmake_policy command to set the policy and suppress this warning.

  get_target_property() called with non-existent target "lua".
Call Stack (most recent call first):
  bindings/CMakeLists.txt:183 (ADD_WXLUABIND_GENERATION)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at bindings/CMakeLists.txt:152 (get_target_property):
  Policy CMP0045 is not set: Error on non-existent target in
  get_target_property.  Run "cmake --help-policy CMP0045" for policy details.
  Use the cmake_policy command to set the policy and suppress this warning.

  get_target_property() called with non-existent target "lua".
Call Stack (most recent call first):
  bindings/CMakeLists.txt:183 (ADD_WXLUABIND_GENERATION)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at bindings/CMakeLists.txt:152 (get_target_property):
  Policy CMP0045 is not set: Error on non-existent target in
  get_target_property.  Run "cmake --help-policy CMP0045" for policy details.
  Use the cmake_policy command to set the policy and suppress this warning.

  get_target_property() called with non-existent target "lua".
Call Stack (most recent call first):
  bindings/CMakeLists.txt:183 (ADD_WXLUABIND_GENERATION)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at bindings/CMakeLists.txt:152 (get_target_property):
  Policy CMP0045 is not set: Error on non-existent target in
  get_target_property.  Run "cmake --help-policy CMP0045" for policy details.
  Use the cmake_policy command to set the policy and suppress this warning.

  get_target_property() called with non-existent target "lua".
Call Stack (most recent call first):
  bindings/CMakeLists.txt:183 (ADD_WXLUABIND_GENERATION)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at bindings/CMakeLists.txt:152 (get_target_property):
  Policy CMP0045 is not set: Error on non-existent target in
  get_target_property.  Run "cmake --help-policy CMP0045" for policy details.
  Use the cmake_policy command to set the policy and suppress this warning.

  get_target_property() called with non-existent target "lua".
Call Stack (most recent call first):
  bindings/CMakeLists.txt:183 (ADD_WXLUABIND_GENERATION)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at bindings/CMakeLists.txt:152 (get_target_property):
  Policy CMP0045 is not set: Error on non-existent target in
  get_target_property.  Run "cmake --help-policy CMP0045" for policy details.
  Use the cmake_policy command to set the policy and suppress this warning.

  get_target_property() called with non-existent target "lua".
Call Stack (most recent call first):
  bindings/CMakeLists.txt:183 (ADD_WXLUABIND_GENERATION)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at bindings/CMakeLists.txt:152 (get_target_property):
  Policy CMP0045 is not set: Error on non-existent target in
  get_target_property.  Run "cmake --help-policy CMP0045" for policy details.
  Use the cmake_policy command to set the policy and suppress this warning.

  get_target_property() called with non-existent target "lua".
Call Stack (most recent call first):
  bindings/CMakeLists.txt:183 (ADD_WXLUABIND_GENERATION)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at bindings/CMakeLists.txt:152 (get_target_property):
  Policy CMP0045 is not set: Error on non-existent target in
  get_target_property.  Run "cmake --help-policy CMP0045" for policy details.
  Use the cmake_policy command to set the policy and suppress this warning.

  get_target_property() called with non-existent target "lua".
Call Stack (most recent call first):
  bindings/CMakeLists.txt:183 (ADD_WXLUABIND_GENERATION)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at bindings/CMakeLists.txt:152 (get_target_property):
  Policy CMP0045 is not set: Error on non-existent target in
  get_target_property.  Run "cmake --help-policy CMP0045" for policy details.
  Use the cmake_policy command to set the policy and suppress this warning.

  get_target_property() called with non-existent target "lua".
Call Stack (most recent call first):
  bindings/CMakeLists.txt:183 (ADD_WXLUABIND_GENERATION)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at bindings/CMakeLists.txt:152 (get_target_property):
  Policy CMP0045 is not set: Error on non-existent target in
  get_target_property.  Run "cmake --help-policy CMP0045" for policy details.
  Use the cmake_policy command to set the policy and suppress this warning.

  get_target_property() called with non-existent target "lua".
Call Stack (most recent call first):
  bindings/CMakeLists.txt:183 (ADD_WXLUABIND_GENERATION)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at bindings/CMakeLists.txt:152 (get_target_property):
  Policy CMP0045 is not set: Error on non-existent target in
  get_target_property.  Run "cmake --help-policy CMP0045" for policy details.
  Use the cmake_policy command to set the policy and suppress this warning.

  get_target_property() called with non-existent target "lua".
Call Stack (most recent call first):
  bindings/CMakeLists.txt:183 (ADD_WXLUABIND_GENERATION)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at bindings/CMakeLists.txt:152 (get_target_property):
  Policy CMP0045 is not set: Error on non-existent target in
  get_target_property.  Run "cmake --help-policy CMP0045" for policy details.
  Use the cmake_policy command to set the policy and suppress this warning.

  get_target_property() called with non-existent target "lua".
Call Stack (most recent call first):
  bindings/CMakeLists.txt:183 (ADD_WXLUABIND_GENERATION)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at bindings/CMakeLists.txt:152 (get_target_property):
  Policy CMP0045 is not set: Error on non-existent target in
  get_target_property.  Run "cmake --help-policy CMP0045" for policy details.
  Use the cmake_policy command to set the policy and suppress this warning.

  get_target_property() called with non-existent target "lua".
Call Stack (most recent call first):
  bindings/CMakeLists.txt:183 (ADD_WXLUABIND_GENERATION)
This warning is for project developers.  Use -Wno-dev to suppress it.

Configuring done
------------------------------------------------------------------------------
_______________________________________________
wxlua-users mailing list
wxlua-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxlua-users

Reply via email to