[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sequoyah-dev] Sequoyah 2.0 Broken

Hi,

Sorry

Eclipse: eclipse IDE for Java Developers 3.7 (Indigo)
Android SDK: Android 3.1
ADT: ADT-11.0.0
Sequoyah: org.eclipse.sequoyah.feature.1.1.2.I20110609-0753
NDK: android-ndk-r5c-darwin-x86
CDT: 8.0
JDK: jdk1.6.0_25


Thanks

Adrian.



On 6 Jul 2011, at 18:56, Marcel Gorri wrote:

Hi Adrian, 

in fact, I would need something like this (note that this is just an example):

Eclipse: eclipse-SDK-3.7-win32 (Indigo)
Android SDK: Android 3.1
ADT: ADT-11.0.0
Sequoyah: org.eclipse.sequoyah.feature.2.0.0.I20110609-0753 (this is for Eclipse Indigo, as documented)
CDT : 8.0
NDK: android-ndk-r5c-windows
Cygwin: Cygwin 3.81
JDK : jdk1.6.0_25

Tks

On Wed, Jul 6, 2011 at 2:52 PM, Adrian Hirst <adrian.hirst@xxxxxx> wrote:
Hi,

Yes I'm running Mac OSX 64Bit and Eclipse Indigo 

Thanks

Adrian.


On 6 Jul 2011, at 18:47, Marcel Gorri wrote:

Hi Adrian, 

can you please give me more information about your environment, like eclipse version and if it is Mac 32 or 64? As you can see in the screenshot attached, here in our environment we can run your test perfectly fine.

Thanks and regards.
 Marcel

On Wed, Jul 6, 2011 at 2:24 PM, Adrian Hirst <adrian.hirst@xxxxxx> wrote:
Hi,

I have installed "sequoyah native ndk" on a brand new install of eclipse and its totally broken and unusable

I generated a new Android project and converted it to a native app using the built in option, this successfully created a JNI folder etc.

However, there are NO Paths/Defines setup in C/C++ General/Paths and Symbols.

in my Android.mk i added the following:-

LOCAL_LDLIBS := -lGLESv1_CM -ldl -llog

in the generated cpp file I added:-

#include <string.h>
#include <jni.h>
#include <GLES/gl.h>
#include <GLES/glext.h>

void ClearColor(float r, float, g, float b, float a)
{
glClearColor(r, g, b, a);
}


Now when it builds the following happens:-

Description Resource Path Location Type
Function 'glClearColor' could not be resolved foobar.cpp /Project/jni line 7 Semantic Error

However if I use the command line and type ndk-build the lib compiles fine without the above link error.

The fact that the 'can't resolve symbol' is happening and no default includes/libs is stopping me use sequoyah.

Could you please let me know when this is fixed. 

BTW I am using Mac OSX

Thankyou.




_______________________________________________
sequoyah-dev mailing list
sequoyah-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/sequoyah-dev


<Screen shot 2011-07-06 at 2.39.06 PM.png>_______________________________________________


_______________________________________________
sequoyah-dev mailing list
sequoyah-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/sequoyah-dev


_______________________________________________
sequoyah-dev mailing list
sequoyah-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/sequoyah-dev