Command and Conquer: Renegade Official Forums - RDF feed
type: channel
description: C&C: Renegade --> Dying since 2003™, resurrected in 2024!
items: How to set up a build environment for compiling the scripts.dll
items: Re: How to set up a build environment for compiling the scripts.dll

How to set up a build environment for compiling the scripts.dll
type: item
description: To get set up to compile the custom scripts.dll (including SSGM) you need to do the following: If you have Visual C++ 2005 other than Express Edition (i.e. professional edition or whatever), do this: 1.Install Visual C++ 2005, install it. Make sure to select the following options: Win32 Platform SDK Tools Visual C++ Run-Time Libraries (select all of the options underneath that) 2.Download the DirectX SDK from here: http://www.microsoft.com/downloads/details.aspx?familyid=C72D9F1E-53F3-4747-8490 -6801D8E8B4EF and install it into the default folder. You need this version (if you have something older or newer it may not work). You do not need it if you are compiling SSGM or another server-side mod (as its only used by shaders.dll) 3.Open the scripts.sln file in Visual C++ (or SSGM.sln if its SSGM). Go to tools-options. Then select "Projects and Solutions" and then "Visual C++ Directories". Under "Include files" add "C:\Program Files\Microsoft DirectX SDK (August 2006)\Include". Under "library files" add "C:\Program Files\Microsoft DirectX SDK (August 2006)\Lib\x86" 4.Build the scripts.dll. You should get no errors. If you get errors, post them in this thread and I will help work out why they are happening. If you do not have Visual C++ (or only have express edition) 1.Go here: http://msdn2.microsoft.com/en-au/express/aa700735.aspx Download and install Visual C++ 2005 Express Edition. 2.Go here: http://msdn2.microsoft.com/en-us/express/aa700755.aspx Download and install the Microsoft Platform SDK (as mentioned there). Make sure you follow ALL the instructions (including the ones about setting up paths and editing configuration files) 3.Download the DirectX SDK from here: http://www.microsoft.com/downloads/details.aspx?familyid=C72D9F1E-53F3-4747-8490 -6801D8E8B4EF and install it into the default folder. You need this version (if you have something older or newer it may not work). You do not need it if you are compiling SSGM or another server-side mod (as its only used b…
creator: jonwil
date: 2007-11-13T03:51:58-00:00

Re: How to set up a build environment for compiling the scripts.dll
type: item
description: Thanks a lot, I've been wanting to ask how to avoid the errors. I hope this build would work...
creator: nopol10
date: 2007-11-13T05:07:27-00:00

Re: How to set up a build environment for compiling the scripts.dll
type: item
description: I'm not going to post up the whole error report because it would take up uber pages. But the main problem seems to be: C:\Program Files\Microsoft Visual Studio8\VC\include\intrin.h(945) that particular line (and 944) in that particular header...
creator: cnc95fan
date: 2007-11-13T22:16:29-00:00

Re: How to set up a build environment for compiling the scripts.dll
type: item
description: This needs to be stickied.
creator: Whitedragon
date: 2007-12-08T05:02:10-00:00

Re: How to set up a build environment for compiling the scripts.dll
type: item
description: Quote: 1>------ Build started: Project: sdbedit, Configuration: Debug Win32 ------ 2>------ Build started: Project: shaders, Configuration: Debug Win32 ------ 1>Compiling... 2>Compiling... 2>tonemapsceneshader.cpp 1>tonemapsceneshader_editor.cpp 2>C:\Program Files\Microsoft Visual Studio 8\VC\include\intrin.h(944) : error C2733: second C linkage of overloaded function '_interlockedbittestandset' not allowed 2> C:\Program Files\Microsoft Visual Studio 8\VC\include\intrin.h(944) : see declaration of '_interlockedbittestandset' 2>C:\Program Files\Microsoft Visual Studio 8\VC\include\intrin.h(945) : error C2733: second C linkage of overloaded function '_interlockedbittestandreset' not allowed 2> C:\Program Files\Microsoft Visual Studio 8\VC\include\intrin.h(945) : see declaration of '_interlockedbittestandreset' 1>C:\Program Files\Microsoft Visual Studio 8\VC\include\intrin.h(944) : error C2733: second C linkage of overloaded function '_interlockedbittestandset' not allowed 1> C:\Program Files\Microsoft Visual Studio 8\VC\include\intrin.h(944) : see declaration of '_interlockedbittestandset' 1>C:\Program Files\Microsoft Visual Studio 8\VC\include\intrin.h(945) : error C2733: second C linkage of overloaded function '_interlockedbittestandreset' not allowed 1> C:\Program Files\Microsoft Visual Studio 8\VC\include\intrin.h(945) : see declaration of '_interlockedbittestandreset' 2>stackingsceneshader.cpp 1>tonemapsceneshader.cpp 2>C:\Program Files\Microsoft Visual Studio 8\VC\include\intrin.h(944) : error C2733: second C linkage of overloaded function '_interlockedbittestandset' not allowed 2> C:\Program Files\Microsoft Visual Studio 8\VC\include\intrin.h(944) : see declaration of '_interlockedbittestandset' 2>C:\Program Files\Microsoft Visual Studio 8\VC\include\intrin.h(945) : error C2733: second C linkage of overloaded function '_interlockedbittestandreset' not allowed 2> C:\Program Files\Microsoft Visual Studio 8\VC\include\intrin.h(945) : see declaration of '_interlock…
creator: cnc95fan
date: 2007-12-12T09:09:10-00:00

Re: How to set up a build environment for compiling the scripts.dll
type: item
description: That error sounds like shaders is redeclaring VC++ builtin functions, which is bad on its part. Either that, or your compiler is screwed and needs a reinstall.
creator: =HT=T-Bird
date: 2007-12-12T12:47:32-00:00

Re: How to set up a build environment for compiling the scripts.dll
type: item
description: Build Log Build started: Project: SSGM, Configuration: Debug|Win32 Command Lines Creating temporary file "c:\Users\wittebolx\Desktop\SSGM\tmp\scripts\debug\RSP00000158762872.rsp" with contents [ /Od /Oi /Oy /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_USRDLL" /D "SCRIPTS_EXPORTS" /D "_CRT_SECURE_NO_DEPRECATE" /D "_VC80_UPGRADE=0x0710" /D "_WINDLL" /D "_MBCS" /GF /FD /EHsc /MT /GS- /Gy /fp:fast /FAs /Fa".\tmp\scripts\debug\\" /Fo".\tmp\scripts\debug\\" /Fd".\tmp\scripts\debug\vc80.pdb" /FR".\tmp\scripts\debug\\" /W4 /WX /c /Zi /TP .\z.cpp .\tfx.cpp .\tda.cpp .\Survival.cpp .\shawk.cpp .\SCUD.cpp .\scripts.cpp .\scriptregistrar.cpp .\scriptfactory.cpp .\renalert2.cpp .\RenAlert.cpp .\Reborn.cpp .\ra_legacy.cpp .\Ra2.cpp .\nhp.cpp .\nh.cpp .\neo.cpp .\mmgr.cpp .\mdbevf.cpp .\mdbdef.cpp .\mdb.cpp .\kamuix.cpp .\kak.cpp .\jmgrp2.cpp .\jfwzone.cpp .\jfwws.cpp .\jfwweap.cpp .\jfwveh.cpp .\jfwsnd.cpp .\jfwscr.cpp .\jfwpow.cpp .\jfwpoke.cpp .\jfwobj.cpp .\jfwmisc.cpp .\jfwhook.cpp .\jfwgun.cpp .\jfwgame.cpp .\jfwdmg.cpp .\jfwdef.cpp .\jfwcust.cpp .\jfwcine.cpp .\gap.cpp .\engine_weap.cpp .\engine_threading.cpp .\engine_tdb.cpp .\engine_string.cpp .\engine_script.cpp .\engine_pt.cpp .\engine_player.cpp .\engine_phys.cpp .\engine_obj2.cpp .\engine_obj.cpp .\engine_net.cpp .\engine_math.cpp .\engine_io.cpp .\engine_game.cpp .\engine_dmg.cpp .\engine_diagnostics.cpp .\engine_def.cpp .\engine_common.cpp .\engine_bhs.cpp .\dllmain.cpp .\Dan.cpp .\gmsettingsclass.cpp .\gmscripts.cpp .\gmmain.cpp .\gmkeyhook.cpp .\gmgamelog.cpp .\gmfunc.cpp .\gmctf.cpp .\gmcrate.cpp .\gmcommandclass.cpp .\engine_gm.cpp .\date.cpp ] Creating command line "cl.exe @c:\Users\wittebolx\Desktop\SSGM\tmp\scripts\debug\RSP00000158762872.rsp /nologo /errorReport:prompt" Creating temporary file "c:\Users\wittebolx\Desktop\SSGM\tmp\scripts\debug\RSP00000258762872.rsp" with contents [ /VERBOSE:LIB /OUT:"scripts.dll" /INCREMENTAL:NO /DLL /MANIFEST /MANIFESTFILE:".\tmp\scripts\debug\scripts.dll.intermediate.manifest…
creator: wittebolx
date: 2007-12-13T07:59:50-00:00

Re: How to set up a build environment for compiling the scripts.dll
type: item
description: I figured out a solution to my problem. Go to your command prompt, then type edit. In the blue box, type format c:\s, save it to a know directory. Create a MS-DOS boot disk, and load up that .bat file. Re-install windows.
creator: cnc95fan
date: 2007-12-27T23:36:21-00:00

Re: How to set up a build environment for compiling the scripts.dll
type: item
description: cnc95fan wrote on Thu, 27 December 2007 17:36 I figured out a solution to my problem. Go to your command prompt, then type edit. In the blue box, type format c:\s, save it to a know directory. Create a MS-DOS boot disk, and load up that .bat file. Re-install windows. Uh, your solution was reformatting? It's funny how much a Windows re-install can do.
creator: Ethenal
date: 2007-12-28T03:41:45-00:00

Re: How to set up a build environment for compiling the scripts.dll
type: item
description: The amount of time it takes is not.
creator: cnc95fan
date: 2007-12-29T13:36:18-00:00

Re: How to set up a build environment for compiling the scripts.dll
type: item
description: I agree.
creator: Ethenal
date: 2007-12-30T08:19:00-00:00

Re: How to set up a build environment for compiling the scripts.dll
type: item
description: 1>c:\users\bracy\desktop\ssgm source\engine_common.h(17) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory I have followed the directions that are explained above and that still didn't solve my problem. I'm using Visual Studio 2005 Express.
creator: blazer411
date: 2008-01-13T23:54:32-00:00

Re: How to set up a build environment for compiling the scripts.dll
type: item
description: You need to install the windows platform SDK. If it's already installed then you need to ensure VS is setup to actually use it. See this part of the first post in the topic; Quote: http://msdn2.microsoft.com/en-us/express/aa700755.aspx Download and install the Microsoft Platform SDK (as mentioned there). Make sure you follow ALL the instructions (including the ones about setting up paths and editing configuration files) (Highlighting added)
creator: danpaul88
date: 2008-01-13T23:57:32-00:00

Re: How to set up a build environment for compiling the scripts.dll
type: item
description: Thanks Dan, that solved the problem. I can't believe I overlooked that part.
creator: blazer411
date: 2008-01-14T02:27:49-00:00

Re: How to set up a build environment for compiling the scripts.dll
type: item
description: Hello Guys, when i try to Compile my Scripts.dll i get this Error: c:\dokumente und einstellungen\hp_besitzer\desktop\scripts\engine_d3d.h(18) : fatal error C1083: Datei (Include) kann nicht geöffnet werden: "d3d8caps.h": No such file or directory shaders.cpp I get this Error on all .cpp files, i thnik im missing the: "d3d8caps.h". Can some1 upload it here?
creator: mrãçķz
date: 2008-03-02T14:03:46-00:00

Re: How to set up a build environment for compiling the scripts.dll
type: item
description: MadRockz wrote on Sun, 02 March 2008 08:03 Hello Guys, when i try to Compile my Scripts.dll i get this Error: c:\dokumente und einstellungen\hp_besitzer\desktop\scripts\engine_d3d.h(18) : fatal error C1083: Datei (Include) kann nicht geöffnet werden: "d3d8caps.h": No such file or directory shaders.cpp I get this Error on all .cpp files, i thnik im missing the: "d3d8caps.h". Can some1 upload it here? Looks like you're also missing the DirectX SDK...
creator: cnc95fan
date: 2008-03-02T14:36:20-00:00

Re: How to set up a build environment for compiling the scripts.dll
type: item
description: No, i followed this Tutorial here, i downloaded, installed and inlucded all files to C++
creator: mrãçķz
date: 2008-03-02T14:49:29-00:00

Re: How to set up a build environment for compiling the scripts.dll
type: item
description: T_T i need Help
creator: mrãçķz
date: 2008-03-03T00:01:18-00:00

Re: How to set up a build environment for compiling the scripts.dll
type: item
description: Express version is crap anyway. Get VS05
creator: cnc95fan
date: 2008-03-03T11:30:45-00:00

Re: How to set up a build environment for compiling the scripts.dll
type: item
description: MadRockz wrote on Sun, 02 March 2008 08:49 No, i followed this Tutorial here, i downloaded, installed and inlucded all files to C++ You have the wrong SDK version, you need August 2006.
creator: saberhawk
date: 2008-03-07T22:04:46-00:00

Re: How to set up a build environment for compiling the scripts.dll
type: item
description: Saberhawk wrote on Fri, 07 March 2008 16:04 MadRockz wrote on Sun, 02 March 2008 08:49 No, i followed this Tutorial here, i downloaded, installed and inlucded all files to C++ You have the wrong SDK version, you need August 2006. i got it work because i used SSGM, but when i try to compile the normal scripts.dll then i get these errors and im using the newest SDK version.
creator: mrãçķz
date: 2008-03-08T10:58:22-00:00

Re: How to set up a build environment for compiling the scripts.dll
type: item
description: How to fix that then? because i dont want to edit gay SSGM. I really need to get normal Scripts work because i want to make LEVEL EDIT Scripts !!!
creator: mrãçķz
date: 2008-03-08T12:56:24-00:00

Re: How to set up a build environment for compiling the scripts.dll
type: item
description: MadRockz wrote on Sat, 08 March 2008 04:58 Saberhawk wrote on Fri, 07 March 2008 16:04 MadRockz wrote on Sun, 02 March 2008 08:49 No, i followed this Tutorial here, i downloaded, installed and inlucded all files to C++ You have the wrong SDK version, you need August 2006. i got it work because i used SSGM, but when i try to compile the normal scripts.dll then i get these errors and im using the newest SDK version. Hence the problem. The newest DirectX SDK does not include Direct3D8 headers (d3d8caps.h is one of them) and cannot be used to compile shaders.dll. Use the August 2006 SDK version that is linked to in the first post and that problem wouldn't be happening...
creator: saberhawk
date: 2008-03-08T22:56:08-00:00

Re: How to set up a build environment for compiling the scripts.dll
type: item
description: i still get that errors
creator: mrãçķz
date: 2008-03-08T23:32:03-00:00

Re: How to set up a build environment for compiling the scripts.dll
type: item
description: Then you don't have your SDK path setup properly.
creator: saberhawk
date: 2008-03-09T03:22:30-00:00

Re: How to set up a build environment for compiling the scripts.dll
type: item
description: I downloaded Visual C++ 2005 now i get the fucking errors with <Windows.h>
creator: mrãçķz
date: 2008-03-10T18:35:13-00:00

Re: How to set up a build environment for compiling the scripts.dll
type: item
description: Follow ALL of the instructions, including the parts about downloading, installing and setting up the windows platform SDK and DirectX SDK.
creator: danpaul88
date: 2008-03-10T21:43:57-00:00

Re: How to set up a build environment for compiling the scripts.dll
type: item
description: OK Whats wrong?
creator: mrãçķz
date: 2008-03-10T23:11:33-00:00

Re: How to set up a build environment for compiling the scripts.dll
type: item
description: For a start one of those lines has a . after the \Lib part, which means the directory path is invalid, unless you actually installed it to \lib.\
creator: danpaul88
date: 2008-03-11T11:32:45-00:00

Re: How to set up a build environment for compiling the scripts.dll
type: item
description: LOL found the Problemm, i had 2 windows.h files... i took the other1 now it works...
creator: mrãçķz
date: 2008-03-11T11:34:29-00:00

Re: How to set up a build environment for compiling the scripts.dll
type: item
description: Other problem: They are not really supposed to be at the bottom of the search path, supposed to be the first entries.
creator: saberhawk
date: 2008-03-16T07:03:57-00:00

Re: How to set up a build environment for compiling the scripts.dll
type: item
description: For anyone creating SSGM plugins, there is a slight bug in them. 1) In plugin.cpp in plugin_unload: remove "delete ObjectHookStruct;" 2) In the same function, add: "DestroyEngineMath();"
creator: jnz
date: 2008-03-20T18:16:06-00:00

Re: How to set up a build environment for compiling the scripts.dll
type: item
description: Quote: remember, RoShamBo is always right ;p
creator: mrãçķz
date: 2008-03-20T18:30:26-00:00

Re: How to set up a build environment for compiling the scripts.dll
type: item
description: This link seems to have stopped working: "http://msdn2.microsoft.com/en-us/express/aa700755.aspx" It worked just fine the other day but now it has been replaced by some general link-maze of microsoft.
creator: Realpra
date: 2008-04-10T17:36:40-00:00

Re: How to set up a build environment for compiling the scripts.dll
type: item
description: are u stealn ma name? for some reason it looks like mine
creator: renalpha
date: 2008-04-10T17:52:39-00:00

Re: How to set up a build environment for compiling the scripts.dll
type: item
description: Compiling... z.cpp c1xx : fatal error C1083: Cannot open source file: '.\z.cpp': No such file or directory tfx.cpp c1xx : fatal error C1083: Cannot open source file: '.\tfx.cpp': No such file or directory tda.cpp c1xx : fatal error C1083: Cannot open source file: '.\tda.cpp': No such file or directory Survival.cpp c1xx : fatal error C1083: Cannot open source file: '.\Survival.cpp': No such file or directory shawk.cpp c1xx : fatal error C1083: Cannot open source file: '.\shawk.cpp': No such file or directory SCUD.cpp c1xx : fatal error C1083: Cannot open source file: '.\SCUD.cpp': No such file or directory scripts.cpp c1xx : fatal error C1083: Cannot open source file: '.\scripts.cpp': No such file or directory scriptregistrar.cpp c1xx : fatal error C1083: Cannot open source file: '.\scriptregistrar.cpp': No such file or directory scriptfactory.cpp c1xx : fatal error C1083: Cannot open source file: '.\scriptfactory.cpp': No such file or directory renalert2.cpp c1xx : fatal error C1083: Cannot open source file: '.\renalert2.cpp': No such file or directory RenAlert.cpp c1xx : fatal error C1083: Cannot open source file: '.\RenAlert.cpp': No such file or directory Reborn.cpp c1xx : fatal error C1083: Cannot open source file: '.\Reborn.cpp': No such file or directory ra_legacy.cpp c1xx : fatal error C1083: Cannot open source file: '.\ra_legacy.cpp': No such file or directory Ra2.cpp c1xx : fatal error C1083: Cannot open source file: '.\Ra2.cpp': No such file or directory nhp.cpp c1xx : fatal error C1083: Cannot open source file: '.\nhp.cpp': No such file or directory nh.cpp c1xx : fatal error C1083: Cannot open source file: '.\nh.cpp': No such file or directory neo.cpp c1xx : fatal error C1083: Cannot open source file: '.\neo.cpp': No such file or directory mmgr.cpp c1xx : fatal error C1083: Cannot open source file: '.\mmgr.cpp': No such file or directory mdbevf.cpp c1xx : fatal error C1083: Cannot open source file: '.\mdbevf.cpp': No such file or directory mdbdef.cpp c1xx…
creator: TiberiumboySFE
date: 2008-04-13T01:27:04-00:00

Re: How to set up a build environment for compiling the scripts.dll
type: item
description: I tried compiling the scripts myself but Ren crashes if I use the shaders.dll that comes out, it's also 1kB smaller than the normal one. Any ideas on what's the problem? No errors when compiling or anything and I followed the instructions... Also: There doesn't seem to be a problem with scripts.dll, and it's also 1kB smaller.
creator: Moggy
date: 2008-05-22T06:06:07-00:00

Re: How to set up a build environment for compiling the scripts.dll
type: item
description: ok, i got 61 errors wtf,,, i send u my error raport 1>------ Build started: Project: SSGM, Configuration: Debug Win32 ------ 1>Compiling... 1>z.cpp 1>c:\westwood\renegadefds\server\ssgm source\engine_common.h(17) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory 1>tfx.cpp 1>tda.cpp 1>survival.cpp 1>shawk.cpp 1>c:\westwood\renegadefds\server\ssgm source\engine_common.h(17) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory 1>scud.cpp 1>scripts.cpp 1>c:\westwood\renegadefds\server\ssgm source\engine_common.h(17) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory 1>scriptregistrar.cpp 1>scriptfactory.cpp 1>renalert2.cpp 1>c:\westwood\renegadefds\server\ssgm source\engine_common.h(17) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory 1>renalert.cpp 1>c:\westwood\renegadefds\server\ssgm source\engine_common.h(17) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory 1>reborn.cpp 1>c:\westwood\renegadefds\server\ssgm source\engine_common.h(17) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory 1>ra_legacy.cpp 1>c:\westwood\renegadefds\server\ssgm source\engine_common.h(17) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory 1>ra2.cpp 1>nhp.cpp 1>nh.cpp 1>neo.cpp 1>c:\westwood\renegadefds\server\ssgm source\engine_common.h(17) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory 1>mmgr.cpp 1>mdbevf.cpp 1>c:\westwood\renegadefds\server\ssgm source\engine_common.h(17) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory 1>mdbdef.cpp 1>c:\westwood\renegadefds\server\ssgm source\engine_common.h(17) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory 1>Generating Code... 1>Compiling... 1>mdb.cpp 1>c:\westwood\renegadefds\server\ssgm source\e…
creator: MutateMeh
date: 2008-06-27T17:33:36-00:00

Re: How to set up a build environment for compiling the scripts.dll
type: item
description: Try following the instructions in the first post, specifically the part about installing the platform SDK, which includes the links to download the required files!
creator: danpaul88
date: 2008-07-10T22:11:42-00:00

Re: How to set up a build environment for compiling the scripts.dll
type: item
description: 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.
creator: a000clown
date: 2008-07-12T08:58:13-00:00

Re: How to set up a build environment for compiling the scripts.dll
type: item
description: What if you have the Visual Studio C++ 2008 Express Edition?? Do i need the same programs or do i need others
creator: Omar007
date: 2008-07-19T10:31:00-00:00

Re: How to set up a build environment for compiling the scripts.dll
type: item
description: I installed the SDK 2006 and placed the Includes and Lib/x86 in VC Directories but i still get the error about failing to include d3d9.h Anyone know what im doing wrong? Thanks for the help Like this is correct or not?: http://www.game-maps.net/staff/zunnie/untitled1.GIF Nevermind, fixed it now, i didnt select the correct option for the includes, oops. See image
creator: zunnie
date: 2008-08-04T17:31:34-00:00

Re: How to set up a build environment for compiling the scripts.dll
type: item
description: Are there any instructions anywhere on how to set it up for Visual Studio 2008?
creator: Ethenal
date: 2008-09-21T21:44:11-00:00

Re: How to set up a build environment for compiling the scripts.dll
type: item
description: ..
creator: gkl21
date: 2008-09-22T03:50:48-00:00

Re: How to set up a build environment for compiling the scripts.dll
type: item
description: Same setup instructions as before with a minor adjustment.. In engine_common.cpp, change the following and recompile scripts.dll. #if (_MSC_VER == 1400) to #if (_MSC_VER == 1500) There are two instances.
creator: gkl21
date: 2008-09-22T03:56:43-00:00

Re: How to set up a build environment for compiling the scripts.dll
type: item
description: gkl21 wrote on Sun, 21 September 2008 22:56 Same setup instructions as before with a minor adjustment.. In engine_common.cpp, change the following and recompile scripts.dll. #if (_MSC_VER == 1400) to #if (_MSC_VER == 1500) There are two instances. No. You need to change them to #if (_MSC_VER >= 1400)
creator: saberhawk
date: 2008-09-22T04:36:13-00:00

Re: How to set up a build environment for compiling the scripts.dll
type: item
description: That is also what Roshambo told me but i just went back to 2005. Works even better for me
creator: Omar007
date: 2008-10-07T19:06:12-00:00

Re: How to set up a build environment for compiling the scripts.dll
type: item
description: Building scripts.dll on vs2008: http://forums.dcomproductions.net/viewtopic.php?f=46&t=851
creator: Dave Anderson
date: 2008-11-06T05:39:09-00:00

Re: How to set up a build environment for compiling the scripts.dll
type: item
description: Um, your link dont work dave.
creator: C C_guy
date: 2008-11-06T08:41:48-00:00

Re: How to set up a build environment for compiling the scripts.dll
type: item
description: C C_guy wrote on Thu, 06 November 2008 02:41 Um, your link dont work dave. http://dcomproductions.com/forums/viewtopic.php?f=46&t=851
creator: Ethenal
date: 2008-12-24T15:30:11-00:00

Re: How to set up a build environment for compiling the scripts.dll
type: item
description: 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\libc…
creator: GT41
date: 2009-02-17T03:34:29-00:00

Re: How to set up a build environment for compiling the scripts.dll
type: item
description: 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 F…
creator: saberhawk
date: 2009-02-19T00:56:55-00:00

Re: How to set up a build environment for compiling the scripts.dll
type: item
description: 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…
creator: GT41
date: 2009-02-19T03:40:19-00:00

Re: How to set up a build environment for compiling the scripts.dll
type: item
description: >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!
creator: Darknes2
date: 2009-04-18T06:17:06-00:00

Re: How to set up a build environment for compiling the scripts.dll
type: item
creator: snazy2000
date: 2009-04-18T15:00:10-00:00

Re: How to set up a build environment for compiling the scripts.dll
type: item
description: 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?
creator: Dean20056
date: 2009-05-09T19:57:20-00:00

Re: How to set up a build environment for compiling the scripts.dll
type: item
description: WoW Thank You A Lot This Is Really Helping Me Your The Best! COOOOKKIE RULES!! NEVER DOUBT ME/HIM!!!!!!!!
creator: Cooookkie
date: 2009-05-12T18:31:06-00:00

Re: How to set up a build environment for compiling the scripts.dll
type: item
creator: MGamer
date: 2009-05-12T20:15:12-00:00

Re: How to set up a build environment for compiling the scripts.dll
type: item
description: 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?
creator: ErroR
date: 2009-07-02T11:48:58-00:00

Re: How to set up a build environment for compiling the scripts.dll
type: item
description: You cant open DLL´s
creator: mrãçķz
date: 2009-07-04T11:08:56-00:00

Re: How to set up a build environment for compiling the scripts.dll
type: item
description: yah, i know now, but i can open source for them right?
creator: ErroR
date: 2009-07-04T11:12:21-00:00

Re: How to set up a build environment for compiling the scripts.dll
type: item
description: 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
creator: Omar007
date: 2009-07-05T10:15:09-00:00

Re: How to set up a build environment for compiling the scripts.dll
type: item
description: 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 i tried it already and yes there is the source here and in many other places
creator: ErroR
date: 2009-07-05T11:09:56-00:00

Re: How to set up a build environment for compiling the scripts.dll
type: item
description: 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">
creator: Vaati19
date: 2009-08-12T13:43:11-00:00

Re: How to set up a build environment for compiling the scripts.dll
type: item
description: 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.
creator: Catalyst
date: 2009-12-26T16:07:15-00:00

Re: How to set up a build environment for compiling the scripts.dll
type: item
description: 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...
creator: Ethenal
date: 2010-05-03T16:24:40-00:00

Re: How to set up a build environment for compiling the scripts.dll
type: item
description: 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 …
creator: C C_guy
date: 2010-07-08T18:51:18-00:00

Re: How to set up a build environment for compiling the scripts.dll
type: item
description: 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++.
creator: halo2pac
date: 2010-08-03T03:20:00-00:00

Re: How to set up a build environment for compiling the scripts.dll
type: item
description: 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?
creator: Ethenal
date: 2010-08-03T22:26:13-00:00

Re: How to set up a build environment for compiling the scripts.dll
type: item
description: 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.
creator: danpaul88
date: 2010-08-13T14:12:30-00:00

Re: How to set up a build environment for compiling the scripts.dll
type: item
description: 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.
creator: halo2pac
date: 2010-08-20T23:07:22-00:00

Re: How to set up a build environment for compiling the scripts.dll
type: item
description: Does anyone know how to configure VS2010 for compiling scripts 3.4.4?
creator: zunnie
date: 2010-09-21T11:00:28-00:00

Re: How to set up a build environment for compiling the scripts.dll
type: item
description: 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
creator: Omar007
date: 2010-09-21T11:04:20-00:00

Re: How to set up a build environment for compiling the scripts.dll
type: item
description: 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.
creator: cAmpa
date: 2010-10-10T15:00:22-00:00

Re: How to set up a build environment for compiling the scripts.dll
type: item
description: Remove except.lib stuff from the project (and calls to it)
creator: Omar007
date: 2010-10-10T18:28:13-00:00

Re: How to set up a build environment for compiling the scripts.dll
type: item
description: Sorry, but I can't find Microsoft Visual Studio 2005 Professional or Express, I only have VS2008 Pro, can you give me a link for old VS2005? In Visual Studio 2008 it send me an error: 1>dllmain.obj : error LNK2019: unresolved external symbol "int __cdecl __CxxSetUnhandledExceptionFilter(void)" (?__CxxSetUnhandledExceptionFilter@@YAHXZ) referenced in function _NotifyHookUnhandledExceptionFilter 1>.\bin\debug\scripts.dll : fatal error LNK1120: 1 unresolved externals
creator: GraYaSDF
date: 2010-10-13T17:41:20-00:00

Re: How to set up a build environment for compiling the scripts.dll
type: item
description: Have you installed the platform SDK and setup the VS paths as outlined in the first post? The source for 3.4.4 should compile fine in VS2008 without any modifications IIRC. EDIT; Also, five posts before yours someone ALREADY linked to VS2005. Next time try reading the topic before asking for something thats already been posted. http://go.microsoft.com/fwlink/?linkid=57034 (Credit to halo2pac for finding this URL)
creator: danpaul88
date: 2010-10-13T18:27:25-00:00

Re: How to set up a build environment for compiling the scripts.dll
type: item
description: Problem is solved, thk to Omar007 and my brother. Danpaul88, strangely, maybe, I hastened to reply, sorry again.
creator: GraYaSDF
date: 2010-10-13T21:27:13-00:00

Re: How to set up a build environment for compiling the scripts.dll
type: item
description: GraYaSDF wrote on Wed, 13 October 2010 16:27 Problem is solved, thk to Omar007 and my brother. Danpaul88, strangely, maybe, I hastened to reply, sorry again. what compiler seating did you change for vs 2008 or what ever you have. I have the same error with a old source code compile in 2005 forgot what i need to change.
creator: Gen_Blacky
date: 2010-12-06T05:36:00-00:00

Re: How to set up a build environment for compiling the scripts.dll
type: item
description: What about VS2010?
creator: _SSnipe_
date: 2011-04-26T18:49:49-00:00

Re: How to set up a build environment for compiling the scripts.dll
type: item
description: http://forums.mp-gaming.com/index.php?showtopic=11614 VS2010 projects
creator: zunnie
date: 2011-04-26T19:00:50-00:00

Re: How to set up a build environment for compiling the scripts.dll
type: item
description: I think these instructions (which are years out of date) need to be unstickied in favor of a new set of instructions showing how to compile scripts 4.x
creator: jonwil
date: 2015-05-31T05:56:30-00:00