02 - Irrlicht project and template

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
2,875
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on May 11, 2010

In this tutorial I'll show you how to create a simple Irrlicht project ("Hello World") and a user-template for Code::Blocks.

  • likes, 1 dislikes

Link to this comment:

Share to:

Uploader Comments (AckiB)

  • not working for me; seems to be a issue with the newer version of irrlicht any suggestions? dev c++ epic fails to run this also.

  • @masterxagas nope, should work with any version of Irrlicht... I'm using it since v0.4 until the latest release v1.7.2 !!!

  • I don't know what I do bad but everytime i have 4 errors in HelloWorld

    Projekty\test\main.cpp||In function `int main()':|

    Projekty\test\main.cpp|9|error­: `IvideoDriver' is not a member of `irr::video'|

    Projekty\test\main.cpp|9|error­: `driver' was not declared in this scope|

    Projekty\test\main.cpp|21|erro­r: expected unqualified-id before "return"|

    Projekty\test\main.cpp|22|erro­r: expected declaration before '}' token|

    If you can please tell me what i do bad. I have errors in all cpb but not same.

  • @StickieManPL sorry, I just saw your message, also ir would be better to contact me directly... ;)

    well, I guess you had a typo there: IvideoDriver must be IVideoDriver !!!

see all

All Comments (21)

Sign In or Sign Up now to post a comment!
  • Didn't work for me with Irrlicht 1.7.3. Works with Irrlicht 1.7.1 though, so thanks :)

  • @rayofrnd If you are in Windows, copy the following:

    "your irrlicht path\irrlicht-*.*.*\lib\Win32-­gcc\libIrrlicht.dll.a" and "your irrlicht path\irrlicht-*.*.*\lib\Win32-­gcc\libIrrlicht.dll.a.def" to "your irrlicht path\irrlicht-*.*.*\lib\"

    "your irrlicht path\irrlicht-*.*.*\bin\Win32-­gcc\Irrlicht.dll" to "your irrlicht path\irrlicht-*.*.*\lib\"

    you should now have 3 files in the "your irrlicht path\irrlicht-*.*.*\lib\" folder, namely:

    libIrrlicht.dll.a

    libIrrlicht.dll.a.def

    Irrlicht.dll

  • @rayofrnd The video is a little incomplete, because he only goes over his setup, and offers no explanation as what should match up. That "No such file or directory" error is not due to Code::Blocks not knowing where the compiler and linker are, because that error is given by the linker itself, meaning that the linker ran and that the linker could not find a file. This is probably because the files that are needed are not in the correct directories for this example.

  • @EsHammer1001 Well, I got over that issue alright, but I'm stumped with another one which has got me in a fix.

    Here's the log:

    -------------- Build: Debug in Irr_Test ---------------

    Linking console executable: bin\Irr_Test.exe

    collect2: CreateProcess: No such file or directory

    I added this path

    C:\MinGW\libexec\gcc\mingw32\4­.5.2

    to Settings>Compiler and Debugger>Global compiler settings>Toolchain executables>Additional Paths

    I very well can see collect2.exe being present in the path. Help!

  • @rayofrnd (continuation) Please indicate if this is not descriptive enough, that is if you have not yet solved it.

  • @rayofrnd I don't know if you have gotten past your problem yet, you probably have as it has been a week since you posted it, but in case you have not:

    Undefined references happen because your program cannot find the functions being called, which is most likely because the linker doesn't know where the dll (or other library) is at. You need to make sure that the search paths are correct (found in the menu Project->Build Options->Search Directories->Linker) for BOTH debug and release.

  • Can anyone help me out? I'm receiving these errors:

    C:\MinGW\lib\libmingw32.a(tlss­up.o):tlssup.c|| undefined reference to `LoadLibraryA@4'|

    C:\MinGW\lib\libmingw32.a(tlss­up.o):tlssup.c|| undefined reference to `FreeLibrary@4'|

    C:\MinGW\lib\libmingw32.a(tlst­hrd.o):tlsthrd.c|| undefined reference to `EnterCriticalSection@4'|

    C:\MinGW\lib\libmingw32.a(tlst­hrd.o):tlsthrd.c|| undefined reference to `LeaveCriticalSection@4'|

    ... and so on...

    ||=== Build finished: 11 errors, 0 warnings ===|

  • Perfect. Thank you!

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more