winipcfg winipcfg Error occurs when running build-win32.bat
Posts 56
Added by winipcfg winipcfg about 1 year ago

See below

It opens a test project but cannot find reesources. Version cocos2d-1.0.1-x-0.11.0 do not have the same issue.
Thanks.

Williams Piazza RE: Error occurs when running build-win32.bat
Posts 10
Added by Williams Piazza about 1 year ago

Same here, a new bug of the 1.0.1-x-0.12.0 release :(

Minggo Zhang RE: Error occurs when running build-win32.bat
Posts 1641
Added by Minggo Zhang about 1 year ago

Oh, it's our fault.
We forgot to change resources path in build-win32.bat.
You can just modify

set CC_TEST_RES=..\tests\Res\*.*
set CC_HELLOWORLD_RES=..\HelloWorld\Resource\*.*
set CC_HELLOLUA_RES=..\HelloLua\Resource\*.*

to
set CC_TEST_RES=..\tests\Resources\*.*
set CC_HELLOWORLD_RES=..\HelloWorld\Resources\*.*
set CC_HELLOLUA_RES=..\HelloLua\Resources\*.*

Minggo Zhang RE: Error occurs when running build-win32.bat
Posts 1641
Added by Minggo Zhang about 1 year ago

#1014 is created.
Thank you.

eddie barreau RE: Error occurs when running build-win32.bat
Posts 21
Added by eddie barreau about 1 year ago

an other error occur when i whant to include lua in a new project on windows. the class name seems to became CCLuaEngine.cpp in the cocos2d-1.0.1-x-0.12.0

error_lua.jpg (67.7 kB)

eddie barreau RE: Error occurs when running build-win32.bat
Posts 21
Added by eddie barreau about 1 year ago

i change the name in the template.inf

../../../../../lua/cocos2dx_support/LuaCocos2d.cp
../../../../../lua/cocos2dx_support/LuaEngine.cpp
../../../../../lua/cocos2dx_support/LuaEngineImpl.cpp
../../../../../lua/cocos2dx_support/LuaCocos2d.h
../../../../../lua/cocos2dx_support/LuaEngine.h
../../../../../lua/cocos2dx_support/LuaEngineImpl.h

to

../../../../../lua/cocos2dx_support/LuaCocos2d.cpp
../../../../../lua/cocos2dx_support/CCLuaEngine.cpp
../../../../../lua/cocos2dx_support/Cocos2dxLuaLoader.cpp
../../../../../lua/cocos2dx_support/LuaCocos2d.h
../../../../../lua/cocos2dx_support/CCLuaEngine.h
../../../../../lua/cocos2dx_support/Cocos2dxLuaLoader.h

no errors when create a project but the templates class aren't updated

Rubby Entertainment RE: Error occurs when running build-win32.bat
Posts 49
Added by Rubby Entertainment about 1 year ago

I have error when run test project on visual studio 2010.
When I build it, it have some error like :

c1xx : fatal error C1083: Cannot open source file: '..\tests\testBasic.cpp': No such file or directory
2>  controller.cpp
2>c1xx : fatal error C1083: Cannot open source file: '..\tests\controller.cpp': No such file or directory
2>  ZwoptexTest.cpp
.....

May be you set the include folder wrong?

Minggo Zhang RE: Error occurs when running build-win32.bat
Posts 1641
Added by Minggo Zhang about 1 year ago

I have tested on visual studio 2010 before releasing.
Can you open "testBasic.cpp" in vs2010?

Rubby Entertainment RE: Error occurs when running build-win32.bat
Posts 49
Added by Rubby Entertainment about 1 year ago

Thanks. I lose this file when I extract cocos2dx.rar.
Everything ok now

winipcfg winipcfg RE: Error occurs when running build-win32.bat
Posts 56
Added by winipcfg winipcfg about 1 year ago

Minggo Zhang wrote:

Oh, it's our fault.
We forgot to change resources path in build-win32.bat.
You can just modify
[...]
to
[...]

OK, it works
Thanks

Minggo Zhang RE: Error occurs when running build-win32.bat
Posts 1641
Added by Minggo Zhang about 1 year ago

@ eddie barreau

no errors when create a project but the templates class aren't updated

What's your meaning?

eddie barreau RE: Error occurs when running build-win32.bat
Posts 21
Added by eddie barreau about 1 year ago

by changing the template file i was able to create a project with lua support without visual studio error(previous red message),
but the cpp and .h file aren't in line with the change (LuaEngine Became CCLuaEngine)so there is other correction to do (for example on the #includes).

Minggo Zhang RE: Error occurs when running build-win32.bat
Posts 1641
Added by Minggo Zhang about 1 year ago

Yeap, I have fixed it.
You can refer https://github.com/cocos2d/cocos2d-x/pull/753.

eddie barreau RE: Error occurs when running build-win32.bat
Posts 21
Added by eddie barreau about 1 year ago

thank you


(1-13/13)