Programming & Scripting

View unanswered posts | View active topics


Post a new topicPost a reply
Previous topic | Next topic 

User avatar   Experienced Modder Experienced ModderMember since: 06.11.2007, 20:41Posts: 469Location: Germany Likes: 0
 

 Post Topic: Common compiler errors
PostPosted 17.08.2011, 17:32 
Now that the Free SDK is released with C++ access a thread like this might come in as handy as the old one.

(Express versions of VS)
When attempting to install the Windows SDK for x64 compilation, an error may be thrown. Please temporarily uninstall the VC++ 2010 redists.

(Visual Studio 2012)
Build fails at link-time:
Code:
Fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt

Solution: Remove the GameDLL.rc file or upgrade the project to use the new compiler (this will break backwards compatibility).


(Express versions of VS)
Code:
Cannot find afxres.h
Solution:
  • Open GameDll.rc and replace afxres.h with windows.h
    Code:
    #include "windows.h"


(Visual Studio 2010)
Code:
BoostHelpers.h(15): fatal error C1083: Cannot open include file: 'boost/shared_ptr.hpp': No such file or directory
Solution:
  • right-click the GameDLL project, select Properties->Configuration Properties->VC++ Directories
  • now make sure that you have set both Cofiguration and Platform at the top to "All Configurations/Properties"
  • next click on the "Include Directories" field, open the dropdown menu from the little arrow appearing on the right and select "<Edit...>"
  • hit the "New Line" button and enter your <FreeSDK_ROOT>\Code\SDKs\boost path
  • click ok, save everything and you should be good to go!




Quote:
We advise programmers to not accidentally delete the CryAction.dll while rebuilding the full code package. Please see the following screenshots on how to do this properly, which is to not include it in the rebuild process.

Step 1:
Step1.jpg

Step 2:
Step2.jpg

Step 3:
Step3.jpg

Step 4:
Step4.jpg


Image


Last edited by Mr.Hankey on 18.08.2011, 17:58, edited 1 time in total.

User avatar   Uber Modder Uber ModderMember since: 19.03.2009, 12:21Posts: 2036Location: Sweden Likes: 34
 

 Post Topic: Re: Common compiler errors
PostPosted 18.08.2011, 17:48 
Can we get this stickied please?

Quote:
Solution folders are not supported in this version of the application

Solution:
  • Make sure you've extracted the contents of the Code folder to your root project folder so that the CryEngine and Solutions folder is among Bin32 and Bin64.
  • Replace CryEngine_GameCodeOnly.sln in the Solutions folder with this: http://dl.dropbox.com/u/3620456/i59/Cry ... deOnly.sln


User avatar   Has no life Has no lifeMember since: 11.07.2008, 20:25Posts: 11738Location: Nottingham, UK Likes: 84
 

 Post Topic: Re: Common compiler errors
PostPosted 18.08.2011, 21:56 
/Stickified


Out now! CryENGINE Game Programming with C++, C#, and Lua
Ex-Crytek, now with Deep Silver Dambuster Studios
  Beginner BeginnerMember since: 23.02.2011, 06:11Posts: 9 Likes: 0
 

 Post Topic: Re: Common compiler errors
PostPosted 19.08.2011, 06:35 
So far so good so far =D
Everything linked good.

Compiling, wonder how long it takes on a quad core.
  Beginner BeginnerMember since: 19.08.2011, 22:02Posts: 1 Likes: 0
 

 Post Topic: Re: Common compiler errors
PostPosted 20.08.2011, 03:49 
Quote:
Replace CryEngine_GameCodeOnly.sln in the Solutions folder with this:


Hey, first off, thanks for linking to a modified solution that doesn't require solution folders. I still have a problem: this solution is looking for vcxproj files and there's only vcproj files in the SDK distribution. I tried opening the vcproj files to convert them but I get the following error:

Conversion Report - CryActionHeaders.vcproj:
Converting project file 'C:\Users\Drakfyre\Desktop\CryENGINE_v3_3_5_2456_FreeSDK\CryEngine\CryAction\CryActionHeaders.vcproj'.
Failed to upgrade platform 'x64'. Please make sure you have it installed under '%vctargetspath%\platforms\x64'
Failed to upgrade 'Debug|x64'. Please make sure you have the corresponding platform installed under '%vctargetspath%\platforms\x64'
The project configuration dimension name/value "(Platform, Win32)" was not found in the project manifest.
Project upgrade failed.

Any suggestions? (I am using Visual Studio 2010 Express)
  Trainee TraineeMember since: 13.07.2011, 06:26Posts: 115 Likes: 0
 

 Post Topic: Re: Common compiler errors
PostPosted 20.08.2011, 04:16 
Yay! :easter:
Just what I was looking for I have been having problems with my compiling and such.


Image
3D Artist||2D Artist||Level Designer
  Beginner BeginnerMember since: 20.08.2011, 23:27Posts: 4 Likes: 0
 

 Post Topic: Re: Common compiler errors
PostPosted 21.08.2011, 00:51 
I got those errors too. I am trying to figure out how to fix it.
User avatar   Trained Modder Trained ModderMember since: 18.02.2009, 10:55Posts: 328 Likes: 22
 

 Post Topic: Re: Common compiler errors
PostPosted 21.08.2011, 16:15 
Quote:
Failed to upgrade platform 'x64'. Please make sure you have it installed under '%vctargetspath%\platforms\x64'
Failed to upgrade 'Debug|x64'. Please make sure you have the corresponding platform installed under '%vctargetspath%\platforms\x64'


Well you guys need x64 platform informations. The vs2010 c++ express edition has kind of a problem with x64 - this can be fixed if you install the microsoft sdk 7 (or 7.1?).

Ah well - google is your friend:
Info
download

Dont know if you need to install the m-sdk 7.0 before....


Best regards,

Blue
  Trainee TraineeMember since: 02.07.2011, 05:10Posts: 127 Likes: 0
 

 Post Topic: Re: Common compiler errors
PostPosted 25.08.2011, 06:42 
Can someone provide the correct vcxproj please?

Or could someone tell me how to make a solution for Visual Studio 2010 (full edition)? I love college :D.

EDIT: I have around 100 different errors all labeled something similar to this :
Code:
11   IntelliSense: cannot open source file "INetwork.h"   c:\users\prea\downloads\cryengine_v3_3_5_2456_freesdk\cryengine\cryaction\igameobjectsystem.h   10   1   CryAction


So ya I must be doing something wrong :S.
  Beginner BeginnerMember since: 18.08.2011, 03:28Posts: 12 Likes: 0
 

 Post Topic: Re: Common compiler errors
PostPosted 29.08.2011, 00:44 
I had this errors when I tried to compile GameDLL:

Code:
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(284) : error C2146: syntax error : missing ';' before identifier 'BOOL'
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(284) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(293) : error C2146: syntax error : missing ';' before identifier 'BOOL'
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(293) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(293) : error C2086: 'int WINBASEAPI' : redefinition
1>        C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(283) : see declaration of 'WINBASEAPI'
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(308) : error C2146: syntax error : missing ';' before identifier 'BOOL'
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(308) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(308) : error C2086: 'int WINBASEAPI' : redefinition
1>        C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(283) : see declaration of 'WINBASEAPI'
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(317) : error C2146: syntax error : missing ';' before identifier 'BOOL'
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(317) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(317) : error C2086: 'int WINBASEAPI' : redefinition
1>        C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(283) : see declaration of 'WINBASEAPI'
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(332) : error C2146: syntax error : missing ';' before identifier 'BOOL'
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(332) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(332) : error C2086: 'int WINBASEAPI' : redefinition
1>        C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(283) : see declaration of 'WINBASEAPI'
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(341) : error C2146: syntax error : missing ';' before identifier 'BOOL'
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(341) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(341) : error C2086: 'int WINBASEAPI' : redefinition
1>        C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(283) : see declaration of 'WINBASEAPI'
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(356) : error C2146: syntax error : missing ';' before identifier 'BOOL'
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(356) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(356) : error C2086: 'int WINBASEAPI' : redefinition
1>        C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(283) : see declaration of 'WINBASEAPI'
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(366) : error C2146: syntax error : missing ';' before identifier 'BOOL'
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(366) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(366) : error C2086: 'int WINBASEAPI' : redefinition
1>        C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(283) : see declaration of 'WINBASEAPI'
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(382) : error C2146: syntax error : missing ';' before identifier 'BOOL'
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(382) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(382) : error C2086: 'int WINBASEAPI' : redefinition
1>        C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(283) : see declaration of 'WINBASEAPI'
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(392) : error C2146: syntax error : missing ';' before identifier 'BOOL'
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(392) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(392) : error C2086: 'int WINBASEAPI' : redefinition
1>        C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(283) : see declaration of 'WINBASEAPI'
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(408) : error C2146: syntax error : missing ';' before identifier 'BOOL'
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(408) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(408) : error C2086: 'int WINBASEAPI' : redefinition
1>        C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(283) : see declaration of 'WINBASEAPI'
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(418) : error C2146: syntax error : missing ';' before identifier 'BOOL'
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(418) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(418) : error C2086: 'int WINBASEAPI' : redefinition
1>        C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(283) : see declaration of 'WINBASEAPI'
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(434) : error C2146: syntax error : missing ';' before identifier 'BOOL'
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(434) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(434) : error C2086: 'int WINBASEAPI' : redefinition
1>        C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(283) : see declaration of 'WINBASEAPI'
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(445) : error C2146: syntax error : missing ';' before identifier 'BOOL'
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(445) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(445) : error C2086: 'int WINBASEAPI' : redefinition
1>        C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(283) : see declaration of 'WINBASEAPI'
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(455) : error C2146: syntax error : missing ';' before identifier 'BOOL'
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(455) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(455) : error C2086: 'int WINBASEAPI' : redefinition
1>        C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(283) : see declaration of 'WINBASEAPI'
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(471) : error C2146: syntax error : missing ';' before identifier 'BOOL'
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(471) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(471) : error C2086: 'int WINBASEAPI' : redefinition
1>        C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(283) : see declaration of 'WINBASEAPI'
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(482) : error C2146: syntax error : missing ';' before identifier 'BOOL'
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(482) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(482) : error C2086: 'int WINBASEAPI' : redefinition
1>        C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(283) : see declaration of 'WINBASEAPI'
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(492) : error C2146: syntax error : missing ';' before identifier 'BOOL'
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(492) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(492) : error C2086: 'int WINBASEAPI' : redefinition
1>        C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(283) : see declaration of 'WINBASEAPI'
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(508) : error C2146: syntax error : missing ';' before identifier 'BOOL'
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(508) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(508) : error C2086: 'int WINBASEAPI' : redefinition
1>        C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(283) : see declaration of 'WINBASEAPI'
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(519) : error C2146: syntax error : missing ';' before identifier 'BOOL'
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(519) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(519) : error C2086: 'int WINBASEAPI' : redefinition
1>        C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(283) : see declaration of 'WINBASEAPI'
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(527) : error C2146: syntax error : missing ';' before identifier 'BOOL'
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(527) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(527) : error C2086: 'int WINBASEAPI' : redefinition
1>        C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(283) : see declaration of 'WINBASEAPI'
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(538) : error C2146: syntax error : missing ';' before identifier 'BOOL'
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(538) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(538) : error C2086: 'int WINBASEAPI' : redefinition
1>        C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(283) : see declaration of 'WINBASEAPI'
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(546) : error C2146: syntax error : missing ';' before identifier 'BOOL'
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(546) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(546) : error C2086: 'int WINBASEAPI' : redefinition
1>        C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(283) : see declaration of 'WINBASEAPI'
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(553) : error C2146: syntax error : missing ';' before identifier 'BOOL'
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(553) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(553) : error C2086: 'int WINBASEAPI' : redefinition
1>        C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(283) : see declaration of 'WINBASEAPI'
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(560) : error C2146: syntax error : missing ';' before identifier 'COORD'
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(560) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(560) : error C2086: 'int WINBASEAPI' : redefinition
1>        C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(283) : see declaration of 'WINBASEAPI'
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(567) : error C2146: syntax error : missing ';' before identifier 'BOOL'
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(567) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(567) : error C2086: 'int WINBASEAPI' : redefinition
1>        C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(283) : see declaration of 'WINBASEAPI'
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(577) : error C2146: syntax error : missing ';' before identifier 'BOOL'
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(577) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(577) : error C2086: 'int WINBASEAPI' : redefinition
1>        C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(283) : see declaration of 'WINBASEAPI'
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(587) : error C2146: syntax error : missing ';' before identifier 'BOOL'
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(587) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(587) : error C2086: 'int WINBASEAPI' : redefinition
1>        C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(283) : see declaration of 'WINBASEAPI'
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(595) : error C2146: syntax error : missing ';' before identifier 'BOOL'
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(595) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(595) : error C2086: 'int WINBASEAPI' : redefinition
1>        C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(283) : see declaration of 'WINBASEAPI'
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(604) : error C2146: syntax error : missing ';' before identifier 'BOOL'
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(604) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(604) : error C2086: 'int WINBASEAPI' : redefinition
1>        C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(283) : see declaration of 'WINBASEAPI'
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(610) : error C2146: syntax error : missing ';' before identifier 'BOOL'
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(610) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(610) : error C2086: 'int WINBASEAPI' : redefinition
1>        C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(283) : see declaration of 'WINBASEAPI'
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(616) : error C2146: syntax error : missing ';' before identifier 'COORD'
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(616) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(616) : error C2086: 'int WINBASEAPI' : redefinition
1>        C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(283) : see declaration of 'WINBASEAPI'
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(624) : error C2146: syntax error : missing ';' before identifier 'BOOL'
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(624) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(624) : error C2086: 'int WINBASEAPI' : redefinition
1>        C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(283) : see declaration of 'WINBASEAPI'
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(633) : error C2146: syntax error : missing ';' before identifier 'BOOL'
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(633) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(633) : error C2086: 'int WINBASEAPI' : redefinition
1>        C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(283) : see declaration of 'WINBASEAPI'
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(640) : error C2146: syntax error : missing ';' before identifier 'BOOL'
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(640) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(640) : error C2086: 'int WINBASEAPI' : redefinition
1>        C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(283) : see declaration of 'WINBASEAPI'
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(648) : error C2146: syntax error : missing ';' before identifier 'BOOL'
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(648) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(648) : error C2086: 'int WINBASEAPI' : redefinition
1>        C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(283) : see declaration of 'WINBASEAPI'
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(655) : error C2146: syntax error : missing ';' before identifier 'BOOL'
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(655) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(655) : error C2086: 'int WINBASEAPI' : redefinition
1>        C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(283) : see declaration of 'WINBASEAPI'
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(662) : error C2146: syntax error : missing ';' before identifier 'BOOL'
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(662) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(662) : error C2086: 'int WINBASEAPI' : redefinition
1>        C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(283) : see declaration of 'WINBASEAPI'
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(670) : error C2146: syntax error : missing ';' before identifier 'BOOL'
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(670) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(670) : error C2086: 'int WINBASEAPI' : redefinition
1>        C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(283) : see declaration of 'WINBASEAPI'
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(678) : error C2146: syntax error : missing ';' before identifier 'BOOL'
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(678) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(678) : error C2086: 'int WINBASEAPI' : redefinition
1>        C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(283) : see declaration of 'WINBASEAPI'
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(686) : error C2146: syntax error : missing ';' before identifier 'BOOL'
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(686) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(686) : error C2086: 'int WINBASEAPI' : redefinition
1>        C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(283) : see declaration of 'WINBASEAPI'
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(696) : error C2146: syntax error : missing ';' before identifier 'BOOL'
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(696) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(696) : error C2086: 'int WINBASEAPI' : redefinition
1>        C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(283) : see declaration of 'WINBASEAPI'
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(712) : error C2146: syntax error : missing ';' before identifier 'BOOL'
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(712) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(712) : error C2086: 'int WINBASEAPI' : redefinition
1>        C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(283) : see declaration of 'WINBASEAPI'
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(721) : error C2146: syntax error : missing ';' before identifier 'BOOL'
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(721) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(721) : error C2086: 'int WINBASEAPI' : redefinition
1>        C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(283) : see declaration of 'WINBASEAPI'
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(729) : error C2146: syntax error : missing ';' before identifier 'BOOL'
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(729) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(729) : error C2086: 'int WINBASEAPI' : redefinition
1>        C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(283) : see declaration of 'WINBASEAPI'
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(736) : error C2146: syntax error : missing ';' before identifier 'BOOL'
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(736) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(736) : error C2086: 'int WINBASEAPI' : redefinition
1>        C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(283) : see declaration of 'WINBASEAPI'
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(744) : error C2146: syntax error : missing ';' before identifier 'BOOL'
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(744) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(744) : error C2086: 'int WINBASEAPI' : redefinition
1>        C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(283) : see declaration of 'WINBASEAPI'
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(749) : error C2146: syntax error : missing ';' before identifier 'BOOL'
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(749) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(749) : error C2086: 'int WINBASEAPI' : redefinition
1>        C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(283) : see declaration of 'WINBASEAPI'
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(755) : error C2146: syntax error : missing ';' before identifier 'BOOL'
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(755) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(755) : error C2086: 'int WINBASEAPI' : redefinition
1>        C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(283) : see declaration of 'WINBASEAPI'
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(765) : error C2146: syntax error : missing ';' before identifier 'DWORD'
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(765) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(765) : error C2086: 'int WINBASEAPI' : redefinition
1>        C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(283) : see declaration of 'WINBASEAPI'
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(772) : error C2146: syntax error : missing ';' before identifier 'DWORD'
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(772) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(772) : error C2086: 'int WINBASEAPI' : redefinition
1>        C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\wincon.h(283) : see declaration of 'WINBASEAPI'
User avatar   Trainee TraineeMember since: 30.04.2011, 10:08Posts: 103Location: Romania, Constanta Likes: 1
 

 Post Topic: Re: Common compiler errors
PostPosted 01.09.2011, 11:00 
When I try to build I still get the error with shared_ptr.I have the path <CryEngine 3>\Code\SDKs\boost\boost\ and I have also tried with <CryEngine 3>\Code\SDKs\boost\ and <CryEngine 3>\Code\SDKs\boost\boost\smart_ptr also.I am using Visual Studio 2010 SP1 X64


Me, myself and the next door hopefully bright future!
User avatar   Trainee TraineeMember since: 30.04.2011, 10:08Posts: 103Location: Romania, Constanta Likes: 1
 

 Post Topic: Re: Common compiler errors
PostPosted 03.09.2011, 00:23 
BUMP!


Me, myself and the next door hopefully bright future!
  Beginner BeginnerMember since: 20.08.2011, 23:27Posts: 4 Likes: 0
 

 Post Topic: Re: Common compiler errors
PostPosted 15.09.2011, 10:55 
Code:
1>------ Skipped Build: Project: GameDll ------
1>
2>------ Skipped Build: Project: CryCommon, Configuration: Template Win32 ------
2>Project not selected to build for this solution configuration
3>------ Skipped Build: Project: CryActionHeaders ------
3>
========== Build: 0 succeeded or up-to-date, 0 failed, 3 skipped ==========


I am getting this error. It won't compile or build anything.
  Beginner BeginnerMember since: 20.08.2011, 23:27Posts: 4 Likes: 0
 

 Post Topic: Re: Common compiler errors
PostPosted 15.09.2011, 11:31 
hey juliotrasferetti,
I recommend you to reinstall the Windows SDK. I look like you got a trojan that looked for these files. I also recommend you get a virus protector project. The errors that you are getting are syntax errors.
  Beginner BeginnerMember since: 20.08.2011, 23:27Posts: 4 Likes: 0
 

 Post Topic: Re: Common compiler errors
PostPosted 16.09.2011, 08:41 
For the last month, I been trying to compile CryEngine with VS 2010 Express and not having a whole lot of success with VS2010 Express. I reverted back to VS2008 Express, even though I kept VS2010 Express on my machine. CryEngine works far better with VS2008 Express, especially when it works without me banging my head against the wall.

I recommend you to just search google for 'VS 2008 express' and you can download it from Microsoft's site. If you follow the topic's creator instructions at the top and CryDev's Get started, you will enjoy this game engine as you should.