hello world - tutorial 1 problems
Posted: Fri Jun 23, 2006 12:03 am
in the entire tutorial it doesnt tell you what you need to have in the project or where to type in the code so i just made a new project with a blank cpp file and typed all the code exactly as it shows and added the include directory and the library director under tools -> options -> Projects -> VC++ Directories
when i compile i get this
error C3280: 'Irrlicht::(insert various namespaces here)::(insert various class names here)::(inser various class member functions here)' : a member-function of a managed type cannot be compiled as an unmanaged function.
so im guessing thats not what i have to use for the tutorial 1, maybe im wrong but im giving the author a little more credit than that. so can someone tell me what files i need to make tutorial 1 work
when i compile i get this
then i tried to build the project Irrlicht.NET.sln in the irrlich-1.0\source\source.zip\Irrlicht.NET folder and when i try to build that without making any changes to the code at all i get 29 errors sayingerror LNK2019: unresolved external symbol _WinMain@16 referenced in function _WinMainCRTStartup
fatal error LNK1120: 1 unresolved externals
so i change that line 29 times to just #include "irrlicht.h" and those 29 errors are gone but then i get 10 more of the same errors and about 500 errors sayingfatal error C1083: Cannot open include file: '..\\irrlicht\\include\\irrlicht.h': No such file or directory
error C3280: 'Irrlicht::(insert various namespaces here)::(insert various class names here)::(inser various class member functions here)' : a member-function of a managed type cannot be compiled as an unmanaged function.
so im guessing thats not what i have to use for the tutorial 1, maybe im wrong but im giving the author a little more credit than that. so can someone tell me what files i need to make tutorial 1 work