razordemo / Insert-No-Coins

"Insert No Coins" 64k intro
48 stars 7 forks source link

Compilation instructions for Windows? #3

Open TheSystemGuy1337 opened 2 days ago

TheSystemGuy1337 commented 2 days ago

Going to toss my hat into the ringer, doubt I will get any response. I obtained a copy of VS2010 (as to be era appropriate to avoid any VS2022 related nonsense) and I need instructions on how to compile it. All of my experiences with compilers have been negative with me facing nonsensical compiler errors.

TheSystemGuy1337 commented 2 days ago

Attempted to compile. All I got was a mountain of compiler errors as usual. Googling turned up nothing.

1>------ Build started: Project: Insert No Coins, Configuration: Debug Win32 ------
1>nolibc.obj : warning LNK4229: invalid directive '/OPT:NOWIN98' encountered; ignored
1>MSVCRTD.lib(MSVCR100D.dll) : error LNK2005: _rand already defined in nolibc.obj
1>     Creating library C:\Users\OxiClean\Documents\Visual Studio 2010\Projects\Insert No Coins\Debug\Insert No Coins.lib and object C:\Users\OxiClean\Documents\Visual Studio 2010\Projects\Insert No Coins\Debug\Insert No Coins.exp
1>glrez.obj : error LNK2019: unresolved external symbol __imp__glTexParameteri@12 referenced in function "int __cdecl load_tex(unsigned short,int,int)" (?load_tex@@YAHGHH@Z)
1>glrez.obj : error LNK2019: unresolved external symbol _gluBuild2DMipmaps@28 referenced in function "int __cdecl load_tex(unsigned short,int,int)" (?load_tex@@YAHGHH@Z)
1>glrez.obj : error LNK2019: unresolved external symbol __imp__glTexImage2D@36 referenced in function "int __cdecl load_tex(unsigned short,int,int)" (?load_tex@@YAHGHH@Z)
1>glrez.obj : error LNK2019: unresolved external symbol __imp__glBindTexture@8 referenced in function "int __cdecl load_tex(unsigned short,int,int)" (?load_tex@@YAHGHH@Z)
1>glrez.obj : error LNK2019: unresolved external symbol __imp__glPixelStorei@8 referenced in function "int __cdecl load_tex(unsigned short,int,int)" (?load_tex@@YAHGHH@Z)
1>glrez.obj : error LNK2019: unresolved external symbol _gluPerspective@32 referenced in function "void __cdecl init3d(int,int)" (?init3d@@YAXHH@Z)
1>glrez.obj : error LNK2019: unresolved external symbol __imp__glLoadIdentity@0 referenced in function "void __cdecl init3d(int,int)" (?init3d@@YAXHH@Z)
1>glrez.obj : error LNK2019: unresolved external symbol __imp__glMatrixMode@4 referenced in function "void __cdecl init3d(int,int)" (?init3d@@YAXHH@Z)
1>glrez.obj : error LNK2019: unresolved external symbol __imp__glViewport@16 referenced in function "void __cdecl init3d(int,int)" (?init3d@@YAXHH@Z)
1>glrez.obj : error LNK2019: unresolved external symbol _gluOrtho2D@32 referenced in function "void __cdecl init2d(int,int)" (?init2d@@YAXHH@Z)
1>glrez.obj : error LNK2019: unresolved external symbol __imp__glEnd@0 referenced in function "void __cdecl rectangle(int,int,int,int)" (?rectangle@@YAXHHHH@Z)
1>glrez.obj : error LNK2019: unresolved external symbol __imp__glVertex2i@8 referenced in function "void __cdecl rectangle(int,int,int,int)" (?rectangle@@YAXHHHH@Z)
1>glrez.obj : error LNK2019: unresolved external symbol __imp__glBegin@4 referenced in function "void __cdecl rectangle(int,int,int,int)" (?rectangle@@YAXHHHH@Z)
1>glrez.obj : error LNK2019: unresolved external symbol __imp__glColor3f@12 referenced in function "void __cdecl disk(float)" (?disk@@YAXM@Z)
1>glrez.obj : error LNK2019: unresolved external symbol __imp__glHint@8 referenced in function "int __cdecl InitGL(void)" (?InitGL@@YAHXZ)
1>glrez.obj : error LNK2019: unresolved external symbol __imp__glFogf@8 referenced in function "int __cdecl InitGL(void)" (?InitGL@@YAHXZ)
1>glrez.obj : error LNK2019: unresolved external symbol __imp__glFogfv@8 referenced in function "int __cdecl InitGL(void)" (?InitGL@@YAHXZ)
1>glrez.obj : error LNK2019: unresolved external symbol __imp__glFogi@8 referenced in function "int __cdecl InitGL(void)" (?InitGL@@YAHXZ)
1>glrez.obj : error LNK2019: unresolved external symbol __imp__glEnableClientState@4 referenced in function "int __cdecl InitGL(void)" (?InitGL@@YAHXZ)
1>glrez.obj : error LNK2019: unresolved external symbol __imp__glCullFace@4 referenced in function "int __cdecl InitGL(void)" (?InitGL@@YAHXZ)
1>glrez.obj : error LNK2019: unresolved external symbol __imp__glEnable@4 referenced in function "int __cdecl InitGL(void)" (?InitGL@@YAHXZ)
1>glrez.obj : error LNK2019: unresolved external symbol __imp__glDepthMask@4 referenced in function "int __cdecl InitGL(void)" (?InitGL@@YAHXZ)
1>glrez.obj : error LNK2019: unresolved external symbol __imp__glClearDepth@8 referenced in function "int __cdecl InitGL(void)" (?InitGL@@YAHXZ)
1>glrez.obj : error LNK2019: unresolved external symbol __imp__glColor4f@16 referenced in function "int __cdecl DrawGLScene(void)" (?DrawGLScene@@YAHXZ)
1>glrez.obj : error LNK2019: unresolved external symbol __imp__glTranslated@24 referenced in function "int __cdecl DrawGLScene(void)" (?DrawGLScene@@YAHXZ)
1>glrez.obj : error LNK2019: unresolved external symbol __imp__glScalef@12 referenced in function "int __cdecl DrawGLScene(void)" (?DrawGLScene@@YAHXZ)
1>glrez.obj : error LNK2019: unresolved external symbol __imp__glDisableClientState@4 referenced in function "int __cdecl DrawGLScene(void)" (?DrawGLScene@@YAHXZ)
1>glrez.obj : error LNK2019: unresolved external symbol __imp__glBlendFunc@8 referenced in function "int __cdecl DrawGLScene(void)" (?DrawGLScene@@YAHXZ)
1>glrez.obj : error LNK2019: unresolved external symbol __imp__glDrawArrays@12 referenced in function "int __cdecl DrawGLScene(void)" (?DrawGLScene@@YAHXZ)
1>glrez.obj : error LNK2019: unresolved external symbol __imp__glColorPointer@16 referenced in function "int __cdecl DrawGLScene(void)" (?DrawGLScene@@YAHXZ)
1>glrez.obj : error LNK2019: unresolved external symbol __imp__glRotatef@16 referenced in function "int __cdecl DrawGLScene(void)" (?DrawGLScene@@YAHXZ)
1>glrez.obj : error LNK2019: unresolved external symbol __imp__glTranslatef@12 referenced in function "int __cdecl DrawGLScene(void)" (?DrawGLScene@@YAHXZ)
1>glrez.obj : error LNK2019: unresolved external symbol __imp__glTexCoordPointer@16 referenced in function "int __cdecl DrawGLScene(void)" (?DrawGLScene@@YAHXZ)
1>glrez.obj : error LNK2019: unresolved external symbol __imp__glVertexPointer@16 referenced in function "int __cdecl DrawGLScene(void)" (?DrawGLScene@@YAHXZ)
1>glrez.obj : error LNK2019: unresolved external symbol __imp__glDisable@4 referenced in function "int __cdecl DrawGLScene(void)" (?DrawGLScene@@YAHXZ)
1>glrez.obj : error LNK2019: unresolved external symbol __imp__glClear@4 referenced in function "int __cdecl DrawGLScene(void)" (?DrawGLScene@@YAHXZ)
1>glrez.obj : error LNK2019: unresolved external symbol __imp__glClearColor@16 referenced in function "int __cdecl DrawGLScene(void)" (?DrawGLScene@@YAHXZ)
1>glrez.obj : error LNK2019: unresolved external symbol __imp__wglDeleteContext@4 referenced in function "void __cdecl KillGLWindow(void)" (?KillGLWindow@@YAXXZ)
1>glrez.obj : error LNK2019: unresolved external symbol __imp__wglMakeCurrent@8 referenced in function "void __cdecl KillGLWindow(void)" (?KillGLWindow@@YAXXZ)
1>glrez.obj : error LNK2019: unresolved external symbol __imp__wglCreateContext@4 referenced in function "int __cdecl CreateGLWindow(char *)" (?CreateGLWindow@@YAHPAD@Z)
1>glrez.obj : error LNK2019: unresolved external symbol __imp__glPolygonMode@8 referenced in function _WinMain@16
1>minifmod.lib(Fmusic.obj) : error LNK2019: unresolved external symbol __imp__waveOutWrite@12 referenced in function _FMUSIC_PlaySong
1>minifmod.lib(Fmusic.obj) : error LNK2019: unresolved external symbol __imp__waveOutPrepareHeader@12 referenced in function _FMUSIC_PlaySong
1>minifmod.lib(Fmusic.obj) : error LNK2019: unresolved external symbol __imp__waveOutOpen@24 referenced in function _FMUSIC_PlaySong
1>minifmod.lib(Fmusic.obj) : error LNK2019: unresolved external symbol __imp__waveOutClose@4 referenced in function _FMUSIC_StopSong
1>minifmod.lib(Fmusic.obj) : error LNK2019: unresolved external symbol __imp__waveOutReset@4 referenced in function _FMUSIC_StopSong
1>minifmod.lib(Fmusic.obj) : error LNK2019: unresolved external symbol __imp__waveOutUnprepareHeader@12 referenced in function _FMUSIC_StopSong
1>minifmod.lib(Fsound.obj) : error LNK2019: unresolved external symbol __imp__waveOutGetPosition@12 referenced in function _FSOUND_Software_DoubleBufferThread