VS 2005 Express is now free, even for commercial!

A forum to store posts deemed exceptionally wise and useful
Spintz
Posts: 1688
Joined: Thu Nov 04, 2004 3:25 pm

Post by Spintz »

Image
genesisrage
Posts: 93
Joined: Tue Feb 08, 2005 12:19 pm

Post by genesisrage »

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??
afecelis
Admin
Posts: 3075
Joined: Sun Feb 22, 2004 10:44 pm
Location: Colombia
Contact:

Post by afecelis »

you're compiling in debug mode hence the size. Try compiling in Release mode. The dll won't be much smaller, but executables' size will drop down considerably.
genesisrage
Posts: 93
Joined: Tue Feb 08, 2005 12:19 pm

Post by genesisrage »

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??
Nico

Post by Nico »

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

I really want to work with vc++ 2005 please help :cry:
pfo
Posts: 370
Joined: Mon Aug 29, 2005 10:54 pm
Location: http://web.utk.edu/~pfox1

Post by pfo »

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
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?
Guest

Post by Guest »

seriously, even for commercial projects????? this so awesome!!!
Guest

Post by Guest »

So, if you create a GUI program with the express GUI designer, does the user have to have windows .net run-time??? If so that is kinda lame, with delphi they don't have any runtime installed, except standard windows installation dll's...
Guest

Post by Guest »

yes, the user needs microsofts .net2 framework for that.
Guest

Post by Guest »

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 ==========
Guest

Post by Guest »

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 ????
Baal Cadar
Posts: 377
Joined: Fri Oct 28, 2005 10:28 am
Contact:

Post by Baal Cadar »

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.
Guest

Post by Guest »

he asked if the user needs .net when you create a gui application with the gui designer. i think it uses managed code so that would mean yes you need .net to run it.

sorry for confusing you.
Guest

Post by Guest »

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..
Guest

Post by Guest »

well you could provide the .net installer with your game that solves the problem (ok now some directx7 people might flame me again because most people wont even have .net1 installed and neither windows sp2 or a newer directx version, but thats another story right ;) )

byebye :D
Post Reply