Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Honor

Pages: [1]
1
General Discussion / TGUI License?
« on: 26 June 2016, 21:48:36 »
What type of license does TGUI follow exactly? SFML license allows free use of all libraries (including for commercial purposes), as long as SFML is mentioned in the source/documentation ( https://www.sfml-dev.org/license.php ). Can/Should I assume that TGUI is under the same license as SFML?

2
Installation help / CMAKE Error
« on: 24 June 2016, 19:08:40 »
Just downloaded the latest stable source and cmake itself doesn't really want to work? Any thoughts?

Error occurs after I click configure (source and build folders are linked correctly). Perhaps it's because I'm not using an external (non)default hard drive?

3
I can't seem to figure out why this isn't working, maybe someone else has an idea?


I have downloaded the Code::Blocks Cmake files, and have hooked everything up correctly (I'm pretty sure). I've successfully configured the files once, and it says I need to specify the location. I type "H:Program Files/SFML" and the thing will configure fine.

IMAGE:



Now when I configure the file but leave the "TGUI_SHARED_LIBS" option unchecked. The thing gives me an error when I configure again.


I don't exactly see what I did wrong, and how I could fix it. So, any ideas?

4
Help requests / tgui::Button::Ptr button(gui); button size
« on: 25 September 2013, 07:30:15 »
I want to put a image of a button on my GUI without stretching it. It always ends up stretched though, any solutions?

Code: [Select]
tgui::Button::Ptr button(gui);
    button->load("gfx/GUI.conf");
    button->setSize(120, 39);
    button->setPosition(630, 250);
    button->setText("Login");
    button->setTextSize(14);
    button->setTextColor(sf::Color(255, 255, 255));
    button->bindCallback(tgui::Button::LeftMouseClicked);
    button->setCallbackId(1);

Code: [Select]
Button:
    NormalImage_L  = "gui/button/Normal.png" (0, 0, 9, 39)
    NormalImage_M  = "gui/button/Normal.png" (10, 0, 100, 39)
    NormalImage_R  = "gui/button/Normal.png" (111, 0, 9, 39)
    HoverImage_L   = "gui/button/Hover.png"  (0, 0, 9, 39)
    HoverImage_M   = "gui/button/Hover.png"  (10, 0, 100, 39)
    HoverImage_R   = "gui/button/Hover.png"  (111, 0, 9, 39)
    DownImage_L    = "gui/button/Down.png"   (0, 0, 9, 39)
    DownImage_M    = "gui/button/Down.png"   (10, 0, 100, 39)
    DownImage_R    = "gui/button/Down.png"   (111, 0, 9, 39)
   
    TextColor          = (100, 100, 100)
    SeparateHoverImage = true

5
Installation help / TGUI error when compiling with CMake (2.8.11.2)
« on: 21 September 2013, 05:37:38 »
After following this step " https://tgui.eu/wp-content/uploads/2013/03/CMakeBuildTGUICodeBlocksMinGW.jpg " from "  https://tgui.eu/tutorials/v06/codeblocks/ " is when I get a popup: https://puu.sh/4wjCy.png ..

Additional information:
OS: Windows XP (SP3)
Using the CodeBlocks MinGW compiler as my native compiler.

CMake console:
Code: [Select]
The C compiler identification is GNU 4.8.1
The CXX compiler identification is GNU 4.8.1
Check for working C compiler: h:/MinGW/bin/gcc.exe
Check for working C compiler: h:/MinGW/bin/gcc.exe -- works
Detecting C compiler ABI info
CMake Error at H:/Program Files/CMake 2.8/share/cmake-2.8/Modules/CMakeDetermineCompilerABI.cmake:31 (try_compile):
  Cannot copy output executable

    ''

  to destination specified by COPY_FILE:

    'H:/Program Files/TGUI/build/CMakeFiles/2.8.11.2/CMakeDetermineCompilerABI_C.bin'

  Unable to find the executable at any of:

    H:/Program Files/TGUI/build/CMakeFiles/CMakeTmp/cmTryCompileExec2339646467.exe
    H:/Program Files/TGUI/build/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec2339646467.exe
    H:/Program Files/TGUI/build/CMakeFiles/CMakeTmp/Development/cmTryCompileExec2339646467.exe

Call Stack (most recent call first):
  H:/Program Files/CMake 2.8/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:75 (CMAKE_DETERMINE_COMPILER_ABI)
  CMakeLists.txt:21 (project)


Detecting C compiler ABI info - done
CMake Error at H:/Program Files/CMake 2.8/share/cmake-2.8/Modules/CMakeDetermineCompilerABI.cmake:52 (file):
  file STRINGS file "H:/Program
  Files/TGUI/build/CMakeFiles/2.8.11.2/CMakeDetermineCompilerABI_C.bin"
  cannot be read.
Call Stack (most recent call first):
  H:/Program Files/CMake 2.8/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:75 (CMAKE_DETERMINE_COMPILER_ABI)
  CMakeLists.txt:21 (project)


Check for working CXX compiler: h:/MinGW/bin/g++.exe
Check for working CXX compiler: h:/MinGW/bin/g++.exe -- works
Detecting CXX compiler ABI info
CMake Error at H:/Program Files/CMake 2.8/share/cmake-2.8/Modules/CMakeDetermineCompilerABI.cmake:31 (try_compile):
  Cannot copy output executable

    ''

  to destination specified by COPY_FILE:

    'H:/Program Files/TGUI/build/CMakeFiles/2.8.11.2/CMakeDetermineCompilerABI_CXX.bin'

  Unable to find the executable at any of:

    H:/Program Files/TGUI/build/CMakeFiles/CMakeTmp/cmTryCompileExec484653838.exe
    H:/Program Files/TGUI/build/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec484653838.exe
    H:/Program Files/TGUI/build/CMakeFiles/CMakeTmp/Development/cmTryCompileExec484653838.exe

Call Stack (most recent call first):
  H:/Program Files/CMake 2.8/share/cmake-2.8/Modules/CMakeTestCXXCompiler.cmake:68 (CMAKE_DETERMINE_COMPILER_ABI)
  CMakeLists.txt:21 (project)


Detecting CXX compiler ABI info - done
CMake Error at H:/Program Files/CMake 2.8/share/cmake-2.8/Modules/CMakeDetermineCompilerABI.cmake:52 (file):
  file STRINGS file "H:/Program
  Files/TGUI/build/CMakeFiles/2.8.11.2/CMakeDetermineCompilerABI_CXX.bin"
  cannot be read.
Call Stack (most recent call first):
  H:/Program Files/CMake 2.8/share/cmake-2.8/Modules/CMakeTestCXXCompiler.cmake:68 (CMAKE_DETERMINE_COMPILER_ABI)
  CMakeLists.txt:21 (project)


Looking for sys/types.h
Looking for sys/types.h - found
Looking for stdint.h
Looking for stdint.h - found
Looking for stddef.h
Looking for stddef.h - found
Check size of void*
CMake Error at H:/Program Files/CMake 2.8/share/cmake-2.8/Modules/CheckTypeSize.cmake:89 (try_compile):
  Cannot copy output executable

    ''

  to destination specified by COPY_FILE:

    'H:/Program Files/TGUI/build/CMakeFiles/CheckTypeSize/SIZEOF_VOID_PTR.bin'

  Unable to find the executable at any of:

    H:/Program Files/TGUI/build/CMakeFiles/CMakeTmp/cmTryCompileExec1542734059.exe
    H:/Program Files/TGUI/build/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec1542734059.exe
    H:/Program Files/TGUI/build/CMakeFiles/CMakeTmp/Development/cmTryCompileExec1542734059.exe

Call Stack (most recent call first):
  H:/Program Files/CMake 2.8/share/cmake-2.8/Modules/CheckTypeSize.cmake:174 (__check_type_size_impl)
  cmake/Config.cmake:8 (check_type_size)
  CMakeLists.txt:24 (include)


CMake Error at cmake/Config.cmake:14 (message):
  Unsupported architecture
Call Stack (most recent call first):
  CMakeLists.txt:24 (include)


Configuring incomplete, errors occurred!

After checking the H:/Program Files/TGUI/build/CMakeFiles/CMakeTmp, I see: https://puu.sh/4wjF2.png

I am very confused on why this is happening. I have tried just installing TGUI 0.5, but it gave me the same results.

Pages: [1]