NoviceGamer
Topic Author
Posts: 5
Joined: 11 Jan 2017, 12:31

integrate NoesisGUI with cocos2dx

11 Jan 2017, 12:52

im working on cocos2dx version 3.13 (cpp)
im trying to render xaml file in my android project.
i've downloaded NoesisGui trail version and copied all the header files in my classes folder and included them in my cpp file.
But there are errors and i dint find any resource to resolve it .Plz help me.
Attachments
Capture.PNG
 
User avatar
sfernandez
Site Admin
Posts: 3008
Joined: 22 Dec 2011, 19:20

Re: integrate NoesisGUI with cocos2dx

11 Jan 2017, 13:33

Noesis library is built for armeabi-v7a and x86 only.
There is no support for armeabi, so this may be the problem.

Could you please confirm it?
 
NoviceGamer
Topic Author
Posts: 5
Joined: 11 Jan 2017, 12:31

Re: integrate NoesisGUI with cocos2dx

11 Jan 2017, 13:57

Are you saying that noesis is not built for the mobile platform?

The issue is that I am unable to link the library (dll or .lib file) as there are no instructions for the same. I have found this on github:
https://github.com/Noesis/cocos2d-x-bindings

so it is possible to use it with cocos2d-x. I dont know how to integrate the library into my project.
 
User avatar
sfernandez
Site Admin
Posts: 3008
Joined: 22 Dec 2011, 19:20

Re: integrate NoesisGUI with cocos2dx

11 Jan 2017, 14:19

Are you saying that noesis is not built for the mobile platform?
No, I meant that you need to compile using armeabi-v7a or x86 instead of armeabi:
APP_ABI := armeabi-v7a
ABI Management info.

We only support (right now) armeabi-v7a and x86 from that list. Devices using other instruction sets won't be supported yet.
You can download both runtimes from our forum.
 
NoviceGamer
Topic Author
Posts: 5
Joined: 11 Jan 2017, 12:31

Re: integrate NoesisGUI with cocos2dx

12 Jan 2017, 07:08

i have compiled for armeabi-v7a. But still there is same error.
Can you please provide me detail steps to do so, or some video tuto.
thanks in advance.
 
User avatar
sfernandez
Site Admin
Posts: 3008
Joined: 22 Dec 2011, 19:20

Re: integrate NoesisGUI with cocos2dx

16 Jan 2017, 17:12

I had a look at cocos2d bindings and I'm afraid these are only valid for iOS, because they are dependant on CoreFoundation, unless you have modified the code yourself. Is that the case?

About the link errors, make sure you are linking to libNoesis.a library when building your project.
 
NoviceGamer
Topic Author
Posts: 5
Joined: 11 Jan 2017, 12:31

Re: integrate NoesisGUI with cocos2dx

18 Jan 2017, 07:22

I'm not comfortable with xcode. Is there any other way to implement NoesisGUI in cocos2dx cpp project?
Is there any equivalent function to "CoreFoundation" for android?
Can we import "CoreFoundation" function in cocos2dx cpp project?
Regarding to code modification part, i've commented the " #include "CoreFoundation.h" ".
And there is no libNoesis.a file in sdk's provided by Noesis
 
User avatar
jsantos
Site Admin
Posts: 3939
Joined: 20 Jan 2012, 17:18
Contact:

Re: integrate NoesisGUI with cocos2dx

19 Jan 2017, 05:44

Not sure if there are decent alternatives to XCode in OSX. But for Android, you don't need OSX, you can use Windows + Visual Studio.

Sorry for asking this, but do you have experience using the NDK? What kind of project are you trying to create? is Unity a viable option for you?

In Android, you need to use the dynamic library of Noesis (libNoesis.so)
 
NoviceGamer
Topic Author
Posts: 5
Joined: 11 Jan 2017, 12:31

Re: integrate NoesisGUI with cocos2dx

19 Jan 2017, 14:00

Im novice game programmer, and had used NDK for 2-3 tymes for creating simple android project.
Currently, Unity is not viable option for me.
from where do i get libNoesis.so file?
thanx for reply.
 
User avatar
jsantos
Site Admin
Posts: 3939
Joined: 20 Jan 2012, 17:18
Contact:

Re: integrate NoesisGUI with cocos2dx

20 Jan 2017, 19:49

Not sure what license do you have. But you need access to the Android binaries. If you are using a trial could you please ask for that via email?

Thanks!

Who is online

Users browsing this forum: Ahrefs [Bot] and 9 guests