VS 2005 Express is now free, even for commercial!
-
- Posts: 93
- Joined: Tue Feb 08, 2005 12:19 pm
well i have used the above post and successfully compiled the dll and redid the hello world tutorial... and the file sizes disturb me a bit
compiled example from irrlicht:
HelloWorld.exe (29k)
Irrlicht.dll (1.48mb)
compiled with c++ 2005:
HelloWorld.exe (60k)
Irrlicht.dll (1.61mb)
the exe is 30k (2 times the original size), and the dll is about 100k bigger... thought this was supposed to have code-optimization and have filesizes a little bit smaller? granted its not much bigger, but have no idea how it would affect larger projects??
compiled example from irrlicht:
HelloWorld.exe (29k)
Irrlicht.dll (1.48mb)
compiled with c++ 2005:
HelloWorld.exe (60k)
Irrlicht.dll (1.61mb)
the exe is 30k (2 times the original size), and the dll is about 100k bigger... thought this was supposed to have code-optimization and have filesizes a little bit smaller? granted its not much bigger, but have no idea how it would affect larger projects??
-
- Posts: 93
- Joined: Tue Feb 08, 2005 12:19 pm
nope that was release mode, for the dll and the exe
also, i can see that this tut is very similar to codeblocks, but wondering why these things need to be changed in the Linker->Input settings?
Additional Dependencies: (blank) ! (del: odbc32.lib odbccp32.lib)
Ignore Specific Library: libci.lib
granted it works this way, im just curious on why these have been changed, but they dont need to be changed for codeblocks??
also, i can see that this tut is very similar to codeblocks, but wondering why these things need to be changed in the Linker->Input settings?
Additional Dependencies: (blank) ! (del: odbc32.lib odbccp32.lib)
Ignore Specific Library: libci.lib
granted it works this way, im just curious on why these have been changed, but they dont need to be changed for codeblocks??
-
- Posts: 370
- Joined: Mon Aug 29, 2005 10:54 pm
- Location: http://web.utk.edu/~pfox1
If you downloaded Irrlicht SDK, and you have VC 2005, then I assure you it is possible to compile it into a .DLL. Did you get the windows platform SDK for visual studio 2005? If not, search the forums for help on this, you need it installed. After that, it should compile out of the box, or maybe need a little bit of massaging. If you can't get past that part, how do you expect to develop something with Irrlicht?Is there some one who have uploaded the vc++ 2005 irrlicht dll because i am unable to compile i tried very much but dont understand much of the things that where said in this topic
okay, I installed the dec 2005 directx edition and included some old d3dx headers that Afecials or w/e had... I also got the psdk working just fine without any errors. It compiles fine, except for the linking... I get 2 errors...
Linking...
Irrlicht.obj : warning LNK4224: /COMMENT is no longer supported; ignored
Creating library .\..\Release/Irrlicht.lib and object .\..\Release/Irrlicht.exp
CIrrDeviceWin32.obj : error LNK2019: unresolved external symbol "class irr::video::IVideoDriver * __cdecl irr::video::createSoftwareDriver2(class irr::core::dimension2d<int> const &,bool,class irr::io::IFileSystem *,class irr::video::IImagePresenter *)" (?createSoftwareDriver2@video@irr@@YAPAVIVideoDriver@12@ABV?$dimension2d@H@core@2@_NPAVIFileSystem@io@2@PAVIImagePresenter@12@@Z) referenced in function "private: void __thiscall irr::CIrrDeviceWin32::createDriver(enum irr::video::E_DRIVER_TYPE,class irr::core::dimension2d<int> const &,unsigned int,bool,bool,bool,bool)" (?createDriver@CIrrDeviceWin32@irr@@AAEXW4E_DRIVER_TYPE@video@2@ABV?$dimension2d@H@core@2@I_N222@Z)
.\..\Release/Irrlicht.dll : fatal error LNK1120: 1 unresolved externals
Build log was saved at "file://c:\Irrlicht\source\Release\BuildLog.htm"
Irrlicht - 2 error(s), 1 warning(s)
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========
Linking...
Irrlicht.obj : warning LNK4224: /COMMENT is no longer supported; ignored
Creating library .\..\Release/Irrlicht.lib and object .\..\Release/Irrlicht.exp
CIrrDeviceWin32.obj : error LNK2019: unresolved external symbol "class irr::video::IVideoDriver * __cdecl irr::video::createSoftwareDriver2(class irr::core::dimension2d<int> const &,bool,class irr::io::IFileSystem *,class irr::video::IImagePresenter *)" (?createSoftwareDriver2@video@irr@@YAPAVIVideoDriver@12@ABV?$dimension2d@H@core@2@_NPAVIFileSystem@io@2@PAVIImagePresenter@12@@Z) referenced in function "private: void __thiscall irr::CIrrDeviceWin32::createDriver(enum irr::video::E_DRIVER_TYPE,class irr::core::dimension2d<int> const &,unsigned int,bool,bool,bool,bool)" (?createDriver@CIrrDeviceWin32@irr@@AAEXW4E_DRIVER_TYPE@video@2@ABV?$dimension2d@H@core@2@I_N222@Z)
.\..\Release/Irrlicht.dll : fatal error LNK1120: 1 unresolved externals
Build log was saved at "file://c:\Irrlicht\source\Release\BuildLog.htm"
Irrlicht - 2 error(s), 1 warning(s)
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========
that was me above, and I solved the problem... a couple of questions though...
Do the irrlicht programs or any programs we create in this IDE and compiler... Does the person running the compiled program have to have .net installed. Or is that just for the GUI applications when you use the builder.
also...
Does the executables you make in visual basic require .net ????
Do the irrlicht programs or any programs we create in this IDE and compiler... Does the person running the compiled program have to have .net installed. Or is that just for the GUI applications when you use the builder.
also...
Does the executables you make in visual basic require .net ????
-
- Posts: 377
- Joined: Fri Oct 28, 2005 10:28 am
- Contact:
The other computer doesn't have to have .Net installed, as long as you don't use .Net yourself (No managed code in your app). Of course, if you use Irrlicht.Net it has to have .Net.
But, there is a small issue nevertheless. You can't simply put the MS runtime libs into the folder of your application. MS invented a new mechanism, that needs the runtime libs to be handled specially. So you can't just make a zip and put everything into it, but you need to use an installer.
For instance you can use WiX http://sourceforge.net/projects/wix
Here is a tutorial for making this work: http://blogs.msdn.com/nikolad/archive/2 ... 60368.aspx
I don't know about the visual basic thing for sure, but I guess, yes, you need .Net then.
But, there is a small issue nevertheless. You can't simply put the MS runtime libs into the folder of your application. MS invented a new mechanism, that needs the runtime libs to be handled specially. So you can't just make a zip and put everything into it, but you need to use an installer.
For instance you can use WiX http://sourceforge.net/projects/wix
Here is a tutorial for making this work: http://blogs.msdn.com/nikolad/archive/2 ... 60368.aspx
I don't know about the visual basic thing for sure, but I guess, yes, you need .Net then.
both answers were great, thank you both... So now I know, if I make a game in irrlicht in visual c++ express, the user doesn't need .net installed, Unless I Use managed code, like the GUI builder in visual c++. Thanks. And Visual Basic 2005 express also uses managed code, so anything I make in VB... the user needs to have .net installed. Wow that kind of sucks.... But I won't use VB anyways. I thought I was right about .net having to be installed. sweet.
but anyways, thanks..
but anyways, thanks..