[Type] bugfix
[Module] Emulator / mac
[Priority] major
[Jira#]
[Redmine#]
[Problem]
[Cause] policy
[Solution]
[TestCase]
#!/bin/bash
-javah -classpath ../bin/:../lib/swt/gtk-linux/swt.jar -jni org.tizen.emulator.skin.EmulatorSkin
+javah -classpath ../bin/:../lib/swt.jar -jni org.tizen.emulator.skin.EmulatorSkin
rm ./org_tizen_emulator_skin_EmulatorSkin_PollFBThread.h
rm ./org_tizen_emulator_skin_EmulatorSkin_SkinReopenPolicy.h
+#TODO: jdk path
gcc -c Share.c -o Share.o -I /usr/lib/jvm/jdk1.7.0_04/include -I /usr/lib/jvm/jdk1.7.0_04/include/linux
gcc -shared Share.o -o libshared.so -fPIC
#!/bin/bash
-javah -classpath ../emulator-skin.jar:../lib/swt/cocoa-macosx64/swt.jar -jni org.tizen.emulator.skin.EmulatorSkin
+javah -classpath ../emulator-skin.jar:../lib/swt.jar -jni org.tizen.emulator.skin.EmulatorSkin
rm ./org_tizen_emulator_skin_EmulatorSkin_PollFBThread.h
rm ./org_tizen_emulator_skin_EmulatorSkin_SkinReopenPolicy.h
+#TODO: jdk path
gcc -c Share.c -o Share.o -I/System/Library/Frameworks/JavaVM.framework/Headers
gcc -dynamiclib Share.o -o libshared.dylib