Search found 3 matches

by alexefu73
Sat Feb 22, 2020 1:07 pm
Forum: Beginners Help
Topic: Running the hello tutorial project
Replies: 3
Views: 1187

Re: Running the hello tutorial project

That sounds like it tries to use D3D? Please check in your hello_world.cpp in createDevice which driver you are passing there.

Thank you very much I resolve it like this.



// start up the engine
IrrlichtDevice *device = createDevice(video::EDT_OPENGL,
core::dimension2d<u32>(640,480));

by alexefu73
Sat Feb 22, 2020 12:58 pm
Forum: Beginners Help
Topic: Running the hello tutorial project
Replies: 3
Views: 1187

Re: Running the hello tutorial project

That sounds like it tries to use D3D? Please check in your hello_world.cpp in createDevice which driver you are passing there.

This the code to create the device:

// start up the engine
IrrlichtDevice *device = createDevice(video::EDT_DIRECT3D8,
core::dimension2d<u32>(640,480));


Indeed ...
by alexefu73
Fri Feb 21, 2020 12:42 pm
Forum: Beginners Help
Topic: Running the hello tutorial project
Replies: 3
Views: 1187

Running the hello tutorial project

Hi,
I have installed irrlicht 1.8 on my Deepin 15.11 and installed all the OpenGL packages I need to compile the hello tutorial program.
I compiled like this:


g++-6 hello_world.cpp -I/usr/include/irrlicht -lIrrlicht


It's good, it has compiled successfully.
But when I run the output app it's ...