View Full Version: Installation Problems

C++ Game Dev > nIrium > Installation Problems


Title: Installation Problems


Neken - May 21, 2006 03:06 PM (GMT)
Post here the problems you have installing the engine.

BGamed - May 21, 2006 03:39 PM (GMT)
I've got no visual cpp, can't I just do it with the dev-cpp? :huh:

Neken - May 21, 2006 03:42 PM (GMT)
you can try but i doubt it will work.

i think it's a good idea anyway, to switch to a professionnal IDE.
and besides, it's free.

BGamed - May 21, 2006 04:41 PM (GMT)
well, I would be forced to install first sp2(while my xp is illegal)

and second, my pc isn't that great, when my new computer is being able to start, I can finally do that...

.....end december <_<

Stenny - May 23, 2006 02:12 PM (GMT)
whoo!
Illegal?
You naughty boy! :angry:

but why do you need to install SP2 then? :)

BGamed - May 23, 2006 07:42 PM (GMT)
sp2 has a security thingie, when I was about to install it, it said that I couldn't install it..
and I need sp2 to install the visual program...<_<

and I've got an illegal win xp, cause after I bought two times winxp, well...

I'm not feeling to buy it again ;)
(I'm the sort of guy, that likes to format its computer about once in the two/three months...) :D

Neken - May 23, 2006 10:41 PM (GMT)
you don'T need to buy another winxp when you format your computer ... so where's the point ?

Stenny - May 24, 2006 01:01 PM (GMT)
Yes, I dont get that one too. Just use the same CD then.

And why the hell would you format you're comp once in the 2/3 months?!?!?! :blink:

Neken - May 24, 2006 03:10 PM (GMT)
a clean pc runs faster, smoother, and has less bugs ... except if you know how to manage windows well enough to not have these problems ...

BGamed - May 25, 2006 11:48 AM (GMT)
I've never had one spam message on my pc, never a notworking program...
I've got never problems of viruses...

And I didn't buy the xp cd, it was installed on my pc, when I've bought a new one...
those idiots didn't gave me the cd with it...

and maybe formatting once in the 2/3 months is a bit sane, but I do it atleast once
at 4 months ;)

Neken - May 25, 2006 03:51 PM (GMT)
it's illegal to sell a pc without the xp cd ... or at least, a recovery disk...

oh ... and i installed everything perfectly on my pirated windows xp old computer ... and it works perfectly ...

Maxine - May 25, 2006 07:08 PM (GMT)
if u'r not a Linux user ^^ no viruses or pop ups woohoo!

Except i dont use Linux ^^

ffalcon - May 25, 2006 07:24 PM (GMT)
Mine didn't come with the cd.

Stenny - May 25, 2006 08:46 PM (GMT)
How do you get the idea it's illegal not giving out windows XP discs when people buy a comp?

Neken - May 25, 2006 09:54 PM (GMT)
you bought winxp with your computer .. you have the right to have the disc.

Stenny - May 25, 2006 11:29 PM (GMT)
if you bought it with it yes

netman - May 26, 2006 12:04 PM (GMT)
I have encountered this many time, the ones who put the computer together buys one windows XP disc for every machine they create.
So the buyer actually buys a computer with an illigal windows XP, but they don't have to pay for the windows XP.
So you don't have any rights I believe :) .

ffalcon - May 26, 2006 01:32 PM (GMT)
In the U.S., you get the PC with Windows preloaded. No disc.

Stenny - May 26, 2006 02:07 PM (GMT)
Stupid US :P

Well, did you páy for windows XP too or was it put on your comp for free...

ffalcon - May 26, 2006 02:16 PM (GMT)
comes with it. didn't pay.

gamehawk - May 26, 2006 04:51 PM (GMT)
Yes, but the computer itself costs more because it's preloaded on there.

Cheers,

gamehawk

ffalcon - May 26, 2006 04:56 PM (GMT)
right.

Cardinal - May 27, 2006 04:39 AM (GMT)
QUOTE

Build Log      Build started: Project: TestGame, Configuration: Release|Win32
Command Lines      Creating temporary file "c:\Documents and Settings\Administrator\Desktop\TestGame\TestGame\Builds\Release\RSP00000126682628.rsp" with contents
[
/OUT:"./Builds/Release\TestGame.exe" /MANIFEST /MANIFESTFILE:"./Builds/Release\TestGame.exe.intermediate.manifest" /SUBSYSTEM:WINDOWS d3d9.lib d3dx9.lib d3dxof.lib strmiids.lib dplayx.lib dxguid.lib dinput8.lib dsound.lib winmm.lib wsock32.lib nIrium.lib kernel32.lib

".\Builds\Release\TestGame.obj"

".\Builds\Release\WinMain.obj"
]
Creating command line "link.exe @"c:\Documents and Settings\Administrator\Desktop\TestGame\TestGame\Builds\Release\RSP00000126682628.rsp" /NOLOGO /ERRORREPORT:PROMPT"
Output Window      Linking...
nIrium.lib(nIrium.obj) : error LNK2019: unresolved external symbol __imp__GetSystemMetrics@4 referenced in function "public: __thiscall nIrium::nProgram::nProgram(void)" (??0nProgram@nIrium@@QAE@XZ)
nIrium.lib(nWindow.obj) : error LNK2019: unresolved external symbol __imp__PostQuitMessage@4 referenced in function "long __stdcall AppWindowProc(struct HWND__ *,unsigned int,unsigned int,long)" (?AppWindowProc@@YGJPAUHWND__@@IIJ@Z)
nIrium.lib(nWindow.obj) : error LNK2019: unresolved external symbol __imp__DefWindowProcA@16 referenced in function "long __stdcall AppWindowProc(struct HWND__ *,unsigned int,unsigned int,long)" (?AppWindowProc@@YGJPAUHWND__@@IIJ@Z)
nIrium.lib(nWindow.obj) : error LNK2019: unresolved external symbol __imp__MoveWindow@24 referenced in function "public: void __thiscall __nIrium::nWindow::Move(long,long)" (?Move@nWindow@__nIrium@@QAEXJJ@Z)
nIrium.lib(nWindow.obj) : error LNK2019: unresolved external symbol __imp__GetClientRect@8 referenced in function "public: void __thiscall __nIrium::nWindow::Move(long,long)" (?Move@nWindow@__nIrium@@QAEXJJ@Z)
nIrium.lib(nWindow.obj) : error LNK2019: unresolved external symbol __imp__GetWindowRect@8 referenced in function "public: void __thiscall __nIrium::nWindow::Resize(long,long)" (?Resize@nWindow@__nIrium@@QAEXJJ@Z)
nIrium.lib(nWindow.obj) : error LNK2019: unresolved external symbol __imp__SetWindowTextA@8 referenced in function "public: void __thiscall __nIrium::nWindow::SetTitle(char *)" (?SetTitle@nWindow@__nIrium@@QAEXPAD@Z)
nIrium.lib(nWindow.obj) : error LNK2019: unresolved external symbol __imp__ShowCursor@4 referenced in function "public: void __thiscall __nIrium::nWindow::ShowMouse(bool)" (?ShowMouse@nWindow@__nIrium@@QAEX_N@Z)
nIrium.lib(nWindow.obj) : error LNK2019: unresolved external symbol __imp__MessageBoxA@16 referenced in function "public: void __thiscall __nIrium::nWindow::Error(bool,char *)" (?Error@nWindow@__nIrium@@QAEX_NPAD@Z)
nIrium.lib(nWindow.obj) : error LNK2019: unresolved external symbol __imp__CoInitialize@4 referenced in function "public: __thiscall __nIrium::nWindow::nWindow(void)" (??0nWindow@__nIrium@@QAE@XZ)
nIrium.lib(nWindow.obj) : error LNK2019: unresolved external symbol __imp__UpdateWindow@4 referenced in function "public: __thiscall __nIrium::nWindow::nWindow(void)" (??0nWindow@__nIrium@@QAE@XZ)
nIrium.lib(nWindow.obj) : error LNK2019: unresolved external symbol __imp__ShowWindow@8 referenced in function "public: __thiscall __nIrium::nWindow::nWindow(void)" (??0nWindow@__nIrium@@QAE@XZ)
nIrium.lib(nWindow.obj) : error LNK2019: unresolved external symbol __imp__CreateWindowExA@48 referenced in function "public: __thiscall __nIrium::nWindow::nWindow(void)" (??0nWindow@__nIrium@@QAE@XZ)
nIrium.lib(nWindow.obj) : error LNK2019: unresolved external symbol __imp__RegisterClassExA@4 referenced in function "public: __thiscall __nIrium::nWindow::nWindow(void)" (??0nWindow@__nIrium@@QAE@XZ)
nIrium.lib(nWindow.obj) : error LNK2019: unresolved external symbol __imp__LoadCursorA@8 referenced in function "public: __thiscall __nIrium::nWindow::nWindow(void)" (??0nWindow@__nIrium@@QAE@XZ)
nIrium.lib(nWindow.obj) : error LNK2019: unresolved external symbol __imp__LoadIconA@8 referenced in function "public: __thiscall __nIrium::nWindow::nWindow(void)" (??0nWindow@__nIrium@@QAE@XZ)
nIrium.lib(nWindow.obj) : error LNK2019: unresolved external symbol __imp__UnregisterClassA@8 referenced in function "public: int __thiscall __nIrium::nWindow::RunApp(void)" (?RunApp@nWindow@__nIrium@@QAEHXZ)
nIrium.lib(nWindow.obj) : error LNK2019: unresolved external symbol __imp__CoUninitialize@0 referenced in function "public: int __thiscall __nIrium::nWindow::RunApp(void)" (?RunApp@nWindow@__nIrium@@QAEHXZ)
nIrium.lib(nWindow.obj) : error LNK2019: unresolved external symbol __imp__DispatchMessageA@4 referenced in function "public: int __thiscall __nIrium::nWindow::RunApp(void)" (?RunApp@nWindow@__nIrium@@QAEHXZ)
nIrium.lib(nWindow.obj) : error LNK2019: unresolved external symbol __imp__TranslateMessage@4 referenced in function "public: int __thiscall __nIrium::nWindow::RunApp(void)" (?RunApp@nWindow@__nIrium@@QAEHXZ)
nIrium.lib(nWindow.obj) : error LNK2019: unresolved external symbol __imp__PeekMessageA@20 referenced in function "public: int __thiscall __nIrium::nWindow::RunApp(void)" (?RunApp@nWindow@__nIrium@@QAEHXZ)
nIrium.lib(nInput.obj) : error LNK2019: unresolved external symbol __imp__ScreenToClient@8 referenced in function "public: void __thiscall __nIrium::nInput::MouseUpdate(struct HWND__ *)" (?MouseUpdate@nInput@__nIrium@@QAEXPAUHWND__@@@Z)
nIrium.lib(nInput.obj) : error LNK2019: unresolved external symbol __imp__GetCursorPos@4 referenced in function "public: void __thiscall __nIrium::nInput::MouseUpdate(struct HWND__ *)" (?MouseUpdate@nInput@__nIrium@@QAEXPAUHWND__@@@Z)
d3dx9.lib(cpudetect.obj) : error LNK2019: unresolved external symbol __imp__RegCloseKey@4 referenced in function "int __stdcall GetD3DRegValue(unsigned long,char *,void *,unsigned long)" (?GetD3DRegValue@@YGHKPADPAXK@Z)
d3dx9.lib(d3dx9dbg.obj) : error LNK2001: unresolved external symbol __imp__RegCloseKey@4
d3dx9.lib(cpudetect.obj) : error LNK2019: unresolved external symbol __imp__RegQueryValueExA@24 referenced in function "int __stdcall GetD3DRegValue(unsigned long,char *,void *,unsigned long)" (?GetD3DRegValue@@YGHKPADPAXK@Z)
d3dx9.lib(d3dx9dbg.obj) : error LNK2001: unresolved external symbol __imp__RegQueryValueExA@24
d3dx9.lib(cpudetect.obj) : error LNK2019: unresolved external symbol __imp__RegOpenKeyA@12 referenced in function "int __stdcall GetD3DRegValue(unsigned long,char *,void *,unsigned long)" (?GetD3DRegValue@@YGHKPADPAXK@Z)
d3dx9.lib(d3dx9dbg.obj) : error LNK2001: unresolved external symbol __imp__RegOpenKeyA@12
./Builds/Release\TestGame.exe : fatal error LNK1120: 26 unresolved externals
Results      Build log was saved at "file://c:\Documents and Settings\Administrator\Desktop\TestGame\TestGame\Builds\Release\BuildLog.htm"
TestGame - 30 error(s), 0 warning(s)


I get this man, I've followed the install instructions to the letter.

Maybe it's my msvc++ that's not configured correctly or something.

I've got all the Includes and Libraries in the nIrium folder in my root directory for the sdk, I've set the options in msvc++ how you said. Maybe I have missed something?

Neken - May 27, 2006 05:08 AM (GMT)
Alright, found your problem ...

you don't seem to have some default libraries into your projects ...

that's ok.

just go into :

Project->__ProjectName__ Properties->

(do the same for configuration : Release and Debug)

Configuration Properties -> Linker -> Input -> Additionnal Dependencies
(click on the 3dots button)

add the the end of the list these 3 libraries :

user32.lib
ole32.lib
advapi32.lib


------

i'll fix this in the next release ... as soon as i have some time :P

Cardinal - May 27, 2006 05:17 AM (GMT)
Nice work, very quick reply also cheers man. Worked a treat after I added those lines like you said.

Hey back at you lol :D

Ok so what can this do? I'm interested to see what I can do in the nIrium so far.


EDIT[]

This is the log from the game so you can see what it said now it's running:

QUOTE

Build Log      Build started: Project: TestGame, Configuration: Release|Win32
Command Lines      Creating temporary file "c:\Documents and Settings\Administrator\Desktop\TestGame\TestGame\Builds\Release\RSP0000016683952.rsp" with contents
[
/Ox /Ot /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /FD /EHsc /MT /J /Fo"./Builds/Release\\" /Fd"./Builds/Release\vc80.pdb" /c /TP ".\WinMain.cpp"

".\TestGame.cpp"
]
Creating command line "cl.exe @"c:\Documents and Settings\Administrator\Desktop\TestGame\TestGame\Builds\Release\RSP0000016683952.rsp" /nologo /errorReport:prompt"
Creating temporary file "c:\Documents and Settings\Administrator\Desktop\TestGame\TestGame\Builds\Release\RSP0000026683952.rsp" with contents
[
/OUT:"./Builds/Release\TestGame.exe" /MANIFEST /MANIFESTFILE:"./Builds/Release\TestGame.exe.intermediate.manifest" /SUBSYSTEM:WINDOWS d3d9.lib d3dx9.lib d3dxof.lib strmiids.lib dplayx.lib dxguid.lib dinput8.lib dsound.lib winmm.lib wsock32.lib nIrium.lib user32.lib ole32.lib advapi32.lib kernel32.lib

".\Builds\Release\TestGame.obj"

".\Builds\Release\WinMain.obj"
]
Creating command line "link.exe @"c:\Documents and Settings\Administrator\Desktop\TestGame\TestGame\Builds\Release\RSP0000026683952.rsp" /NOLOGO /ERRORREPORT:PROMPT"
Creating temporary file "c:\Documents and Settings\Administrator\Desktop\TestGame\TestGame\Builds\Release\RSP0000036683952.rsp" with contents
[
/outputresource:".\Builds\Release\TestGame.exe;#1" /manifest

".\Builds\Release\TestGame.exe.intermediate.manifest"
]
Creating command line "mt.exe @"c:\Documents and Settings\Administrator\Desktop\TestGame\TestGame\Builds\Release\RSP0000036683952.rsp" /nologo"
Creating temporary file "c:\Documents and Settings\Administrator\Desktop\TestGame\TestGame\Builds\Release\BAT0000046683952.bat" with contents
[
@echo Manifest resource last updated at %TIME% on %DATE% > ".\Builds\Release\mt.dep"
]
Creating command line """c:\Documents and Settings\Administrator\Desktop\TestGame\TestGame\Builds\Release\BAT0000046683952.bat"""
Output Window      Compiling...
WinMain.cpp
TestGame.cpp
Generating Code...
Linking...
Embedding manifest...
Results      Build log was saved at "file://c:\Documents and Settings\Administrator\Desktop\TestGame\TestGame\Builds\Release\BuildLog.htm"
TestGame - 0 error(s), 0 warning(s)



I don't know why I'm putting this here lol, just doing it so you can see it when on another machine. I've edited, I put the wrong one there lol.

Neken - May 27, 2006 05:24 AM (GMT)
type "ENGINE." and an "intellisense" popup should come ...

(if you don't see one, try to compile the program once ... if it still doesnt work, just cry and pray so that it works :P)

in it you can see most of the functions, with a brief description :

user posted image

----------------------

Blue squares are instancied objects .. you use a dot like any object :

ENGINE.INPUT.

---

Purple squares are methods that are called like any functions, with parameters :

ENGINE.INPUT.MOUSE.X()


----------------------

It's sure i'll be making a tutorial for my engine .. but right now you could EASILY do a pong game with the ENGINE.GRAFX.DRAW.Rectangle() :D

Cardinal - May 27, 2006 05:29 AM (GMT)
Wicked man, this looks very nice indeed. Can't wait for that tutorial when you got the spare time man. Keep up the good work and cheers for the help !

I'm gonna have a play with this for a bit see what I can come up with.

Cardinal - May 27, 2006 06:08 AM (GMT)
Hurray for "intellisense" I say. :D

This looks like it could be very nice indeed!

would it be possible to get a quickscript for a few things, say creating a few variables and using them with say a mouse.pressed( what goes here?? ) snippet?

You know like say (x,y,w,h,col) then using them for the rectangle arguments(intX,intY,intW,intH,nIrium.........) etc so it's like (x,y,w,h,col) in there instead.

Oh yeah I drew a rectangle in red, wicked I'm a nooblet. Damn it's 7 am in the morning where the time go lol, oh well I might as well stay up now. :blink: (come on you lightweights lets get busy, you'll get enough rest when your dead hehe)

Neken - May 27, 2006 06:12 AM (GMT)
there's gonna be a little sentence explaining each function like the in the ENGINE. part...

and i'll do a massive doc explaining everything carefully...



BTW

do to colors, you should probably do them in hexadecimal format ... like this :

0xFFFFFFFF

where :

CODE

0xFFFFFFFF
  AARRGGBB

A = Alpha
R = Red
G = Green
B = Blue

so , a gray color would be :
0xFF808080

Neken - May 27, 2006 06:14 AM (GMT)
let's go to the other topic to talk about this ...

Cardinal - May 27, 2006 06:15 AM (GMT)
Ok yeah good idea. Onward to the project post (points his trusty steal).

BGamed - August 8, 2006 02:10 PM (GMT)
goddammit!!!*cursing*

I got an error, so when I check the build log there stood this little piece of letters....

CODE


Output Window
   

Linking...
LINK : fatal error LNK1181: cannot open input file 'nIrium.lib'

Neken - August 20, 2006 02:43 PM (GMT)
be sure you have the directory where this file is in your options->file and directories->librairies




* Hosted for free by InvisionFree