[fixed]sample 14 of irrlicht sdk
[fixed]sample 14 of irrlicht sdk
I don't know if this is the place to say it, but I tried to compile the example 14 and I got an error linking, missing wglCreateContext (opengl32.lib is missing in the included libraries)
Do the other examples work (otherwise you might actually not have that library installed on your system)?
And please tell us on which Operating System you are (I guess Windows in this case as you should get another error otherwise) and which compiler (gcc or VS) and which IDE (c::b or VS) you are using. Also which project file you are using (for example Win32Window_vc8.vcproj or Win32Window_vc9.vcproj).
And please tell us on which Operating System you are (I guess Windows in this case as you should get another error otherwise) and which compiler (gcc or VS) and which IDE (c::b or VS) you are using. Also which project file you are using (for example Win32Window_vc8.vcproj or Win32Window_vc9.vcproj).
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
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
hi CuteAlien,
I'm on Windows XP, SP2, using VS2005, SP1
I open BuildAllExamples_v8.sln on the examples directory,and do a Build All (both debug and release)
Everything compiles well except Debug&Release 14.Win32Window_vc8
and Demo_vc8
I was just notifying, the sample 14 (which I wanted to test) is already operative with the inclusion of the missing lib, dissected, understood and assimilated to my project
I'm on Windows XP, SP2, using VS2005, SP1
I open BuildAllExamples_v8.sln on the examples directory,and do a Build All (both debug and release)
Everything compiles well except Debug&Release 14.Win32Window_vc8
(adding openGL32.lib to the linking makes it work ok)------ Rebuild All started: Project: 14.Win32Window_vc8, Configuration: Release Win32 ------
Deleting intermediate and output files for project '14.Win32Window_vc8', configuration 'Release|Win32'
Compiling...
main.cpp
Linking...
main.obj : error LNK2019: unresolved external symbol __imp__wglShareLists@8 referenced in function _main
main.obj : error LNK2019: unresolved external symbol __imp__wglCreateContext@4 referenced in function _main
..\..\bin\Win32-VisualStudio\14.Win32Window.exe : fatal error LNK1120: 2 unresolved externals
Build Time 0:01
14.Win32Window_vc8 - 3 error(s), 0 warning(s)
and Demo_vc8
------ Rebuild All started: Project: Demo_vc8, Configuration: Debug Win32 ------
Deleting intermediate and output files for project 'Demo_vc8', configuration 'Debug|Win32'
Compiling...
main.cpp
d:\utils\coding\irrlicht-1.7.1\examples\demo\cdemo.h(21) : fatal error C1083: Cannot open include file: 'irrKlang.h': No such file or directory
CMainMenu.cpp
CDemo.cpp
d:\utils\coding\irrlicht-1.7.1\examples\demo\cdemo.h(21) : fatal error C1083: Cannot open include file: 'irrKlang.h': No such file or directory
Generating Code...
Build Time 0:02
Demo_vc8 - 2 error(s), 0 warning(s)
I was just notifying, the sample 14 (which I wanted to test) is already operative with the inclusion of the missing lib, dissected, understood and assimilated to my project
Ok, thanks. I'll take a look tomorow (when I'm back on Windows) if the project file is fine.
For the demo - you can either remove the USE_IRRKLANG define (it's not enabled in the header, so I guess it's probably enabled in the project file somewhere). Or if you want the sound, then go to http://www.ambiera.com/irrklang/ and download the irrKlang library.
For the demo - you can either remove the USE_IRRKLANG define (it's not enabled in the header, so I guess it's probably enabled in the project file somewhere). Or if you want the sound, then go to http://www.ambiera.com/irrklang/ and download the irrKlang library.
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
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
I've changed it in the 1.7 branch. I still have a Visual Studio 2005 Express on my system, but I must admit I also rarely use it.
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
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm