02 - Irrlicht project and template
Uploader Comments (AckiB)
All Comments (21)
-
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!
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 4 months ago
@masterxagas nope, should work with any version of Irrlicht... I'm using it since v0.4 until the latest release v1.7.2 !!!
AckiB 4 months ago
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|error: expected unqualified-id before "return"|
Projekty\test\main.cpp|22|error: expected declaration before '}' token|
If you can please tell me what i do bad. I have errors in all cpb but not same.
StickieManPL 1 year ago
@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 !!!
AckiB 1 year ago