Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » compile error with visual c++ 2010 express
compile error with visual c++ 2010 express [message #485559] Sat, 01 February 2014 13:48 Go to next message
Stallion is currently offline  Stallion
Messages: 222
Registered: April 2006
Karma: 0
Recruit
I have tried several things in order to figure out why my build doesn't output the scripts.dll but only the scripts.exp and scripts.lib. How do I get it to build the scripts.dll?

under debug it says:

It says "this project is out of date"


When it starts building it says in it 2 warnings that say:

console.vcxproj' does not exist.
shaders.vcxproj' does not exist.

If the above is an issue then how do I get them included?


full build output:

1>------ Build started: Project: MemoryManager, Configuration: Release Win32 ------
1> dllmain_release.cpp
1> FastAllocator.cpp
1> MemoryManager_release.cpp
1> Creating library C:\Games\Command & Conquer The First Decade\Command & Conquer Renegade(tm)\Renegade\AAA editing stuff\AAA Scripts and script creations\tt-source-4.0\source\bin\Release\MemoryManager.lib and object C:\Games\Command & Conquer The First Decade\Command & Conquer Renegade(tm)\Renegade\AAA editing stuff\AAA Scripts and script creations\tt-source-4.0\source\bin\Release\MemoryManager.exp
1> Generating code
1> Finished generating code
1> MemoryManager.vcxproj -> C:\Games\Command & Conquer The First Decade\Command & Conquer Renegade(tm)\Renegade\AAA editing stuff\AAA Scripts and script creations\tt-source-4.0\source\bin\Release\MemoryManager.dll
2>------ Build started: Project: scripts, Configuration: Release SSGM Win32 ------
2>C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.Targets(1422,5): warning : The referenced project '..\console\console.vcxproj' does not exist.
2>C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.Targets(1422,5): warning : The referenced project '..\shaders\shaders.vcxproj' does not exist.
2> General.cpp
2> aow_intruders.cpp
2> cAMpaScripts.cpp
2> CommandLineParser.cpp
2> Crc32.cpp
2> dan.cpp
2> definition.cpp
2> DefinitionFactoryClass.cpp
2> DefinitionFactoryMgrClass.cpp
2> dllmain.cpp
2> dp88_ar.cpp
2> dp88_ar_unitScripts.cpp
2> dp88_buildingScripts.cpp
2> dp88_customAI.cpp
2> dp88_misc.cpp
2> dp88_securitySystem.cpp
2> dp88_veterancy.cpp
2> engine_common.cpp
2> engine_def.cpp
2> engine_dmg.cpp
2> engine_game.cpp
2> engine_io.cpp
2> engine_math.cpp
2> engine_obj.cpp
2> engine_obj2.cpp
2> engine_phys.cpp
2> engine_player.cpp
2> engine_pt.cpp
2> engine_script.cpp
2> engine_string.cpp
2> engine_tdb.cpp
2> engine_threading.cpp
2> engine_tt.cpp
2> engine_weap.cpp
2> FileFactoryListClass.cpp
2> gap.cpp
2> gmbuilding.cpp
2> gmgame.cpp
2> gmlog.cpp
2> gmsoldier.cpp
2> gmvehicle.cpp
2> iran_scripts.cpp
2> jfwcine.cpp
2> jfwcust.cpp
2> jfwdef.cpp
2> jfwdmg.cpp
2> jfwgame.cpp
2> jfwgun.cpp
2> jfwhook.cpp
2> jfwmisc.cpp
2> jfwobj.cpp
2> jfwpoke.cpp
2> jfwpow.cpp
2> jfwscr.cpp
2> jfwsnd.cpp
2> jfwveh.cpp
2> jfwweap.cpp
2> jfwws.cpp
2> jfwzone.cpp
2> JMGRenetBusters.cpp
2> jmgrp2.cpp
2> kak.cpp
2> kamuix.cpp
2> LoopedAnimationController.cpp
2> mdb.cpp
2> mdbdef.cpp
2> mdbevf.cpp
2> mpf_domination.cpp
2> neo.cpp
2> nh.cpp
2> nhp.cpp
2> PersistFactoryClass.cpp
2> PointerRemapClass.cpp
2> Quaternion.cpp
2> ra2.cpp
2> ra_legacy.cpp
2> reborn.cpp
2> renalert.cpp
2> renalert2.cpp
2> scriptfactory.cpp
2> scriptregistrar.cpp
2> scripts.cpp
2> scud.cpp
2> DefaultConnectionAcceptanceFilter.cpp
2> sh_blocker.cpp
2> sh_underground.cpp
2> shawk.cpp
2> SimpleFileFactoryClass.cpp
2> straw.cpp
2> survival.cpp
2> tcw_building.cpp
2> tcw_center_point.cpp
2> tcw_coop.cpp
2> tcw_coop_cruising.cpp
2> tcw_defence.cpp
2> tcw_domination.cpp
2> tcw_frost.cpp
2> tcw_functions.cpp
2> tcw_game.cpp
2> tcw_general.cpp
2> tcw_mcv_escort.cpp
2> tcw_mission01.cpp
2> tcw_mission03.cpp
2> tcw_nod_incursion.cpp
2> tcw_paul.cpp
2> tcw_player.cpp
2> tcw_powerup.cpp
2> tcw_raid_at_dawn.cpp
2> tcw_sp_m01.cpp
2> tcw_sp_scripts.cpp
2> tcw_superweapons.cpp
2> tcw_TCWSoldierObj.cpp
2> tcw_technology.cpp
2> tcw_tiberium.cpp
2> tcw_vehicle.cpp
2> tcw_zone.cpp
2> tda.cpp
2> tfx.cpp
2> ThreadClass.cpp
2> xpert.cpp
2> z.cpp
2> z_am01.cpp
2> z_am02.cpp
2> z_buildingrevive.cpp
2> z_cargo.cpp
2> z_center_point.cpp
2> z_cold_fever.cpp
2> z_coop.cpp
2> z_darkdawn.cpp
2> z_domination.cpp
2> z_endgame.cpp
2> z_escort.cpp
2> z_eveninglight.cpp
2> z_fever.cpp
2> z_Hon_DM.cpp
2> z_hostagemode.cpp
2> agtfix.cpp
2> cGameType.cpp
2> ChunkClasses.cpp
2> coltest.cpp
2> CriticalSectionClass.cpp
2> datasafe.cpp
2> HashTemplateKeyClass.cpp
2> HTreeClass.cpp
2> Iterator.cpp
2> LineSegClass.cpp
2> Matrix3.cpp
2> Matrix3D.cpp
2> matrix4.cpp
2> obelfix.cpp
2> ReferencerClass.cpp
2> SysTimeClass.cpp
2> wwmath.cpp
2> z_intro.cpp
2> z_joipa.cpp
2> z_joipa_return.cpp
2> z_lockdown.cpp
2> z_m00.cpp
2> z_m01.cpp
2> z_mediterranean.cpp
2> z_misc.cpp
2> z_nod_invasion.cpp
2> z_prototype.cpp
2> z_reconnaissance.cpp
2> z_ship.cpp
2> z_siege.cpp
2> z_snowwarfare.cpp
2> z_tropical.cpp
2> z_uberaow.cpp
2> z_under_siege.cpp
2> z_zones.cpp
2> Creating library C:\Games\Command & Conquer The First Decade\Command & Conquer Renegade(tm)\Renegade\AAA editing stuff\AAA Scripts and script creations\tt-source-4.0\source\bin\Release SSGM\scripts.lib and object C:\Games\Command & Conquer The First Decade\Command & Conquer Renegade(tm)\Renegade\AAA editing stuff\AAA Scripts and script creations\tt-source-4.0\source\bin\Release SSGM\scripts.exp
2> Generating code
2> Finished generating code
2>LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt
========== Build: 1 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========


Level edit is my play ground
Re: compile error with visual c++ 2010 express [message #485561 is a reply to message #485559] Sat, 01 February 2014 14:09 Go to previous messageGo to next message
reborn is currently offline  reborn
Messages: 3231
Registered: September 2004
Location: uk - london
Karma: 0
General (3 Stars)
For a styart, it looks like you're still building SSGM.
Quote:


Creating library C:\Games\Command & Conquer The First Decade\Command & Conquer Renegade(tm)\Renegade\AAA editing stuff\AAA Scripts and script creations\tt-source-4.0\source\bin\Release SSGM\scripts.lib and object C:\Games\Command & Conquer The First Decade\Command & Conquer Renegade(tm)\Renegade\AAA editing stuff\AAA Scripts and script creations\tt-source-4.0\source\bin\Release SSGM\scripts.exp



Re: compile error with visual c++ 2010 express [message #485562 is a reply to message #485559] Sat, 01 February 2014 14:52 Go to previous messageGo to next message
danpaul88 is currently offline  danpaul88
Messages: 5795
Registered: June 2004
Location: England
Karma: 0
General (5 Stars)
2>LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt

^ The build FAILED, that's why it doesn't create the file Smile


http://steamsignature.com/card/1/76561197975867233.png
Re: compile error with visual c++ 2010 express [message #485573 is a reply to message #485559] Sat, 01 February 2014 18:23 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)

this may help: http://stackoverflow.com/questions/10888391/error-link-fatal-error-lnk1123-failu re-during-conversion-to-coff-file-inval

-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: compile error with visual c++ 2010 express [message #485605 is a reply to message #485559] Mon, 03 February 2014 03:46 Go to previous messageGo to next message
Stallion is currently offline  Stallion
Messages: 222
Registered: April 2006
Karma: 0
Recruit
2>C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.Targets(1422,5): warning : The referenced project '..\console\console.vcxproj' does not exist.
2>C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.Targets(1422,5): warning : The referenced project '..\shaders\shaders.vcxproj' does not exist.

Are these needed to compile it right?


Level edit is my play ground
Re: compile error with visual c++ 2010 express [message #485606 is a reply to message #485559] Mon, 03 February 2014 03:48 Go to previous messageGo to next message
danpaul88 is currently offline  danpaul88
Messages: 5795
Registered: June 2004
Location: England
Karma: 0
General (5 Stars)
No, it'll link to the existing libraries shipped with 4.0

http://steamsignature.com/card/1/76561197975867233.png
Re: compile error with visual c++ 2010 express [message #485623 is a reply to message #485559] Mon, 03 February 2014 20:11 Go to previous messageGo to next message
Stallion is currently offline  Stallion
Messages: 222
Registered: April 2006
Karma: 0
Recruit
I can say it's easy to know who has the pro versions, there's works...

I downloaded the full version and it works nicely with some other downloads, but it's only good for 30 days.

I can compile now!

P.S. If someone can assist with my 30 day issue please p.m. me, Thanks.


Level edit is my play ground
Re: compile error with visual c++ 2010 express [message #485638 is a reply to message #485559] Tue, 04 February 2014 05:22 Go to previous messageGo to next message
danpaul88 is currently offline  danpaul88
Messages: 5795
Registered: June 2004
Location: England
Karma: 0
General (5 Stars)
All that is usually missing in the Express version of Visual Studio is a few features for debugging and whatnot and the platform SDKs, which you can download separately. I've not used the express versions in a long time but I doubt they're missing anything else essential for compiling scripts.dll.

http://steamsignature.com/card/1/76561197975867233.png
Re: compile error with visual c++ 2010 express [message #485640 is a reply to message #485559] Tue, 04 February 2014 06:48 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)

I actually recall having the COFF bug, I think downloading the Visual Studio 2010 Service Pack 1 fixed it for me. It's a known bug I think (not just in regards to scripts.dll).

-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: compile error with visual c++ 2010 express [message #485641 is a reply to message #485559] Tue, 04 February 2014 09:14 Go to previous messageGo to next message
danpaul88 is currently offline  danpaul88
Messages: 5795
Registered: June 2004
Location: England
Karma: 0
General (5 Stars)
Either way the next version is on VS2012, so you'll all need to update Very Happy Personally I'm actually using VS2013, but I don't know if anyone else in the team is... if you have 2012 and 2013 installed together then 2013 can compile using the 2012 toolset anyway.

http://steamsignature.com/card/1/76561197975867233.png
Re: compile error with visual c++ 2010 express [message #485643 is a reply to message #485559] Tue, 04 February 2014 13:55 Go to previous messageGo to next message
Stallion is currently offline  Stallion
Messages: 222
Registered: April 2006
Karma: 0
Recruit
well, unless I get a key for it, then I'll be reinstalling a lot so I'm bound to upgrade the versions...

Level edit is my play ground
Re: compile error with visual c++ 2010 express [message #485644 is a reply to message #485559] Tue, 04 February 2014 14:28 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)

I couldn't get current scripts to work on 2012... hopefully they'll work on 2013, because 2013 is actually pretty nice.

-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: compile error with visual c++ 2010 express [message #485647 is a reply to message #485559] Tue, 04 February 2014 15:16 Go to previous messageGo to next message
jonwil is currently offline  jonwil
Messages: 3555
Registered: February 2003
Karma: 0
General (3 Stars)

Current scripts (4.0) wont work on 2012. Next scripts (4.1) will however work on 2012 (in fact 2012 is required).


Jonathan Wilson aka Jonwil
Creator and Lead Coder of the Custom scripts.dll
Renegade Engine Guru
Creator and Lead Coder of TT.DLL
Official member of Tiberian Technologies
Re: compile error with visual c++ 2010 express [message #485648 is a reply to message #485559] Tue, 04 February 2014 15:19 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)

Do you think it'll be simple enough to convert 4.1 solution to 2013?

-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: compile error with visual c++ 2010 express [message #485665 is a reply to message #485559] Wed, 05 February 2014 02:56 Go to previous messageGo to next message
danpaul88 is currently offline  danpaul88
Messages: 5795
Registered: June 2004
Location: England
Karma: 0
General (5 Stars)
I compile them on 2013, so yes. If you don't also have VS2012 installed you'll need to convert the project files (it basically changes the toolset from vc110 to vc120) first, but VS takes care of this for you. If you still have VS012 installed too you don't even need to convert, just tell it to use the VS2012 toolset when compiling (it'll ask you which to do when you load the solution)

http://steamsignature.com/card/1/76561197975867233.png

[Updated on: Wed, 05 February 2014 02:58]

Report message to a moderator

Re: compile error with visual c++ 2010 express [message #485734 is a reply to message #485559] Thu, 06 February 2014 11:43 Go to previous messageGo to next message
Stallion is currently offline  Stallion
Messages: 222
Registered: April 2006
Karma: 0
Recruit
will it be possible to have some of my custom scripts added to that?

Level edit is my play ground
Re: compile error with visual c++ 2010 express [message #485738 is a reply to message #485559] Thu, 06 February 2014 12:28 Go to previous message
danpaul88 is currently offline  danpaul88
Messages: 5795
Registered: June 2004
Location: England
Karma: 0
General (5 Stars)
High quality, useful and generic scripts that aren't duplicating existing functionality could be accepted into the scripts.dll codebase. Try to avoid creating scripts that only fit one very specific scenario, they're rarely any use to anyone.

http://steamsignature.com/card/1/76561197975867233.png
Previous Topic: Problem loading project 4.1 RC2 in VS2012
Next Topic: Mod-related changes in scripts 4.1
Goto Forum:
  


Current Time: Thu May 23 05:40:35 MST 2024

Total time taken to generate the page: 3.14677 seconds