|
|
|
Vlok  |
Uber Modder | Member since: 19.12.2005, 23:01 | Posts: 1516 | Location: Frankfurt am Main, Germany |
Likes: 0 |
| |
|
Post Topic: Posted 19.03.2008, 05:35 |
You have to have the 64-bit linker installed on your machine for it to be able to compile/link in x64 mode. If it doesn't find it, it's going to skip it because without it, there is nothing it can do.
// TODO Implement DisplaySig()
Last edited by Vlok on 19.03.2008, 05:36, edited 1 time in total.
|
|
|
|
|
|
|
|
 |
zaha  |
Beginner | Member since: 18.03.2008, 23:21 | Posts: 6 |
Likes: 0 |
| |
|
Post Topic: Posted 19.03.2008, 12:00 |
It's not installed? 8o Well, that explains everything. Thought it would be installed by default on a 64 bit System.
Thanks for the help, I'll try installing the 64 bit components.
|
|
|
|
|
|
|
 |
---___db___---  |
Uber Modder | Member since: 27.08.2006, 13:33 | Posts: 1910 | Location: Austria |
Likes: 0 |
| |
|
Post Topic: Posted 20.03.2008, 16:32 |
I had the same problem Win32 perfect compiling 64x not... I just had the wrong profile. I used debuggin.... changed it to Profile and it worked perfectly  Now My levels starts ingame (new game) in 32bit and 64bit mode  FYI: I used Visual Stuido 2008 Prof --- Windows Vista 64 bit ultimate
Last edited by ---___db___--- on 20.03.2008, 16:33, edited 1 time in total.
|
|
|
|
|
|
|
itopal63  |
Trained Modder | Member since: 18.02.2008, 23:31 | Posts: 225 | Status: Online |
Likes: 0 |
| |
|
Post Topic: Eh, whatever... Posted 06.04.2008, 06:40 |
Unfortunately for me the Platform SDK did not configure after installation I had to manually set all the dependencies, libraries, Includes, etc...
And then do this to: a.) In GameDll.rc, this had to be changed, from #include "afxres.h"
to (comment out afxres.h):
//#include "afxres.h" #include "WinResrc.h"
PS: Does the library (*.dll) even access any resources? I mean there are no resources included - right?
b.) These had to be commented out (volatile decl. did not work) else it's a no go (intrin.h).
//__MACHINEI(unsigned char _interlockedbittestandset(long *a, long b)) ??? //__MACHINEI(unsigned char _interlockedbittestandreset(long *a, long b)) ???
c.) These additional dependencies had to be added manually else a linker error.
user32.lib Advapi32.lib
|
|
|
|
|
|
|
 |
modsuki  |
24/7 Modder | Member since: 02.02.2007, 07:25 | Posts: 4447 | Status: Online |
Likes: 13 |
| |
|
Post Topic: Posted 06.04.2008, 17:15 |
Code: 1>------ ビルド開始: プロジェクト: CrysisMod, 構成: Debug Win32 ------ 1>コンパイルしています... 1>GameDll.cpp 1>e:\crysis\code\cryengine\crycommon\crylibrary.h(46) : fatal error C1083: include ファイルを開けません。'windows.h': No such file or directory 1>Actor.cpp 1>ScreenEffects.cpp 1>ScriptBind_Actor.cpp 1>Shark.cpp 1>SharkMovementController.cpp 1>NanoSuit.cpp 1>NetPlayerInput.cpp 1>Player.cpp 1>PlayerInput.cpp 1>PlayerMovement.cpp 1>PlayerMovementController.cpp 1>PlayerRotation.cpp 1>PlayerView.cpp 1>WeaponAttachmentManager.cpp 1>Alien.cpp 1>CompatibilityAlienMovementController.cpp 1>Hunter.cpp 1>Observer.cpp 1>Scout.cpp 1>コードを生成中... 1>コンパイル中... 1>Trooper.cpp 1>GrabHandler.cpp 1>BulletTime.cpp 1>ClientSynchedStorage.cpp 1>Game.cpp 1>GameActions.cpp 1>GameCVars.cpp 1>GameFactory.cpp 1>e:\crysis\code\cryengine\crycommon\crythread_windows.h(11) : fatal error C1083: include ファイルを開けません。'windows.h': No such file or directory 1>MPTutorial.cpp 1>Radio.cpp 1>ScriptBind_Game.cpp 1>ScriptControlledPhysics.cpp 1>ServerSynchedStorage.cpp 1>SoundMoods.cpp 1>SPAnalyst.cpp 1>SynchedStorage.cpp 1>Voting.cpp 1>BattleDust.cpp 1>Shake.cpp 1>FlowTornado.cpp 1>コードを生成中... 1>コンパイル中... 1>Tornado.cpp 1>VehicleClient.cpp 1>VehicleMovementTweaks.cpp 1>VehicleMovementAmphibious.cpp 1>e:\crysis\code\cryengine\crycommon\crythread_windows.h(11) : fatal error C1083: include ファイルを開けません。'windows.h': No such file or directory 1>VehicleMovementBase.cpp 1>e:\crysis\code\cryengine\crycommon\crythread_windows.h(11) : fatal error C1083: include ファイルを開けません。'windows.h': No such file or directory 1>VehicleMovementHelicopter.cpp 1>e:\crysis\code\cryengine\crycommon\crythread_windows.h(11) : fatal error C1083: include ファイルを開けません。'windows.h': No such file or directory 1>VehicleMovementHovercraft.cpp 1>e:\crysis\code\cryengine\crycommon\crythread_windows.h(11) : fatal error C1083: include ファイルを開けません。'windows.h': No such file or directory 1>VehicleMovementStdBoat.cpp 1>e:\crysis\code\cryengine\crycommon\crythread_windows.h(11) : fatal error C1083: include ファイルを開けません。'windows.h': No such file or directory 1>VehicleMovementStdWheeled.cpp 1>e:\crysis\code\cryengine\crycommon\crythread_windows.h(11) : fatal error C1083: include ファイルを開けません。'windows.h': No such file or directory 1>VehicleMovementTank.cpp 1>e:\crysis\code\cryengine\crycommon\crythread_windows.h(11) : fatal error C1083: include ファイルを開けません。'windows.h': No such file or directory 1>VehicleMovementVTOL.cpp 1>e:\crysis\code\cryengine\crycommon\crythread_windows.h(11) : fatal error C1083: include ファイルを開けません。'windows.h': No such file or directory 1>VehicleMovementWarrior.cpp 1>e:\crysis\code\cryengine\crycommon\crythread_windows.h(11) : fatal error C1083: include ファイルを開けません。'windows.h': No such file or directory 1>VehicleDamageBehaviorBurn.cpp 1>VehicleDamageBehaviorCameraShake.cpp 1>VehicleDamageBehaviorCollisionEx.cpp 1>VehicleDamageBehaviorExplosion.cpp 1>VehicleDamageBehaviorTire.cpp 1>VehicleActionAutomaticDoor.cpp 1>VehicleActionDeployRope.cpp 1>VehicleActionEntityAttachment.cpp 1>コードを生成中... 1>コンパイル中... 1>VehicleActionLandingGears.cpp 1>FlowItemAnimation.cpp 1>Item.cpp 1>ItemAccessory.cpp 1>ItemClientServer.cpp 1>ItemDualWield.cpp 1>ItemEffect.cpp 1>ItemEvents.cpp 1>ItemParams.cpp 1>ItemResource.cpp 1>ItemScheduler.cpp 1>ItemSharedParams.cpp 1>ItemView.cpp 1>ScriptBind_Item.cpp 1>AmmoParams.cpp 1>Projectile.cpp 1>ScriptBind_Weapon.cpp 1>TracerManager.cpp 1>Weapon.cpp 1>WeaponClientServer.cpp 1>コードを生成中... 1>コンパイル中... 1>WeaponEvent.cpp 1>WeaponInput.cpp 1>WeaponSystem.cpp 1>Automatic.cpp 1>Beam.cpp 1>Burst.cpp 1>Charge.cpp 1>Detonate.cpp 1>FreezingBeam.cpp 1>Melee.cpp 1>Plant.cpp 1>Rapid.cpp 1>Scan.cpp 1>Shotgun.cpp 1>Single.cpp 1>SingleTG.cpp 1>Throw.cpp 1>WorkOnTarget.cpp 1>AVMine.cpp 1>Bullet.cpp 1>コードを生成中... 1>コンパイル中... 1>C4Projectile.cpp 1>Claymore.cpp 1>EMPField.cpp 1>HomingMissile.cpp 1>Rock.cpp 1>Rocket.cpp 1>TacBullet.cpp 1>TagBullet.cpp 1>IronSight.cpp 1>Scope.cpp 1>AmmoPickup.cpp 1>Binocular.cpp 1>C4.cpp 1>C4Detonator.cpp 1>DebugGun.cpp 1>Fists.cpp 1>GunTurret.cpp 1>OffHand.cpp 1>ReferenceWeapon.cpp 1>RocketLauncher.cpp 1>コードを生成中... 1>コンパイル中... 1>ThrowableWeapon.cpp 1>VehicleWeapon.cpp 1>Lam.cpp 1>PlayerFeature.cpp 1>LaptopUtil.cpp 1>NetInputChainDebug.cpp 1>e:\crysis\mods\crysismod\code\netinputchaindebug.cpp(23) : fatal error C1083: include ファイルを開けません。'windows.h': No such file or directory 1>ScriptUtils.cpp 1>GameFlashAnimation.cpp 1>GameFlashLogic.cpp 1>HUD.cpp 1>HUDCommon.cpp 1>HUDCrosshair.cpp 1>HUDMissionObjectiveSystem.cpp 1>HUDObituary.cpp 1>HUDObject.cpp 1>HUDPowerStruggle.cpp 1>HUDRadar.cpp 1>HUDScopes.cpp 1>HUDScore.cpp 1>HUDSilhouettes.cpp 1>コードを生成中... 1>コンパイル中... 1>HUDTagNames.cpp 1>HUDTextArea.cpp 1>HUDTextChat.cpp 1>HUDVehicleInterface.cpp 1>ScriptBind_HUD.cpp 1>HUDTweakMenu.cpp 1>TweakCommon.cpp 1>TweakMenu.cpp 1>TweakMetadata.cpp 1>TweakMetadataCVAR.cpp 1>TweakMetadataLUA.cpp 1>TweakTraverser.cpp 1>HUDAirStrike.cpp 1>HUDInterfaceEffects.cpp 1>HUDPDA.cpp 1>HUDSoundImpl.cpp 1>HUDTextEvents.cpp 1>HUDWeaponAccessories.cpp 1>GameRules.cpp 1>GameRulesClientServer.cpp 1>コードを生成中... 1>コンパイル中... 1>ScriptBind_GameRules.cpp 1>ShotValidator.cpp 1>FlowActorSensor.cpp 1>FlowFadeNode.cpp 1>FlowHitInfoNode.cpp 1>FlowNanoSuitNodes.cpp 1>FlowPlayerStagingNode.cpp 1>FlowPostFXNodes.cpp 1>FlowVehicleNodes.cpp 1>HUDNodes.cpp 1>MPNodes.cpp 1>WeaponNodes.cpp 1>CreateGame.cpp 1>FlashMenuObject.cpp 1>FlashMenuObjectOptions.cpp 1>FlashMenuObjectProfiles.cpp 1>FlashMenuObjectSingleplayer.cpp 1>FlashMenuScreen.cpp 1>GameNetworkProfile.cpp 1>MPHub.cpp 1>e:\crysis\code\cryengine\crycommon\crythread_windows.h(11) : fatal error C1083: include ファイルを開けません。'windows.h': No such file or directory 1>コードを生成中... 1>コンパイル中... 1>MPLobbyUI.cpp 1>MultiplayerMenu.cpp 1>OptionsManager.cpp 1>QuickGame.cpp 1>FlashAnimation.cpp 1>DllMain.cpp 1>e:\crysis\mods\crysismod\code\dllmain.cpp(13) : fatal error C1083: include ファイルを開けません。'windows.h': No such file or directory 1>コードを生成中... 1>ビルドログは "file://E:\Crysis\Mods\CrysisMod\BinTemp\Win32\Debug\CrysisMod\BuildLog.htm" に保存されました。 1>CrysisMod - エラー 14、警告 0 ========== ビルド: 0 正常終了、1 失敗、0 更新、0 スキップ ========== 'windows.h': No such file or directory... hmm... what's this?  I installed VS C++ 2005, VS SP1, Platform SDK. EDITI solved it. after installing VS 2008.  )
Last edited by modsuki on 07.04.2008, 07:34, edited 2 times in total.
|
|
|
|
|
|
|
 |
---___db___---  |
Uber Modder | Member since: 27.08.2006, 13:33 | Posts: 1910 | Location: Austria |
Likes: 0 |
| |
|
Post Topic: Posted 23.04.2008, 12:14 |
Very strange thing, since a few days I'm not able to build a dll in dx64 mode anymore. I used the same project and settings I used a few weeks ago, but now it just skips the 2 porjects. I use the profile mode and VS2008 professional, if someone could solve the problem let us know
|
|
|
|
|
|
|
 |
Cry-Alex  |
Crytek Staff Member | Member since: 02.06.2004, 17:36 | Posts: 6696 | Location: Frankfurt am Main |
Likes: 0 |
| |
|
Post Topic: Posted 23.04.2008, 12:24 |
We are looking into the issue with VS08 not being able to compile code in a 64bit OS.
For the release version of the SDK we did not test with VS08, thus it is not supported officially by us at this stage. We want to address that issue with our next SDK release.
cheers, -alex
Alexander Marschal
Crysis2 Project Manager
Last edited by Cry-Alex on 23.04.2008, 12:28, edited 1 time in total.
|
|
|
|
|
|
|
Vlok  |
Uber Modder | Member since: 19.12.2005, 23:01 | Posts: 1516 | Location: Frankfurt am Main, Germany |
Likes: 0 |
| |
|
Post Topic: Posted 23.04.2008, 12:55 |
That looks to me like some weird unicode setting. Are you compiling using the multi-byte or unicode character set? I don't know if this is the same process in 2008, but to check this in 2005, right-click on the project in the Solution Explorer and select Properties. (Or Project -> Properties in the menu.) Then go to Configuration Properties -> General. Under "Project Defaults", check the value for "Character Set". If it is marked as unicode, change it to multi-byte and perform a rebuild.
There may also be some other option somewhere that is causing these files to be opened using unicode, but I don't know this for certain.
// TODO Implement DisplaySig()
|
|
|
|
|
|
|
 |
---___db___---  |
Uber Modder | Member since: 27.08.2006, 13:33 | Posts: 1910 | Location: Austria |
Likes: 0 |
| |
|
Post Topic: Posted 23.04.2008, 13:38 |
Yep it's the same way to do it. I can see the option in Win32 and it is set to multiybyte. But as soon as I want to open the menue under x64 Profile it won't let me have excess to the options.
|
|
|
|
|
|
|
Vlok  |
Uber Modder | Member since: 19.12.2005, 23:01 | Posts: 1516 | Location: Frankfurt am Main, Germany |
Likes: 0 |
| |
|
Post Topic: Posted 23.04.2008, 13:45 |
Interesting. Try navigating to and opening the .vcproj in Notepad. This file is an Xml file. Look under the Win32 Profile section and also the x64 Profile section, and copy here anything that is different between the two. It may be one of the settings is different or not supported by 2008 and this is causing the issue.
// TODO Implement DisplaySig()
|
|
|
|
|
|
|
 |
---___db___---  |
Uber Modder | Member since: 27.08.2006, 13:33 | Posts: 1910 | Location: Austria |
Likes: 0 |
| |
|
Post Topic: Posted 23.04.2008, 17:26 |
Haven't worked  And I tried to use VS2005 with a new SDK mod code folder and it still skipped my modfiles. Maybe someone could sent me a working project file from the normal SDK mod where he/she could compile x64/86 correctly. EditAs so often told, check if the installer of Visual Studio has installed your x64 comiler if you bcome the skipped Error message on compiling for X64 mode! It works now fine again  Big thank to Cry-Vlok and Cry-Alex
Last edited by ---___db___--- on 23.04.2008, 21:44, edited 1 time in total.
|
|
|
|
|
|
|
kayosiii  |
Beginner | Member since: 05.02.2008, 05:59 | Posts: 13 |
Likes: 0 |
| |
|
Post Topic: Platform SDK + working on other machines Posted 19.06.2008, 05:03 |
I have X64 builds successfully building with the platform SDK.... However Dll will only run on machines with the platform SDK installed... Obviously I need to distribute files from SDK to get program to run and assuming that SDK licensing permits this does anybody know which files I need to include
|
|
|
|
|
|
|
 |
theGiallo  |
Experienced Modder | Member since: 05.03.2008, 19:21 | Posts: 508 |
Likes: 0 |
| |
|
Post Topic: RE: cannot open include file 'afxres.h'. Posted 10.07.2008, 16:48 |
Quote: Originally posted by Rasm MS Visual C++ 2008 Express works fine out of the box. No other downloads are needed. afxres.h is indeed apart of MFC (actually just a generic header) but MFC is not needed to compile the source.
1. Open CrysisMod.sln It will ask if you want to convert the project from 2005 to 2008. Say yes and continue on to finish.
2. Save the solution and close it.
3. Find the file GameDll.rc in the [ModName]\Code folder and open it with notepad or wordpad. Search for the text "afxres.h" and change it to "WinResrc.h". There should be two places in the file that you changed.
4. Save the GameDll.rc file and close it.
5. Open CrysisMod.sln and compile. Presto! thanks! Grazie!
[URL=http://www.crymod.com/thread.php?postid=354419#post354419]  ImplosiveGrenades New Model WIP[/URL]
|
|
|
|
|
|
|
 |
Exodus  |
Uber Modder | Member since: 24.02.2008, 15:56 | Posts: 2479 | Location: Location: Location: Location: |
Likes: 0 |
| |
|
Post Topic: RE: cannot open include file 'afxres.h'. Posted 20.07.2008, 14:22 |
Guys, I need serious help : It always fails to compile, and I dont have the option to choose 64x ?( (Didn't read the whole thread, sorry if it has been answered before.)
Here is my log :
1>------ Build started: Project: CrysisMod, Configuration: Debug Win32 ------ 1>Compiling... 1>StdAfx.cpp 1>Compiling... 1>GameDll.cpp 1>c:\program files (x86)\electronic arts\crytek\crysis\code\cryengine\crycommon\crylibrary.h(46) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory 1>Actor.cpp 1>ScreenEffects.cpp 1>ScriptBind_Actor.cpp 1>Shark.cpp 1>SharkMovementController.cpp 1>NanoSuit.cpp 1>NetPlayerInput.cpp 1>Player.cpp 1>PlayerInput.cpp 1>PlayerMovement.cpp 1>PlayerMovementController.cpp 1>PlayerRotation.cpp 1>PlayerView.cpp 1>WeaponAttachmentManager.cpp 1>Alien.cpp 1>CompatibilityAlienMovementController.cpp 1>Hunter.cpp 1>Observer.cpp 1>Scout.cpp 1>Generating Code... 1>Compiling... 1>Trooper.cpp 1>GrabHandler.cpp 1>BulletTime.cpp 1>ClientSynchedStorage.cpp 1>Game.cpp 1>GameActions.cpp 1>GameCVars.cpp 1>GameFactory.cpp 1>c:\program files (x86)\electronic arts\crytek\crysis\code\cryengine\crycommon\crythread_windows.h(11) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory 1>MPTutorial.cpp 1>Radio.cpp 1>ScriptBind_Game.cpp 1>ScriptControlledPhysics.cpp 1>ServerSynchedStorage.cpp 1>SoundMoods.cpp 1>SPAnalyst.cpp 1>SynchedStorage.cpp 1>Voting.cpp 1>BattleDust.cpp 1>Shake.cpp 1>FlowTornado.cpp 1>Generating Code... 1>Compiling... 1>Tornado.cpp 1>VehicleClient.cpp 1>VehicleMovementTweaks.cpp 1>VehicleMovementAmphibious.cpp 1>c:\program files (x86)\electronic arts\crytek\crysis\code\cryengine\crycommon\crythread_windows.h(11) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory 1>VehicleMovementBase.cpp 1>c:\program files (x86)\electronic arts\crytek\crysis\code\cryengine\crycommon\crythread_windows.h(11) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory 1>VehicleMovementHelicopter.cpp 1>c:\program files (x86)\electronic arts\crytek\crysis\code\cryengine\crycommon\crythread_windows.h(11) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory 1>VehicleMovementHovercraft.cpp 1>c:\program files (x86)\electronic arts\crytek\crysis\code\cryengine\crycommon\crythread_windows.h(11) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory 1>VehicleMovementStdBoat.cpp 1>c:\program files (x86)\electronic arts\crytek\crysis\code\cryengine\crycommon\crythread_windows.h(11) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory 1>VehicleMovementStdWheeled.cpp 1>c:\program files (x86)\electronic arts\crytek\crysis\code\cryengine\crycommon\crythread_windows.h(11) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory 1>VehicleMovementTank.cpp 1>c:\program files (x86)\electronic arts\crytek\crysis\code\cryengine\crycommon\crythread_windows.h(11) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory 1>VehicleMovementVTOL.cpp 1>c:\program files (x86)\electronic arts\crytek\crysis\code\cryengine\crycommon\crythread_windows.h(11) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory 1>VehicleMovementWarrior.cpp 1>c:\program files (x86)\electronic arts\crytek\crysis\code\cryengine\crycommon\crythread_windows.h(11) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory 1>VehicleDamageBehaviorBurn.cpp 1>VehicleDamageBehaviorCameraShake.cpp 1>VehicleDamageBehaviorCollisionEx.cpp 1>VehicleDamageBehaviorExplosion.cpp 1>VehicleDamageBehaviorTire.cpp 1>VehicleActionAutomaticDoor.cpp 1>VehicleActionDeployRope.cpp 1>VehicleActionEntityAttachment.cpp 1>Generating Code... 1>Compiling... 1>VehicleActionLandingGears.cpp 1>FlowItemAnimation.cpp 1>Item.cpp 1>ItemAccessory.cpp 1>ItemClientServer.cpp 1>ItemDualWield.cpp 1>ItemEffect.cpp 1>ItemEvents.cpp 1>ItemParams.cpp 1>ItemResource.cpp 1>ItemScheduler.cpp 1>ItemSharedParams.cpp 1>ItemView.cpp 1>ScriptBind_Item.cpp 1>AmmoParams.cpp 1>Projectile.cpp 1>ScriptBind_Weapon.cpp 1>TracerManager.cpp 1>Weapon.cpp 1>WeaponClientServer.cpp 1>Generating Code... 1>Compiling... 1>WeaponEvent.cpp 1>WeaponInput.cpp 1>WeaponSystem.cpp 1>Automatic.cpp 1>Beam.cpp 1>Burst.cpp 1>Charge.cpp 1>Detonate.cpp 1>FreezingBeam.cpp 1>Melee.cpp 1>Plant.cpp 1>Rapid.cpp 1>Scan.cpp 1>Shotgun.cpp 1>Single.cpp 1>SingleTG.cpp 1>Throw.cpp 1>WorkOnTarget.cpp 1>AVMine.cpp 1>Bullet.cpp 1>Generating Code... 1>Compiling... 1>C4Projectile.cpp 1>Claymore.cpp 1>EMPField.cpp 1>HomingMissile.cpp 1>Rock.cpp 1>Rocket.cpp 1>TacBullet.cpp 1>TagBullet.cpp 1>IronSight.cpp 1>Scope.cpp 1>AmmoPickup.cpp 1>Binocular.cpp 1>C4.cpp 1>C4Detonator.cpp 1>DebugGun.cpp 1>Fists.cpp 1>GunTurret.cpp 1>OffHand.cpp 1>ReferenceWeapon.cpp 1>RocketLauncher.cpp 1>Generating Code... 1>Compiling... 1>ThrowableWeapon.cpp 1>VehicleWeapon.cpp 1>Lam.cpp 1>PlayerFeature.cpp 1>LaptopUtil.cpp 1>NetInputChainDebug.cpp 1>c:\program files (x86)\electronic arts\crytek\crysis\mods\codename_genetic_crisis\code\netinputchaindebug.cpp (23) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory 1>ScriptUtils.cpp 1>GameFlashAnimation.cpp 1>GameFlashLogic.cpp 1>HUD.cpp 1>HUDCommon.cpp 1>HUDCrosshair.cpp 1>HUDMissionObjectiveSystem.cpp 1>HUDObituary.cpp 1>HUDObject.cpp 1>HUDPowerStruggle.cpp 1>HUDRadar.cpp 1>HUDScopes.cpp 1>HUDScore.cpp 1>HUDSilhouettes.cpp 1>Generating Code... 1>Compiling... 1>HUDTagNames.cpp 1>HUDTextArea.cpp 1>HUDTextChat.cpp 1>HUDVehicleInterface.cpp 1>ScriptBind_HUD.cpp 1>HUDTweakMenu.cpp 1>TweakCommon.cpp 1>TweakMenu.cpp 1>TweakMetadata.cpp 1>TweakMetadataCVAR.cpp 1>TweakMetadataLUA.cpp 1>TweakTraverser.cpp 1>HUDAirStrike.cpp 1>HUDInterfaceEffects.cpp 1>HUDPDA.cpp 1>HUDSoundImpl.cpp 1>HUDTextEvents.cpp 1>HUDWeaponAccessories.cpp 1>GameRules.cpp 1>GameRulesClientServer.cpp 1>Generating Code... 1>Compiling... 1>ScriptBind_GameRules.cpp 1>ShotValidator.cpp 1>FlowActorSensor.cpp 1>FlowFadeNode.cpp 1>FlowHitInfoNode.cpp 1>FlowNanoSuitNodes.cpp 1>FlowPlayerStagingNode.cpp 1>FlowPostFXNodes.cpp 1>FlowVehicleNodes.cpp 1>HUDNodes.cpp 1>MPNodes.cpp 1>WeaponNodes.cpp 1>CreateGame.cpp 1>FlashMenuObject.cpp 1>FlashMenuObjectOptions.cpp 1>FlashMenuObjectProfiles.cpp 1>FlashMenuObjectSingleplayer.cpp 1>FlashMenuScreen.cpp 1>GameNetworkProfile.cpp 1>MPHub.cpp 1>c:\program files (x86)\electronic arts\crytek\crysis\code\cryengine\crycommon\crythread_windows.h(11) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory 1>Generating Code... 1>Compiling... 1>MPLobbyUI.cpp 1>MultiplayerMenu.cpp 1>OptionsManager.cpp 1>QuickGame.cpp 1>FlashAnimation.cpp 1>DllMain.cpp 1>c:\program files (x86)\electronic arts\crytek\crysis\mods\codename_genetic_crisis\code\dllmain.cpp(13) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory 1>Generating Code... 1>Build log was saved at "file://C:\Program Files (x86)\Electronic Arts\Crytek\Crysis\Mods\codename_genetic_crisis\BinTemp\Win32\Debug\CrysisM od\BuildLog.htm" 1>CrysisMod - 14 error(s), 0 warning(s) ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
[url=tinyurl.com/49aty4]  [/url] [url=tinyurl.com/4dk6we]  [/url] Quitted modding.
|
|
|
|
|
|
|
 |
Starwaster  |
Uber Modder | Member since: 02.03.2008, 10:15 | Posts: 1340 |
Likes: 0 |
| |
|
Post Topic: Unresolved External error *SOLVED* Posted 25.07.2008, 23:55 |
I've switched to 2005 Express because of compatibility issues with the rest of my mod team when publishing changes.
I installed VS 2005 Express, the SP1 for 2005 Express and the SDK and loaded up some mod source and tried to compile it. I am unable to to build because of the following error:
2>GameDll.obj : error LNK2019: unresolved external symbol __imp__MessageBoxA@16 referenced in function "int __cdecl CryMessageBox(char const *,char const *,unsigned int)" (?CryMessageBox@@YAHPBD0I@Z) 2>GameDll.obj : error LNK2019: unresolved external symbol __imp__GetAsyncKeyState@4 referenced in function "short __cdecl CryGetAsyncKeyState(int)" (?CryGetAsyncKeyState@@YAFH@Z) 2>C:\Program Files\Electronic Arts\Crytek\Crysis\Mods\GravityBoots\Code\..\Bin32/GravityBoots.dll : fatal error LNK1120: 2 unresolved externals
Edit: Solved.
This was actually addressed in this very thread a few posts up when someone referred to linker errors and needing to manually add user32.lib and Advapi32.lib to the dependencies. Unfortunately it didn't say what the linker errors were or where to add the two lib files.
They have to be added in the Project Properties screen in the Linker->Input section under 'Additional Dependencies' and I had only made sure they were in corewin_express.vsprops file as per Microsoft's instructions on adding the Platform SDK. So, if anyone else runs into this problem, there you go.
Last edited by Starwaster on 26.07.2008, 03:42, edited 2 times in total.
|
|
|
|
|