Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » How to set up a build environment for compiling the scripts.dll
Re: How to set up a build environment for compiling the scripts.dll [message #372425 is a reply to message #296486] Mon, 16 February 2009 20:34 Go to previous messageGo to next message
GT41 is currently offline  GT41
Messages: 27
Registered: February 2009
Location: Germany
Karma: 0
Recruit
since that i see this topic i decided to have a go. It is worth learning if you can. i got 3 errors not sure why. anyone know?

1>------ Build started: Project: SSGM, Configuration: Debug Win32 ------
1>Linking...
1>Searching libraries
1>    Searching C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib\ws2_32.lib:
1>    Searching C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib\user32.lib:
1>    Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\kernel32.lib:
1>    Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\LIBCMT.lib:
1>    Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\OLDNAMES.lib:
1>    Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\libcpmt.lib:
1>    Searching except.lib:
1>    Searching C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib\ws2_32.lib:
1>    Searching C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib\user32.lib:
1>    Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\kernel32.lib:
1>    Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\LIBCMT.lib:
1>    Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\OLDNAMES.lib:
1>    Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\libcpmt.lib:
1>    Searching except.lib:
1>    Searching C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib\ws2_32.lib:
1>    Searching C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib\user32.lib:
1>    Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\kernel32.lib:
1>Finished searching libraries
1>   Creating library .\bin\debug/scripts.lib and object .\bin\debug/scripts.exp
1>Searching libraries
1>    Searching C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib\ws2_32.lib:
1>    Searching C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib\user32.lib:
1>    Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\kernel32.lib:
1>    Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\LIBCMT.lib:
1>    Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\OLDNAMES.lib:
1>    Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\libcpmt.lib:
1>    Searching except.lib:
1>Finished searching libraries
1>Searching libraries
1>    Searching C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib\ws2_32.lib:
1>    Searching C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib\user32.lib:
1>    Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\kernel32.lib:
1>    Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\LIBCMT.lib:
1>    Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\OLDNAMES.lib:
1>    Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\libcpmt.lib:
1>    Searching except.lib:
1>    Searching C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib\ws2_32.lib:
1>    Searching C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib\user32.lib:
1>    Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\kernel32.lib:
1>Finished searching libraries
1>engine_io.obj : error LNK2019: unresolved external symbol __imp__RegQueryValueExA@24 referenced in function "unsigned int __cdecl Get_Registry_Int(char const *,int)" (?Get_Registry_Int@@YAIPBDH@Z)
1>engine_io.obj : error LNK2019: unresolved external symbol __imp__RegOpenKeyExA@20 referenced in function "unsigned int __cdecl Get_Registry_Int(char const *,int)" (?Get_Registry_Int@@YAIPBDH@Z)
1>scripts.dll : fatal error LNK1120: 2 unresolved externals
1>Build log was saved at "file://c:\Documents and Settings\Dean\Desktop\SSGM Source\SSGM Source\tmp\scripts\debug\BuildLog.htm"
1>SSGM - 3 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Re: How to set up a build environment for compiling the scripts.dll [message #372587 is a reply to message #372425] Wed, 18 February 2009 17:56 Go to previous messageGo to next message
saberhawk
Messages: 1068
Registered: January 2006
Location: ::1
Karma: 0
General (1 Star)
GT41 wrote on Mon, 16 February 2009 22:34

since that i see this topic i decided to have a go. It is worth learning if you can. i got 3 errors not sure why. anyone know?

1>------ Build started: Project: SSGM, Configuration: Debug Win32 ------
1>Linking...
1>Searching libraries
1>    Searching C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib\ws2_32.lib:
1>    Searching C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib\user32.lib:
1>    Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\kernel32.lib:
1>    Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\LIBCMT.lib:
1>    Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\OLDNAMES.lib:
1>    Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\libcpmt.lib:
1>    Searching except.lib:
1>    Searching C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib\ws2_32.lib:
1>    Searching C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib\user32.lib:
1>    Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\kernel32.lib:
1>    Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\LIBCMT.lib:
1>    Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\OLDNAMES.lib:
1>    Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\libcpmt.lib:
1>    Searching except.lib:
1>    Searching C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib\ws2_32.lib:
1>    Searching C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib\user32.lib:
1>    Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\kernel32.lib:
1>Finished searching libraries
1>   Creating library .\bin\debug/scripts.lib and object .\bin\debug/scripts.exp
1>Searching libraries
1>    Searching C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib\ws2_32.lib:
1>    Searching C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib\user32.lib:
1>    Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\kernel32.lib:
1>    Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\LIBCMT.lib:
1>    Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\OLDNAMES.lib:
1>    Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\libcpmt.lib:
1>    Searching except.lib:
1>Finished searching libraries
1>Searching libraries
1>    Searching C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib\ws2_32.lib:
1>    Searching C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib\user32.lib:
1>    Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\kernel32.lib:
1>    Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\LIBCMT.lib:
1>    Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\OLDNAMES.lib:
1>    Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\libcpmt.lib:
1>    Searching except.lib:
1>    Searching C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib\ws2_32.lib:
1>    Searching C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib\user32.lib:
1>    Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\kernel32.lib:
1>Finished searching libraries
1>engine_io.obj : error LNK2019: unresolved external symbol __imp__RegQueryValueExA@24 referenced in function "unsigned int __cdecl Get_Registry_Int(char const *,int)" (?Get_Registry_Int@@YAIPBDH@Z)
1>engine_io.obj : error LNK2019: unresolved external symbol __imp__RegOpenKeyExA@20 referenced in function "unsigned int __cdecl Get_Registry_Int(char const *,int)" (?Get_Registry_Int@@YAIPBDH@Z)
1>scripts.dll : fatal error LNK1120: 2 unresolved externals
1>Build log was saved at "file://c:\Documents and Settings\Dean\Desktop\SSGM Source\SSGM Source\tmp\scripts\debug\BuildLog.htm"
1>SSGM - 3 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========




You didn't install the platform SDK correctly, be sure to follow *all* the steps.
Re: How to set up a build environment for compiling the scripts.dll [message #372595 is a reply to message #296486] Wed, 18 February 2009 20:40 Go to previous messageGo to next message
GT41 is currently offline  GT41
Messages: 27
Registered: February 2009
Location: Germany
Karma: 0
Recruit
ahh thanks alot i realised i missed out a part in it lol works now ^^

1>------ Build started: Project: SSGM, Configuration: Debug Win32 ------
1>Linking...
1>Searching libraries
1>    Searching C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib\ws2_32.lib:
1>    Searching C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib\user32.lib:
1>    Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\kernel32.lib:
1>    Searching C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib\gdi32.lib:
1>    Searching C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib\winspool.lib:
1>    Searching C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib\comdlg32.lib:
1>    Searching C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib\advapi32.lib:
1>    Searching C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib\shell32.lib:
1>    Searching C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib\ole32.lib:
1>    Searching C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib\oleaut32.lib:
1>    Searching C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib\uuid.lib:
1>    Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\LIBCMT.lib:
1>    Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\OLDNAMES.lib:
1>    Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\libcpmt.lib:
1>    Searching except.lib:
1>    Searching C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib\ws2_32.lib:
1>    Searching C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib\user32.lib:
1>    Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\kernel32.lib:
1>    Searching C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib\gdi32.lib:
1>    Searching C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib\winspool.lib:
1>    Searching C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib\comdlg32.lib:
1>    Searching C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib\advapi32.lib:
1>    Searching C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib\shell32.lib:
1>    Searching C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib\ole32.lib:
1>    Searching C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib\oleaut32.lib:
1>    Searching C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib\uuid.lib:
1>    Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\LIBCMT.lib:
1>    Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\OLDNAMES.lib:
1>    Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\libcpmt.lib:
1>    Searching except.lib:
1>    Searching C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib\ws2_32.lib:
1>    Searching C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib\user32.lib:
1>    Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\kernel32.lib:
1>    Searching C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib\gdi32.lib:
1>    Searching C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib\winspool.lib:
1>    Searching C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib\comdlg32.lib:
1>    Searching C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib\advapi32.lib:
1>    Searching C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib\shell32.lib:
1>    Searching C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib\ole32.lib:
1>    Searching C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib\oleaut32.lib:
1>    Searching C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib\uuid.lib:
1>Finished searching libraries
1>   Creating library .\bin\debug/scripts.lib and object .\bin\debug/scripts.exp
1>Searching libraries
1>    Searching C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib\ws2_32.lib:
1>    Searching C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib\user32.lib:
1>    Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\kernel32.lib:
1>    Searching C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib\gdi32.lib:
1>    Searching C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib\winspool.lib:
1>    Searching C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib\comdlg32.lib:
1>    Searching C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib\advapi32.lib:
1>    Searching C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib\shell32.lib:
1>    Searching C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib\ole32.lib:
1>    Searching C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib\oleaut32.lib:
1>    Searching C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib\uuid.lib:
1>    Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\LIBCMT.lib:
1>    Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\OLDNAMES.lib:
1>    Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\libcpmt.lib:
1>    Searching except.lib:
1>Finished searching libraries
1>Searching libraries
1>    Searching C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib\ws2_32.lib:
1>    Searching C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib\user32.lib:
1>    Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\kernel32.lib:
1>    Searching C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib\gdi32.lib:
1>    Searching C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib\winspool.lib:
1>    Searching C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib\comdlg32.lib:
1>    Searching C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib\advapi32.lib:
1>    Searching C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib\shell32.lib:
1>    Searching C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib\ole32.lib:
1>    Searching C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib\oleaut32.lib:
1>    Searching C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib\uuid.lib:
1>    Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\LIBCMT.lib:
1>    Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\OLDNAMES.lib:
1>    Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\libcpmt.lib:
1>    Searching except.lib:
1>    Searching C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib\ws2_32.lib:
1>    Searching C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib\user32.lib:
1>    Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\kernel32.lib:
1>    Searching C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib\gdi32.lib:
1>    Searching C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib\winspool.lib:
1>    Searching C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib\comdlg32.lib:
1>    Searching C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib\advapi32.lib:
1>    Searching C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib\shell32.lib:
1>    Searching C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib\ole32.lib:
1>    Searching C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib\oleaut32.lib:
1>    Searching C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib\uuid.lib:
1>Finished searching libraries
1>Embedding manifest...
1>Build log was saved at "file://c:\Documents and Settings\Dean\Desktop\SSGM Source\SSGM Source\tmp\scripts\debug\BuildLog.htm"
1>SSGM - 0 error(s), 0 warning(s)
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
Re: How to set up a build environment for compiling the scripts.dll [message #380932 is a reply to message #296486] Fri, 17 April 2009 23:17 Go to previous messageGo to next message
Darknes2 is currently offline  Darknes2
Messages: 91
Registered: July 2007
Location: Alaberma
Karma: 0
Recruit
>engine_io.obj : error LNK2019: unresolved external symbol __imp__RegQueryValueExA@24 referenced in function "unsigned int __cdecl Get_Registry_Int(char const *,int)" (?Get_Registry_Int@@YAIPBDH@Z)
1>engine_io.obj : error LNK2019: unresolved external symbol __imp__RegOpenKeyExA@20 referenced in function "unsigned int __cdecl Get_Registry_Int(char const *,int)" (?Get_Registry_Int@@YAIPBDH@Z)
1>scripts.dll : fatal error LNK1120: 2 unresolved externals


[EDIT]
sorry didnt see that was already fixed for someone LOL :S

[EDIT #2]
sorry but i STILL can't get this to work!



[Updated on: Fri, 17 April 2009 23:51]

Report message to a moderator

Re: How to set up a build environment for compiling the scripts.dll [message #381003 is a reply to message #296486] Sat, 18 April 2009 08:00 Go to previous messageGo to next message
snazy2000 is currently offline  snazy2000
Messages: 67
Registered: December 2007
Karma: 0
Recruit
No Message Body
Re: How to set up a build environment for compiling the scripts.dll [message #385276 is a reply to message #340426] Sat, 09 May 2009 12:57 Go to previous messageGo to next message
Dean20056 is currently offline  Dean20056
Messages: 46
Registered: September 2007
Location: England,London
Karma: 0
Recruit
a000clown wrote on Sat, 12 July 2008 03:58

Here's a list of links in case the ones from the first post lead nowhere.

Microsoft Visual Studio 2005 Express Editions
(Download Visual C++ 2005)
The page also links to other things you might need.

Microsoft Platform SDK
Be sure to read the full instructions on the page.

DirectX SDK (August 2006)

And obviously follow the instructions previously posted by jonwil.



I installed this once before and got it working but the second link which had the instructions of what to add to the options section now goes to the microsoft main page to download c++ 2008 and i cant find the instructions again does anyone know where they moved to?
Re: How to set up a build environment for compiling the scripts.dll [message #385697 is a reply to message #296486] Tue, 12 May 2009 11:31 Go to previous messageGo to next message
Cooookkie is currently offline  Cooookkie
Messages: 1
Registered: August 2008
Location: United States Of America
Karma: 0
Recruit
WoW Thank You A Lot This Is Really Helping Me Your The Best! Rocked Over

COOOOKKIE RULES!! NEVER DOUBT ME/HIM!!!!!!!! Smile Smile Smile Smile Smile Smile Smile Smile Smile Smile Smile Smile Smile Smile Smile Smile Smile Smile Smile Smile Smile Smile Smile Smile Smile Smile Smile Smile Smile
Re: How to set up a build environment for compiling the scripts.dll [message #385712 is a reply to message #385697] Tue, 12 May 2009 13:15 Go to previous messageGo to next message
MGamer is currently offline  MGamer
Messages: 412
Registered: January 2008
Karma: 0
Commander
No Message Body

rawr.....

[Updated on: Tue, 12 May 2009 13:15]

Report message to a moderator

Re: How to set up a build environment for compiling the scripts.dll [message #393489 is a reply to message #296486] Thu, 02 July 2009 04:48 Go to previous messageGo to next message
ErroR is currently offline  ErroR
Messages: 2984
Registered: March 2008
Location: Moldova
Karma: 0
General (2 Stars)
I tried the x64 and it says that it's not compatible, i also tried the x86 and it just freezes. So i got the express edition, but it seems i can't open dlls with it. Any help?
Re: How to set up a build environment for compiling the scripts.dll [message #393782 is a reply to message #296486] Sat, 04 July 2009 04:08 Go to previous messageGo to next message
mrãçķz is currently offline  mrãçķz
Messages: 3069
Registered: August 2007
Karma: 0
General (3 Stars)
Permabanned for trying and failing DDoS
You cant open DLL´s
Re: How to set up a build environment for compiling the scripts.dll [message #393783 is a reply to message #296486] Sat, 04 July 2009 04:12 Go to previous messageGo to next message
ErroR is currently offline  ErroR
Messages: 2984
Registered: March 2008
Location: Moldova
Karma: 0
General (2 Stars)
yah, i know now, but i can open source for them right?
Re: How to set up a build environment for compiling the scripts.dll [message #393918 is a reply to message #393783] Sun, 05 July 2009 03:15 Go to previous messageGo to next message
Omar007 is currently offline  Omar007
Messages: 1711
Registered: December 2007
Location: Amsterdam
Karma: 0
General (1 Star)
ErroR wrote on Sat, 04 July 2009 13:12

yah, i know now, but i can open source for them right?

If you have the source files you can open them.

You could even open them with notepad but compiling wouldnt really work on notepad Razz


http://tiberiumredux.omarpakker.nl/Old Unused Parts/Plaatjes/PromoteBanner_Hades_small.jpg
Re: How to set up a build environment for compiling the scripts.dll [message #393922 is a reply to message #393918] Sun, 05 July 2009 04:09 Go to previous messageGo to next message
ErroR is currently offline  ErroR
Messages: 2984
Registered: March 2008
Location: Moldova
Karma: 0
General (2 Stars)
Omar007 wrote on Sun, 05 July 2009 13:15

ErroR wrote on Sat, 04 July 2009 13:12

yah, i know now, but i can open source for them right?

If you have the source files you can open them.

You could even open them with notepad but compiling wouldnt really work on notepad Razz

i tried it already Razz and yes there is the source here and in many other places Very Happy
Re: How to set up a build environment for compiling the scripts.dll [message #397704 is a reply to message #296486] Wed, 12 August 2009 06:43 Go to previous messageGo to next message
Vaati19 is currently offline  Vaati19
Messages: 50
Registered: April 2009
Location: Sweden
Karma: 0
Recruit
I found the Visual C++ 2005 Express version if you are interested
<a href="http://go.microsoft.com/fwlink/?LinkId=51410&clcid=0x409" target="Visual C++ 2005 Express"></a>

[Updated on: Wed, 12 August 2009 06:43]

Report message to a moderator

Re: How to set up a build environment for compiling the scripts.dll [message #415567 is a reply to message #296486] Sat, 26 December 2009 09:07 Go to previous messageGo to next message
Catalyst is currently offline  Catalyst
Messages: 139
Registered: March 2009
Karma: 0
Recruit
just an FYI to anybody who wants to learn ;o

http://msdn.microsoft.com/en-us/library/ms235626%28VS.80%29.aspx << This is the document to intergrate the Platform SDK with Express C++

http://download.microsoft.com/download/8/3/a/83aad8f9-38ba-4503-b3cd-ba28c360c27 b/ENU/vcsetup.exe << Visual C++ Express 2005

http://download.microsoft.com/download/a/5/f/a5f0d781-e201-4ab6-8c6a-9bb4efed1e1 a/PSDK-x86.exe << Platform SDK for x86

http://download.microsoft.com/download/9/e/5/9e5bfc66-a621-4e0d-8bfe-6688058c3f0 0/dxsdk_aug2006.exe << DirectX SDK




~Catalyst.
Re: How to set up a build environment for compiling the scripts.dll [message #427425 is a reply to message #296486] Mon, 03 May 2010 09:24 Go to previous messageGo to next message
Ethenal is currently offline  Ethenal
Messages: 2532
Registered: January 2007
Location: US of A
Karma: 0
General (2 Stars)

Has anybody managed to compile scripts on VS 2010 yet? I attempted it, but got all sorts of weird errors... someone posted about it on dcomproductions, but they seem to have disappeared now...

-TLS-DJ-EYE-K wrote on Mon, 18 March 2013 07:29

Instead of showing us that u aren't more inteligent than a Toast, maybe you should start becomming good in renegade Thumbs Up

Re: How to set up a build environment for compiling the scripts.dll [message #432363 is a reply to message #321262] Thu, 08 July 2010 11:51 Go to previous messageGo to next message
C C_guy
Messages: 133
Registered: January 2007
Location: Canada
Karma: 0
Recruit
Saberhawk wrote on Sat, 08 March 2008 21:22

Then you don't have your SDK path setup properly.


Using Visual C++ 2005 Express Edition with the Microsoft Platform SDK
By Brian Johnson,
Microsoft Corporation

You can use Visual C++ Express to build powerful .NET Framework applications immediately after installation. In order to use Visual C++ Express to build Win32 applications, you'll need to take just a few more steps. I'll list the steps necessary for building Win32 applications using Visual C++ Express.

Step 1: Install Visual C++ Express.
If you haven't done so already, install Visual C++ Express.



Step 2: Install the Microsoft Platform SDK.
Install the Platform SDK over the Web from the Download Center. Follow the instructions and install the SDK for the x86 platform.



Step 3: Update the Visual C++ directories in the Projects and Solutions section in the Options dialog box.
Add the paths to the appropriate subsection:

Executable files: C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Bin
Include files: C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Include
Library files: C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Lib
Note: Alternatively, you can update the Visual C++ Directories by modifying the VCProjectEngine.dll.Express.config file located in the \vc\vcpackages subdirectory of the Visual C++ Express install location. Please make sure that you also delete the file "vccomponents.dat" located in the "%USERPROFILE%\Local Settings\Application Data\Microsoft\VCExpress\8.0" if it exists before restarting Visual C++ Express Edition.



Step 4: Update the corewin_express.vsprops file.
One more step is needed to make the Win32 template work in Visual C++ Express. You need to edit the corewin_express.vsprops file (found in C:\Program Files\Microsoft Visual Studio 8\VC\VCProjectDefaults) and

Change the string that reads:

AdditionalDependencies="kernel32.lib"

to

AdditionalDependencies="kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib"



Step 5: Generate and build a Win32 application to test your paths.
In Visual C++ Express, the Win32 Windows Application type is disabled in the Win32 Application Wizard. To enable that type, you need to edit the file AppSettings.htm file located in the folder "%ProgramFiles%\Microsoft Visual Studio 8\VC\VCWizards\AppWiz\Generic\Application\html\1033\".

In a text editor comment out lines 441 - 444 by putting a // in front of them as shown here:

// WIN_APP.disabled = true;
// WIN_APP_LABEL.disabled = true;
// DLL_APP.disabled = true;
// DLL_APP_LABEL.disabled = true;

Save and close the file and open Visual C++ Express.

From the File menu, click New Project. In the New Project dialog box, expand the Visual C++ node in the Product Types tree and then click Win32. Click on the Win32 Console Application template and then give your project a name and click OK. In the Win32 Application Wizard dialog box, make sure that Windows application is selected as the Application type and the ATL is not selected. Click the Finish button to generate the project.

As a final step, test your project by clicking the Start button in the IDE or by pressing F5. Your Win32 application should build and run.

Re: How to set up a build environment for compiling the scripts.dll [message #434144 is a reply to message #296486] Mon, 02 August 2010 20:20 Go to previous messageGo to next message
halo2pac is currently offline  halo2pac
Messages: 659
Registered: December 2006
Location: Near Cleveland, Ohio
Karma: 0
Colonel
This should be added to the first post since every time I reinstall my computer I forget this:

FOR ALL THOSE WHO ARE HAVING THE:
"error C2733: second C linkage of overloaded function '_interlockedbittestandset' not allowed"

ERROR, SELECT "RELEASE" FROM THE DROPDOWN BOX AT THE TOP OF VC++.


http://img339.imageshack.us/img339/1991/nefobbygenyunoreleasere.jpg
Rene-Buddy | Renegade X
Join the fight against Obsessive-Compulsive Posting Disorder. Cancel is ur friend.
*Renegade X Dev Team Member*
Re: How to set up a build environment for compiling the scripts.dll [message #434189 is a reply to message #434144] Tue, 03 August 2010 15:26 Go to previous messageGo to next message
Ethenal is currently offline  Ethenal
Messages: 2532
Registered: January 2007
Location: US of A
Karma: 0
General (2 Stars)

halo2pac wrote on Mon, 02 August 2010 22:20

This should be added to the first post since every time I reinstall my computer I forget this:

FOR ALL THOSE WHO ARE HAVING THE:
"error C2733: second C linkage of overloaded function '_interlockedbittestandset' not allowed"

ERROR, SELECT "RELEASE" FROM THE DROPDOWN BOX AT THE TOP OF VC++.

Never seen that... but that solution removes the possibility of a debug build. What if you want one? Razz


-TLS-DJ-EYE-K wrote on Mon, 18 March 2013 07:29

Instead of showing us that u aren't more inteligent than a Toast, maybe you should start becomming good in renegade Thumbs Up

Re: How to set up a build environment for compiling the scripts.dll [message #434698 is a reply to message #434144] Fri, 13 August 2010 07:12 Go to previous messageGo to next message
danpaul88 is currently offline  danpaul88
Messages: 5795
Registered: June 2004
Location: England
Karma: 0
General (5 Stars)
halo2pac wrote on Tue, 03 August 2010 04:20

This should be added to the first post since every time I reinstall my computer I forget this:

FOR ALL THOSE WHO ARE HAVING THE:
"error C2733: second C linkage of overloaded function '_interlockedbittestandset' not allowed"

ERROR, SELECT "RELEASE" FROM THE DROPDOWN BOX AT THE TOP OF VC++.


Did you try doing a Rebuild All instead of just a Build? That would most likely solve the issue while still allowing you to compile debug builds.


http://steamsignature.com/card/1/76561197975867233.png
Re: How to set up a build environment for compiling the scripts.dll [message #435153 is a reply to message #296486] Fri, 20 August 2010 16:07 Go to previous messageGo to next message
halo2pac is currently offline  halo2pac
Messages: 659
Registered: December 2006
Location: Near Cleveland, Ohio
Karma: 0
Colonel
Also VC++ Express isnt readily available without hunting for it. So I have found the link from Microsoft for it:

VC++ 2005.
http://go.microsoft.com/fwlink/?linkid=57034

and for some reason VC++ 2008 and 2010 crap out on me and wont compile even though I have followed the instructions and I have done this 10 times before.


http://img339.imageshack.us/img339/1991/nefobbygenyunoreleasere.jpg
Rene-Buddy | Renegade X
Join the fight against Obsessive-Compulsive Posting Disorder. Cancel is ur friend.
*Renegade X Dev Team Member*
Re: How to set up a build environment for compiling the scripts.dll [message #436813 is a reply to message #296486] Tue, 21 September 2010 04:00 Go to previous messageGo to next message
zunnie is currently offline  zunnie
Messages: 2959
Registered: September 2003
Location: Netherlands
Karma: 0
General (2 Stars)

Does anyone know how to configure VS2010 for compiling scripts 3.4.4?

https://multiplayerforums.com/uploads/monthly_2018_03/TCW2_Signature.png.6236a0dbc6e1e53472a18fe8cd15e47b.png
Re: How to set up a build environment for compiling the scripts.dll [message #436814 is a reply to message #436813] Tue, 21 September 2010 04:04 Go to previous messageGo to next message
Omar007 is currently offline  Omar007
Messages: 1711
Registered: December 2007
Location: Amsterdam
Karma: 0
General (1 Star)
zunnie wrote on Tue, 21 September 2010 13:00

Does anyone know how to configure VS2010 for compiling scripts 3.4.4?

I'm running it on VS2010. I don't recall exactly how i did it but i had the same configuration as Saberhawk put somewhere.

That project should be around somewhere in this section Rolling Eyes


http://tiberiumredux.omarpakker.nl/Old Unused Parts/Plaatjes/PromoteBanner_Hades_small.jpg
Re: How to set up a build environment for compiling the scripts.dll [message #437635 is a reply to message #296486] Sun, 10 October 2010 08:00 Go to previous messageGo to next message
cAmpa is currently offline  cAmpa
Messages: 597
Registered: March 2006
Karma: 0
Colonel
Quote:

1>except.lib(unhandld.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "__decode_pointer" in Funktion ""long __stdcall __CxxUnhandledExceptionFilter(struct _EXCEPTION_POINTERS *)" (?__CxxUnhandledExceptionFilter@@YGJPAU_EXCEPTION_POINTERS@@@Z)".
1>except.lib(unhandld.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "__encode_pointer" in Funktion ""int __cdecl __CxxSetUnhandledExceptionFilter(void)" (?__CxxSetUnhandledExceptionFilter@@YAHXZ)".


Any idea how to fix this?
The problem comes with VS2010, 2008 worked fine.


Bückstabü!
Re: How to set up a build environment for compiling the scripts.dll [message #437643 is a reply to message #296486] Sun, 10 October 2010 11:28 Go to previous messageGo to previous message
Omar007 is currently offline  Omar007
Messages: 1711
Registered: December 2007
Location: Amsterdam
Karma: 0
General (1 Star)
Remove except.lib stuff from the project Thumbs Up
(and calls to it)


http://tiberiumredux.omarpakker.nl/Old Unused Parts/Plaatjes/PromoteBanner_Hades_small.jpg

[Updated on: Sun, 10 October 2010 11:29]

Report message to a moderator

Previous Topic: Another color?
Next Topic: Notes on lighting/vertex solve features in scripts 4.x
Goto Forum:
  


Current Time: Wed Dec 18 06:03:42 MST 2024

Total time taken to generate the page: 0.01926 seconds