UserInterface error

You are an experienced programmer and have a problem with the engine, shaders, or advanced effects? Here you'll get answers.
No questions about C++ programming or topics which are answered in the tutorials!
Post Reply
YorkCleave
Posts: 4
Joined: Tue Mar 04, 2025 5:04 pm

UserInterface error

Post by YorkCleave »

Hi

I am trying to compile the UserInterface program in the Examples folder. Program number 05.

I get the following error :

C:\Users\User\Desktop\irrLicht\examples\05.UserInterface\.\Debug\05.UserInterface.exe
The system cannot find the path specified.

I am using Visual Studio 2017

Can anyone help ?
Noiecity
Posts: 324
Joined: Wed Aug 23, 2023 7:22 pm
Contact:

Re: UserInterface error

Post by Noiecity »

It is likely that the error is because you are trying to run an executable that is in another path, probably in the \irrlicht\bin\Win32-VisualStudio folder
Irrlicht is love, Irrlicht is life, long live to Irrlicht
YorkCleave
Posts: 4
Joined: Tue Mar 04, 2025 5:04 pm

Re: UserInterface error

Post by YorkCleave »

Ok so what do I need to do to fix it ?
Can you help ?
Noiecity
Posts: 324
Joined: Wed Aug 23, 2023 7:22 pm
Contact:

Re: UserInterface error

Post by Noiecity »

I don't know, I have the same error and it is quite likely that it is just going to properties of the solution or project, and setting the paths from there.
For my part I just hit compile and double click on the executable....
Irrlicht is love, Irrlicht is life, long live to Irrlicht
CuteAlien
Admin
Posts: 9935
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Re: UserInterface error

Post by CuteAlien »

Hm, I'll have to test on an old computer, don't have VS 2017 installed right now.
But I'll need some info...
a) Which Irrlicht version are you using? 1.8 or svn trunk?
b) How did you compile it? Because it seems even in trunk we currently only have support vor VS 2015 (vc14) and VS 2019 (vc16). So I suppose you started from one of those?
c) Did you use the BuildAllExamples solution or direclty the one of the project files in the 05.interface folder?
d) What were your build targets? 32-bit or 64-bit? And debug or release (I know it looks for debug in your case, but maybe that's the bug in release build or something like that)?
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
YorkCleave
Posts: 4
Joined: Tue Mar 04, 2025 5:04 pm

Re: UserInterface error

Post by YorkCleave »

Hi to CuteAlien.

a. I am using version 1.7
b. I tried to compile it using Visual Studio 2017
c. I used the solution directly in the 05 interface folder
d. my build target is 64bit
CuteAlien
Admin
Posts: 9935
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Re: UserInterface error

Post by CuteAlien »

OK, that's a bit tricky. 1.7 it was coded for VS 2008 back then and I think the auto-update to VS 2017 might mess it up (or it was broken, don't know). I couldn't figure it out either with quick tests.

My first guess was that the Intermediate and Output directories (in the general section) are wrong. In newer versions the output looks like: ..\..\bin\Win64-VisualStudio\ and the Intermediate Directory is $(Platform)\$(Configuration)\ or in later versions just $(Configuration)\. Thought that didn't fix it yet.

There are some linker warnings in VS 2017 after updating project files and I suppose one would have to follow up on how those were caused. As they sound pretty much like the reason for this (output file not same as target or something like that). But not sure right now where the $target comes from.

Sorry, if you work with such an old version you are a bit on your own. I might invest some time at some point to get at least VS 2010 working again for Irrlicht 1.7 as I need that myself sometimes for comparing to old versions (as I don't have VS 2008 installed anymore on my current PC).

One option might be - use a newer project file (from 1.8 or trunk) and then modify that (basically kick out .cpp files which didn't exist yet back then add those which existed back then and are gone in newer versions).
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
YorkCleave
Posts: 4
Joined: Tue Mar 04, 2025 5:04 pm

Re: UserInterface error

Post by YorkCleave »

Ok thanks

I will keep trying.

Tell me, what is Germany like nowadays ? I am from Scotland myself.

Are you a game developer ?
CuteAlien
Admin
Posts: 9935
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Re: UserInterface error

Post by CuteAlien »

YorkCleave wrote: Wed Mar 05, 2025 1:43 pm Tell me, what is Germany like nowadays ? I am from Scotland myself.
Uhm... spring weather and right wing idiots raising. I hope the weather stays and the idiots rot. Also game industry a bit in trouble right now, but that always happens when the current console generation gets old. Haven't been to Scotland yet, but sounds pretty nice.
YorkCleave wrote: Wed Mar 05, 2025 1:43 pm Are you a game developer ?
I was a game developer in the past. Still hoping to write some more games in the future, but for the last decade or so I mostly worked on interior architecture stuff (so that is what I use Irrlicht for mostly).
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
CuteAlien
Admin
Posts: 9935
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Re: UserInterface error

Post by CuteAlien »

The releases/1.7 branch in svn has now project files for VS 2010. Maybe updating from those is easier (they should be more similar to VS 2017).
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Post Reply