Home Game Development First Venture Construct Points Home windows – cocos2d-x

First Venture Construct Points Home windows – cocos2d-x

0
First Venture Construct Points Home windows – cocos2d-x

[ad_1]

Hello,

I simply began utilizing cocos2d-x. And I’m having bother to construct my first mission.

When I attempt to construct in Home windows with x64 goal , VS 2022 I get:
Construct began…
1>—— Construct began: Venture: SYNC_RESOURCE-MyGame, Configuration: Debug x64 ——
2>—— Construct began: Venture: cocos2d, Configuration: Debug x64 ——
1>Copying assets for MyGame …
1> copying to C:/sport/MyCompany/MyGame/win32-build/bin/MyGame/Debug/Sources
2>UIEditBoxImpl-win32.cpp
2>C:gameMyCompanyMyGamecocos2dcocosuiUIEditBoxUIEditBoxImpl-win32.cpp(64,70): error C2065: ‘GWL_WNDPROC’: undeclared identifier
2>C:gameMyCompanyMyGamecocos2dcocosuiUIEditBoxUIEditBoxImpl-win32.cpp(101,42): error C2065: ‘GWL_WNDPROC’: undeclared identifier
2>C:gameMyCompanyMyGamecocos2dcocosuiUIEditBoxUIEditBoxImpl-win32.cpp(124,40): warning C4312: ‘sort solid’: conversion from ‘int’ to ‘HMENU’ of higher measurement
2>C:gameMyCompanyMyGamecocos2dcocosuiUIEditBoxUIEditBoxImpl-win32.cpp(128,42): error C2065: ‘GWL_USERDATA’: undeclared identifier
2>C:gameMyCompanyMyGamecocos2dcocosuiUIEditBoxUIEditBoxImpl-win32.cpp(129,66): error C2065: ‘GWL_WNDPROC’: undeclared identifier
2>C:gameMyCompanyMyGamecocos2dcocosuiUIEditBoxUIEditBoxImpl-win32.cpp(246,34): warning C4267: ‘initializing’: conversion from ‘size_t’ to ‘int’, attainable lack of knowledge
2>C:gameMyCompanyMyGamecocos2dcocosuiUIEditBoxUIEditBoxImpl-win32.cpp(280,22): warning C4244: ‘argument’: conversion from ‘const float’ to ‘int’, attainable lack of knowledge
2>C:gameMyCompanyMyGamecocos2dcocosuiUIEditBoxUIEditBoxImpl-win32.cpp(279,22): warning C4244: ‘argument’: conversion from ‘const float’ to ‘int’, attainable lack of knowledge
2>C:gameMyCompanyMyGamecocos2dcocosuiUIEditBoxUIEditBoxImpl-win32.cpp(278,24): warning C4244: ‘argument’: conversion from ‘const float’ to ‘int’, attainable lack of knowledge
2>C:gameMyCompanyMyGamecocos2dcocosuiUIEditBoxUIEditBoxImpl-win32.cpp(277,24): warning C4244: ‘argument’: conversion from ‘const float’ to ‘int’, attainable lack of knowledge
2>Carried out constructing mission “cocos2d.vcxproj” – FAILED.
3>—— Construct began: Venture: MyGame, Configuration: Debug x64 ——
3>LINK : deadly error LNK1104: can’t open file ‘libDebugcocos2d.lib’
3>Carried out constructing mission “MyGame.vcxproj” – FAILED.
========== Construct: 1 succeeded, 2 failed, 13 up-to-date, 0 skipped ==========

if I set Win32 I get:

Construct began…
1>—— Construct began: Venture: cocos2d, Configuration: Debug Win32 ——
1>Debugcocos2d.obj : deadly error LNK1112: module machine sort ‘x86’ conflicts with goal machine sort ‘x64’
1>Carried out constructing mission “cocos2d.vcxproj” – FAILED.
========== Construct: 0 succeeded, 1 failed, 12 up-to-date, 0 skipped ==========

Thanks!

[ad_2]

LEAVE A REPLY

Please enter your comment!
Please enter your name here