Forums Gallery Downloads LOGIN |REGISTER

Common compiler errors

Please use this forum for questions on C++, Lua, XML, and any other languages used in CryENGINE development.


 

User avatar
Mr.Hankey
Not my first Rodeo
Not my first Rodeo
 
Posts: 469
Member since: 06.11.2007, 20:41
Location: Germany
Likes: 0

Common compiler errors

Postby Mr.Hankey » 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: Select all
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: Select all
Cannot find afxres.h
Solution:
  • Open GameDll.rc and replace afxres.h with windows.h
    Code: Select all
    #include "windows.h"


(Visual Studio 2010)
Code: Select all
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!




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
Last edited by Mr.Hankey on 18.08.2011, 17:58, edited 1 time in total.
Image
User avatar
i59
Producer
Producer
 
Posts: 2038
Member since: 19.03.2009, 12:21
Location: Sweden
Likes: 36

Re: Common compiler errors

Postby i59 » 18.08.2011, 17:48

Can we get this stickied please?

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
Ruan
Has seen it all
Has seen it all
 
Posts: 11741
Images: 0
Member since: 11.07.2008, 20:25
Location: Nottingham, UK
Likes: 93

Re: Common compiler errors

Postby Ruan » 18.08.2011, 21:56

/Stickified
Out now! CryENGINE Game Programming with C++, C#, and Lua
Ex-Crytek, now with Deep Silver Dambuster Studios
Traebarlow
Just getting started
Just getting started
 
Posts: 9
Member since: 23.02.2011, 06:11
Likes: 0

Re: Common compiler errors

Postby Traebarlow » 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.
drakfyre
Just getting started
Just getting started
 
Posts: 1
Member since: 19.08.2011, 22:02
Likes: 0

Re: Common compiler errors

Postby drakfyre » 20.08.2011, 03:49

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)
aceman905671
Junior Dev
Junior Dev
 
Posts: 115
Member since: 13.07.2011, 06:26
Likes: 0

Re: Common compiler errors

Postby aceman905671 » 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
PYDevelopment
Just getting started
Just getting started
 
Posts: 4
Member since: 20.08.2011, 23:27
Likes: 0

Re: Common compiler errors

Postby PYDevelopment » 21.08.2011, 00:51

I got those errors too. I am trying to figure out how to fix it.
User avatar
Blue
Developer
Developer
 
Posts: 328
Member since: 18.02.2009, 10:55
Likes: 22

Re: Common compiler errors

Postby Blue » 21.08.2011, 16:15

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
xPreatorianx1
Junior Dev
Junior Dev
 
Posts: 127
Member since: 02.07.2011, 05:10
Likes: 0

Re: Common compiler errors

Postby xPreatorianx1 » 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: Select all
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.
juliotrasferetti
Just getting started
Just getting started
 
Posts: 12
Member since: 18.08.2011, 03:28
Likes: 0

Re: Common compiler errors

Postby juliotrasferetti » 29.08.2011, 00:44

I had this errors when I tried to compile GameDLL:

Code: Select all
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
Dekkerlion
Junior Dev
Junior Dev
 
Posts: 103
Member since: 30.04.2011, 10:08
Location: Romania, Constanta
Likes: 1

Re: Common compiler errors

Postby Dekkerlion » 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
Dekkerlion
Junior Dev
Junior Dev
 
Posts: 103
Member since: 30.04.2011, 10:08
Location: Romania, Constanta
Likes: 1

Re: Common compiler errors

Postby Dekkerlion » 03.09.2011, 00:23

BUMP!
Me, myself and the next door hopefully bright future!
PYDevelopment
Just getting started
Just getting started
 
Posts: 4
Member since: 20.08.2011, 23:27
Likes: 0

Re: Common compiler errors

Postby PYDevelopment » 15.09.2011, 10:55

Code: Select all
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.
PYDevelopment
Just getting started
Just getting started
 
Posts: 4
Member since: 20.08.2011, 23:27
Likes: 0

Re: Common compiler errors

Postby PYDevelopment » 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.
PYDevelopment
Just getting started
Just getting started
 
Posts: 4
Member since: 20.08.2011, 23:27
Likes: 0

Re: Common compiler errors

Postby PYDevelopment » 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.


 
Connect and collaborate with CRYENGINE developers in the official Forums.
Visit the Gallery to share what you have created and be inspired by what others are creating with CRYENGINE.
Community