[SOLVED] CEGUISampleFramework-0.8 + Windows 10 Pro

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

LordJonas
Not too shy to talk
Not too shy to talk
Posts: 32
Joined: Fri May 24, 2013 11:15

Re: CEGUISampleFramework-0.8 + Windows 10 Pro

Postby LordJonas » Tue Jul 12, 2016 20:48

@YaronCT: Sorry... I've been working like a crazzy to get the engine and cegui working and i've missed that indeed...

cegui deps (after compilation) are locate at D:\dev\cegui-0.8.7\dependencies (wicht includes the folders bin, include, lib, and all the others...)
irrlicht is located at D:\dev\engine

YaronCT
CEGUI Team
Posts: 448
Joined: Fri Jun 19, 2015 12:18
Location: Kiryat-Bialik, Israel

Re: CEGUISampleFramework-0.8 + Windows 10 Pro

Postby YaronCT » Tue Jul 12, 2016 20:58

@LordJonas: Ok, plz follow these steps *exactly*:

* Open a command prompt

* Run:

Code: Select all

set PATH=D:\dev\engine\bin;D:\dev\cegui-0.8.7\dependencies\bin;C:\MinGW\mingw32\bin;%PATH%
echo %PATH%
D:\Dev\cegui-0.8.7\bin\CEGUISampleFramework-0.8.exe


Plz tell me the output of the "echo" command and how the running of the sample framework goes.

LordJonas
Not too shy to talk
Not too shy to talk
Posts: 32
Joined: Fri May 24, 2013 11:15

Re: CEGUISampleFramework-0.8 + Windows 10 Pro

Postby LordJonas » Tue Jul 12, 2016 21:06

@YaronCT:

D:\dev\engine\bin;D:\dev\cegui-0.8.7\dependencies\bin;C:\MinGW\mingw32\bin;C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\Embarcadero\Studio\18.0\bin;C:\Users\Joao Ferreira\Documents\Embarcadero\Studio\18.0\Bpl;C:\Program Files (x86)\Embarcadero\Studio\18.0\bin64;C:\Users\Joao Ferreira\Documents\Embarcadero\Studio\18.0\Bpl\Win64;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\doxygen\bin;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Windows\system32\config\systemprofile\.dnx\bin;C:\Program Files\Microsoft DNX\Dnvm\;C:\Program Files\Microsoft SQL Server\120\Tools\Binn\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit\;C:\Program Files (x86)\Microsoft Emulator Manager\1.0\;C:\Program Files (x86)\nodejs\;C:\Program Files\Git\cmd;C:\Program Files\TortoiseSVN\bin;C:\Program Files (x86)\GtkSharp\2.12\bin;C:\Program Files (x86)\Borland\Delphi7\Bin;C:\Program Files (x86)\Borland\Delphi7\Projects\Bpl;C:\Program Files\TortoiseGit\bin;C:\Program Files\TortoiseHg\;C:\MinGW\mingw32\bin;C:\Users\Public\Documents\Embarcadero\Studio\18.0\Bpl;C:\Program Files (x86)\CMake\bin;C:\Users\Joao Ferreira\AppData\Local\atom\bin;C:\Program Files (x86)\Microsoft VS Code\bin;C:\Users\Joao Ferreira\AppData\Roaming\npm;C:\MinGW\mingw32\bin

The good news is that it works with OpenGL.
The bad knews is that with Irrlich it crashes...

Why?? What did i missed ? :hammer:

YaronCT
CEGUI Team
Posts: 448
Joined: Fri Jun 19, 2015 12:18
Location: Kiryat-Bialik, Israel

Re: CEGUISampleFramework-0.8 + Windows 10 Pro

Postby YaronCT » Tue Jul 12, 2016 21:19

@LordJonas: I'm glad to hear! :D

Order matters. Some of the dll-s from MinGW-w64 may be in other places in your path, with the same name, but with different content (e.g. they contain different versions of the library, or built with a different compiler). Similarly, some of the dll-s from cegui deps may be in other places in your path (including the compiler's bin dir), with the same name, but with different content. Therefore u must make sure "D:\dev\engine\bin;D:\dev\cegui-0.8.7\dependencies\bin;C:\MinGW\mingw32\bin" is at the front of your "PATH", in that order.

LordJonas
Not too shy to talk
Not too shy to talk
Posts: 32
Joined: Fri May 24, 2013 11:15

Re: CEGUISampleFramework-0.8 + Windows 10 Pro

Postby LordJonas » Tue Jul 12, 2016 21:25

@YaronCT: I'm going to edit the environment variables in Windows so i can put those paths in first place. However, still no luck with Irrlicht...

LordJonas
Not too shy to talk
Not too shy to talk
Posts: 32
Joined: Fri May 24, 2013 11:15

Re: CEGUISampleFramework-0.8 + Windows 10 Pro

Postby LordJonas » Tue Jul 12, 2016 22:46

@YaronCT:
I've change the order of paths in the environment variables for Windows 10 and tested the following modes:
    OpenGL 3.2 Core Renderer - OK
    OpenGL Renderer - OK
    Microsoft Direct3D 9 Renderer - OK
    Microsoft Direct3D 10 Renderer - OK
    Irrlicht Engine Renderer - NOK

I've noticed that Irrlicht gives an exception when loading CEGUIEffectsDemo :

See attached file
Attachments
irrlicht_error.PNG
irrlicht_error.PNG (10.61 KiB) Viewed 7737 times

YaronCT
CEGUI Team
Posts: 448
Joined: Fri Jun 19, 2015 12:18
Location: Kiryat-Bialik, Israel

Re: CEGUISampleFramework-0.8 + Windows 10 Pro

Postby YaronCT » Tue Jul 12, 2016 23:50

@LoadJonas: Yes, that's the problem reported here. I've uploaded a patch to that thread. That should fix the problem.

YaronCT
CEGUI Team
Posts: 448
Joined: Fri Jun 19, 2015 12:18
Location: Kiryat-Bialik, Israel

Re: CEGUISampleFramework-0.8 + Windows 10 Pro

Postby YaronCT » Wed Jul 13, 2016 09:18

@LoadJonas: Note that Direct3D 11 Renderer now works too with MinGW-w64. However, you'll have to use the head revision of branch "v0-8" of both the "cegui-dependencies" and "CEGUI" repositories for it to work.

LordJonas
Not too shy to talk
Not too shy to talk
Posts: 32
Joined: Fri May 24, 2013 11:15

Re: CEGUISampleFramework-0.8 + Windows 10 Pro

Postby LordJonas » Thu Jul 14, 2016 09:12

@YaronCT: Applying the patch works fine. Thanks a lot for the time.

:pint:

YaronCT
CEGUI Team
Posts: 448
Joined: Fri Jun 19, 2015 12:18
Location: Kiryat-Bialik, Israel

Re: CEGUISampleFramework-0.8 + Windows 10 Pro

Postby YaronCT » Thu Jul 14, 2016 09:49

@LordJonas: :D

If you're interested, u can share with us a bit about the project u work on.


Return to “Help”

Who is online

Users browsing this forum: No registered users and 10 guests