Giter Site home page Giter Site logo

ibinti / bugvm Goto Github PK

View Code? Open in Web Editor NEW
350.0 350.0 52.0 1.48 GB

This is BugVM

Shell 0.02% Java 70.78% AppleScript 0.01% LLVM 0.05% CMake 0.23% C 3.41% Objective-C 0.02% C++ 25.05% HTML 0.07% XSLT 0.13% Assembly 0.20% Python 0.01% Emacs Lisp 0.01% Pawn 0.01% Kotlin 0.03% Swift 0.01% SWIG 0.01%

bugvm's Introduction

ibi ibi on the net, who is the fairest of them all?

bugvm's People

Contributors

ashleyj avatar asuhan avatar badlogic avatar blueriverinteractive avatar bobthekingofegypt avatar cfogelklou avatar ericnondahl avatar erwin1 avatar fazl avatar ibinti avatar janblok avatar javatlacati avatar johnnyapol avatar justinsb avatar lambdaknight avatar lbrasseur avatar loxal avatar mobidevelop avatar nomoid avatar ntherning avatar oakes avatar perfectcarl avatar saikai avatar zonski avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bugvm's Issues

java.lang.UnsatisfiedLinkError: Native library for macosx-x86_64 not found

bugvm-1.8.0/bin/bugvm -verbose -cp classes/ -run HelloWorld
java.lang.UnsatisfiedLinkError: Native library for macosx-x86_64 not found
at com.bugvm.llvm.NativeLibrary.load(NativeLibrary.java:75)
at com.bugvm.llvm.binding.LLVMJNI.(LLVMJNI.java:804)
at com.bugvm.llvm.binding.LLVM.getLlvmHostTriple(LLVM.java:3103)
at com.bugvm.llvm.Target.(Target.java:36)
at com.bugvm.compiler.config.OS.getDefaultOS(OS.java:51)
at com.bugvm.compiler.target.ConsoleTarget.init(ConsoleTarget.java:93)
at com.bugvm.compiler.config.Config.build(Config.java:878)
at com.bugvm.compiler.config.Config.access$5000(Config.java:99)
at com.bugvm.compiler.config.Config$Builder.build(Config.java:1482)
at com.bugvm.compiler.AppCompiler.main(AppCompiler.java:698)
bugvm: Native library for macosx-x86_64 not found

Hard coded VMVersion

com.bugvm.rt:VMVersion.java

public final class VMVersion {
public static final String VERSION = "x.x.x";
}

What in the world did the version need to be in the code?

java.lang.UnsatisfiedLinkError: com.bugvm.compiler.util.io.HfsCompressor.compressNative

Compiling HelloWorld (macosx x86_64 release)
Compiling com.bugvm.rt.bro.Struct (macosx x86_64 release)
java.lang.UnsatisfiedLinkError: com.bugvm.compiler.util.io.HfsCompressor.compressNative(Ljava/lang/String;[BI)Z
at com.bugvm.compiler.util.io.HfsCompressor.compressNative(Native Method)
at com.bugvm.compiler.util.io.HfsCompressor.compress(HfsCompressor.java:61)
at com.bugvm.compiler.ClassCompiler.generateMachineCode(ClassCompiler.java:418)
at com.bugvm.compiler.ClassCompiler.access$000(ClassCompiler.java:136)
at com.bugvm.compiler.ClassCompiler$1.run(ClassCompiler.java:316)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

Linker warnings

When compiling a bugvm project there are a lot of linker warnings like these:

---Output omitted

[WARNING] ld: warning: object file (/Users/mark/.bugvm/cache/ios/thumbv7/debug/Users/mark/.gradle/caches/modules-2/files-2.1/com.bugvm/bugvm-libgdx/1.1.0-SNAPSHOT/fdbc4a1a9ab4ffb350fc0b589b7e208ee23b5fee/bugvm-libgdx-1.1.0-SNAPSHOT.jar.extracted/META-INF/bugvm/ios/libs/libObjectAL.a(OALAudioFile.o)) was built for newer iOS version (6.1.6) than being linked (5.0)

---Output omitted

[WARNING] ld: warning: object file (/Users/mark/.bugvm-sdks/bugvm-1.0.9/lib/vm/ios/thumbv7/libgc.a(fnlz_mlc.o)) was built for newer iOS version (6.1.6) than being linked (5.0)

---Output omitted

[WARNING] ld: warning: object file (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/7.3.0/lib/darwin/libclang_rt.ios.a(emutls.c.o)) was built for newer iOS version (6.0) than being linked (5.0)

---Output omitted

Since I'm not planning on actually targeting 5.0 devices, I don't expect to run into problems (I suspect it is possible though), but shouldn't the bugvm sdk (a) target devices with at least the mentioned version (6.1.6+) or (b) have it's libraries and toolchain target match the 5.0 version?

java.lang.UnsatisfiedLinkError: com.bugvm.llvm.binding.LLVMJNI.StartMultithreaded()Z

bugvm-1.8.0/bin/bugvm -verbose -cp classes/ -run HelloWorld
java.lang.UnsatisfiedLinkError: com.bugvm.llvm.binding.LLVMJNI.StartMultithreaded()Z
at com.bugvm.llvm.binding.LLVMJNI.StartMultithreaded(Native Method)
at com.bugvm.llvm.binding.LLVM.StartMultithreaded(LLVM.java:2413)
at com.bugvm.llvm.NativeLibrary.load(NativeLibrary.java:92)
at com.bugvm.llvm.binding.LLVMJNI.(LLVMJNI.java:804)
at com.bugvm.llvm.binding.LLVM.getLlvmHostTriple(LLVM.java:3103)
at com.bugvm.llvm.Target.(Target.java:36)
at com.bugvm.compiler.config.OS.getDefaultOS(OS.java:51)
at com.bugvm.compiler.target.ConsoleTarget.init(ConsoleTarget.java:93)
at com.bugvm.compiler.config.Config.build(Config.java:878)
at com.bugvm.compiler.config.Config.access$5000(Config.java:99)
at com.bugvm.compiler.config.Config$Builder.build(Config.java:1482)
at com.bugvm.compiler.AppCompiler.main(AppCompiler.java:698)

IOSLauncher[10507:1105115] PathClassLoader: can't find

when i run game in ios it is not working than i create ipa and upload to ipad. But when i run it crashes with this error. What is problem?

2016-05-12 01:38:47.970 IOSLauncher[10507:1105115] PathClassLoader: can't find '/Users/darcanli/Library/Developer/CoreSimulator/Devices/92289628-1A58-4D80-8C8F-F28052A8C368/data/Containers/Bundle/Application/97FA7415-49F8-43ED-AA73-2AE2FD45E498/IOSLauncher.app/lib/bugvm-dist-compiler.jar'

Move Away from GPL

Is it possible to replace the GPLed code as you progress so the whole project is available under a more permissive license later on.

This also would give and opportunity have this more clean slate where it will add value or provide better design from the original without encumbered code.

Run app in simulator great works but real device [ERROR] Couldn't start application ?

Hi friends,

I want to thank you all for this project, last month i was building mu project to ios with robovm. But it died :( and for a week im trying to setup bugvm and i finished setup.

I run my app on ios simulator working well. But when i send it to real device it says " [ERROR] Couldn't start application". Full error is bottom of the message. Can you help about this error ?

i forgatten to say. Im using bugvm studio...

[ERROR] Couldn't start application
java.lang.NoClassDefFoundError: Could not initialize class com.bugvm.libimobiledevice.binding.LibIMobileDeviceJNI
at com.bugvm.libimobiledevice.binding.StringArrayOut.(StringArrayOut.java:44)
at com.bugvm.libimobiledevice.IDevice.listUdids(IDevice.java:136)
at com.bugvm.compiler.target.ios.IOSTarget.createIOSDevLauncher(IOSTarget.java:262)
at com.bugvm.compiler.target.ios.IOSTarget.createLauncher(IOSTarget.java:152)
at com.bugvm.compiler.target.AbstractTarget.doLaunch(AbstractTarget.java:490)
at com.bugvm.compiler.target.ios.IOSTarget.doLaunch(IOSTarget.java:602)
at com.bugvm.compiler.target.AbstractTarget.launch(AbstractTarget.java:486)
at com.bugvm.compiler.AppCompiler.launchAsync(AppCompiler.java:827)
at com.bugvm.idea.running.BugVmRunProfileState.executeRun(BugVmRunProfileState.java:65)
at com.bugvm.idea.running.BugVmRunProfileState.startProcess(BugVmRunProfileState.java:109)
at com.intellij.execution.configurations.CommandLineState.execute(CommandLineState.java:80)
at com.bugvm.idea.running.BugVmRunner.doExecute(BugVmRunner.java:79)
at com.intellij.execution.runners.GenericProgramRunner$1.execute(GenericProgramRunner.java:43)
at com.intellij.execution.impl.ExecutionManagerImpl$5.run(ExecutionManagerImpl.java:367)
at com.intellij.openapi.project.DumbServiceImpl.runWhenSmart(DumbServiceImpl.java:144)
at com.intellij.execution.impl.ExecutionManagerImpl$4.run(ExecutionManagerImpl.java:334)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:873)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:662)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:397)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

[ERROR] while processing /Users/darcanli/.bugvm/cache/ios/thumbv7/release/Users/darcanli/.gradle/caches/modules-2/files-2.1/com.bugvm/bugvm-libgdx/1.1.0-SNAPSHOT/3b8e172abb1dfc6f0c86442245e55ea059f76b4f/bugvm-libgdx-1.1.0-SNAPSHOT.jar.extracted/META-INF/bugvm/ios/libs/libObjectAL.a(OALAction.o):
[WARNING] warning: /var/folders/b9/14_qh0188xs07m006s6gwqs80000gq/C/com.apple.DeveloperTools/7.3-7D175/Xcode/SharedPrecompiledHeaders/ObjectAL (iOS)-Prefix-bnerbqxptykhdwdivuprmrgpqhif/ObjectAL (iOS)-Prefix.pch.pch: No such file or directory

Change Website to say what BugVM is?

The text on https://bugvm.com/ currently starts with these words:

We are the BugVM

BugVM is a free open source alternative to closed, commercial, and now discontinued RoboVM.

and so on. But what is BugVM? Under "Current Status" (???) it says: "BugVM can be used to develop a native iOS app with Java." So I assume this is what BugVM is all about? From a PR point of view, it might be a good idea to start with that. Unless you intentionally want to limit your "market" to people who know this RoboVM?

I could not find a repository for the website, nor any specific hints as to how to report issues with the website, so after some searching around I ended up using this issue tracker.

No @Marshaler found for return type of @Bridge method <com.bugvm.apple.photos.PHAssetResourceRequestOptions: com.bugvm.objc.block.VoidBlock1

20:36:25: Executing external tasks 'clean build launchIPhoneSimulator'...
:clean
warning: Supported source version 'RELEASE_6' from annotation processor 'org.sonatype.guice.bean.scanners.index.SisuIndexAPT6' less than -source '1.8'
1 warning
:compileJava
:processResources
:classes
:jar
:assemble
:compileTestJava UP-TO-DATE
:processTestResources
:testClasses
:test UP-TO-DATE
:check UP-TO-DATE
:build
:launchIPhoneSimulator FAILED

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':launchIPhoneSimulator'.

    Failed to launch IOS Simulator

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 8.07 secs
No @marshaler found for return type of @bridge method <com.bugvm.apple.photos.PHAssetResourceRequestOptions: com.bugvm.objc.block.VoidBlock1 $m$progressHandler(com.bugvm.apple.photos.PHAssetResourceRequestOptions,com.bugvm.objc.Selector)>
20:36:36: External tasks execution finished 'clean build launchIPhoneSimulator'.

Bug in compiler (libimobiledevice)

Don't know if this is the proper place to report this, but I was experimenting with BugVM as a replacement for RoboVM as a libgdx backend and found the following error when trying to run the app on an iOS device (from terminal and using the IntelliJ plugin):

The first time I tried it i got (using gradle):

org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':ios:launchIOSDevice'.
    at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:69)
    at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:46)
    at org.gradle.api.internal.tasks.execution.PostExecutionAnalysisTaskExecuter.execute(PostExecutionAnalysisTaskExecuter.java:35)
    at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:64)
    at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:58)
    at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:52)
    at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:52)
    at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:53)
    at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)
    at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:203)
    at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:185)
    at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.processTask(AbstractTaskPlanExecutor.java:66)
    at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.run(AbstractTaskPlanExecutor.java:50)
    at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor.process(DefaultTaskPlanExecutor.java:25)
    at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter.execute(DefaultTaskGraphExecuter.java:110)
    at org.gradle.execution.SelectedTaskExecutionAction.execute(SelectedTaskExecutionAction.java:37)
    at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:37)
    at org.gradle.execution.DefaultBuildExecuter.access$000(DefaultBuildExecuter.java:23)
    at org.gradle.execution.DefaultBuildExecuter$1.proceed(DefaultBuildExecuter.java:43)
    at org.gradle.execution.DryRunBuildExecutionAction.execute(DryRunBuildExecutionAction.java:32)
    at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:37)
    at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:30)
    at org.gradle.initialization.DefaultGradleLauncher$4.run(DefaultGradleLauncher.java:154)
    at org.gradle.internal.Factories$1.create(Factories.java:22)
    at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:90)
    at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:52)
    at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:151)
    at org.gradle.initialization.DefaultGradleLauncher.access$200(DefaultGradleLauncher.java:32)
    at org.gradle.initialization.DefaultGradleLauncher$1.create(DefaultGradleLauncher.java:99)
    at org.gradle.initialization.DefaultGradleLauncher$1.create(DefaultGradleLauncher.java:93)
    at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:90)
    at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:62)
    at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:93)
    at org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:82)
    at org.gradle.launcher.exec.InProcessBuildActionExecuter$DefaultBuildController.run(InProcessBuildActionExecuter.java:94)
    at org.gradle.tooling.internal.provider.ExecuteBuildActionRunner.run(ExecuteBuildActionRunner.java:28)
    at org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35)
    at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:43)
    at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:28)
    at org.gradle.launcher.exec.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:78)
    at org.gradle.launcher.exec.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:48)
    at org.gradle.launcher.daemon.server.exec.ExecuteBuild.doBuild(ExecuteBuild.java:52)
    at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)
    at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
    at org.gradle.launcher.daemon.server.exec.WatchForDisconnection.execute(WatchForDisconnection.java:37)
    at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
    at org.gradle.launcher.daemon.server.exec.ResetDeprecationLogger.execute(ResetDeprecationLogger.java:26)
    at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
    at org.gradle.launcher.daemon.server.exec.RequestStopIfSingleUsedDaemon.execute(RequestStopIfSingleUsedDaemon.java:34)
    at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
    at org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.call(ForwardClientInput.java:74)
    at org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.call(ForwardClientInput.java:72)
    at org.gradle.util.Swapper.swap(Swapper.java:38)
    at org.gradle.launcher.daemon.server.exec.ForwardClientInput.execute(ForwardClientInput.java:72)
    at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
    at org.gradle.launcher.daemon.server.health.DaemonHealthTracker.execute(DaemonHealthTracker.java:47)
    at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
    at org.gradle.launcher.daemon.server.exec.LogToClient.doBuild(LogToClient.java:66)
    at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)
    at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
    at org.gradle.launcher.daemon.server.exec.EstablishBuildEnvironment.doBuild(EstablishBuildEnvironment.java:72)
    at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)
    at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
    at org.gradle.launcher.daemon.server.health.HintGCAfterBuild.execute(HintGCAfterBuild.java:41)
    at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
    at org.gradle.launcher.daemon.server.exec.StartBuildOrRespondWithBusy$1.run(StartBuildOrRespondWithBusy.java:50)
    at org.gradle.launcher.daemon.server.DaemonStateCoordinator$1.run(DaemonStateCoordinator.java:246)
    at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:54)
    at org.gradle.internal.concurrent.StoppableExecutorImpl$1.run(StoppableExecutorImpl.java:40)
Caused by: org.gradle.api.GradleException: Failed to launch IOS Device
    at com.bugvm.gradle.tasks.IOSDeviceTask.invoke(IOSDeviceTask.java:48)
    at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:75)
    at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.doExecute(AnnotationProcessingTaskFactory.java:227)
    at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:220)
    at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:209)
    at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:585)
    at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:568)
    at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:80)
    at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:61)
    ... 68 more
Caused by: java.lang.UnsatisfiedLinkError: /private/var/folders/p6/ghlmdb6s1fqdgxsj9my51dl80000gp/T/libbugvm-libimobiledevice2549668769138588128.dylib: dlopen(/private/var/folders/p6/ghlmdb6s1fqdgxsj9my51dl80000gp/T/libbugvm-libimobiledevice2549668769138588128.dylib, 1): Library not loaded: /usr/local/opt/gnutls/lib/libgnutls.28.dylib
  Referenced from: /private/var/folders/p6/ghlmdb6s1fqdgxsj9my51dl80000gp/T/libbugvm-libimobiledevice2549668769138588128.dylib
  Reason: image not found
    at com.bugvm.libimobiledevice.NativeLibrary.load(NativeLibrary.java:90)
    at com.bugvm.libimobiledevice.binding.LibIMobileDeviceJNI.<clinit>(LibIMobileDeviceJNI.java:191)
    at com.bugvm.libimobiledevice.binding.StringArrayOut.<init>(StringArrayOut.java:44)
    at com.bugvm.libimobiledevice.IDevice.listUdids(IDevice.java:136)
    at com.bugvm.compiler.target.ios.IOSTarget.createIOSDevLauncher(IOSTarget.java:262)
    at com.bugvm.compiler.target.ios.IOSTarget.createLauncher(IOSTarget.java:152)
    at com.bugvm.compiler.target.AbstractTarget.doLaunch(AbstractTarget.java:490)
    at com.bugvm.compiler.target.ios.IOSTarget.doLaunch(IOSTarget.java:604)
    at com.bugvm.compiler.target.AbstractTarget.launch(AbstractTarget.java:486)
    at com.bugvm.compiler.AppCompiler.launchAsync(AppCompiler.java:827)
    at com.bugvm.compiler.AppCompiler.launch(AppCompiler.java:812)
    at com.bugvm.compiler.AppCompiler.launch(AppCompiler.java:807)
    at com.bugvm.gradle.tasks.IOSDeviceTask.invoke(IOSDeviceTask.java:46)
    ... 76 more

So I installed gnutls using brew (brew install gnutls), expecting to solve the problem. The error remained...

I forced the gnutls recipe to use the latest gnutls 3.3 I could find on the homebrew github (since the referenced library name is /usr/local/opt/gnutls/lib/libgnutls.28.dylib, which is available in the 3.3 version of gnutls and not in the 3.4 version). The error disappeared, but now I get a NoClassDefFoundError: could not initialize class com.robovm.libimobiledevice.binding.LibIMobileDevice which probably means that there still is an error while initializating the native libimobiledevice library.

I'm wondering if anyone can point me in the right direction to solve this...

Personally I think that if the native libimobiledevice library depends so critically on this (gnutls) library, it should be included within the bugvm-sdk, to ensure it's (a) always available and (b) the proper version?

Can't run on device

I can't run on device in idea, android studio, and bugvm studio

For clear experiment i create new project on gdx-setup.jar and replace config

I do this:
1 connect iphone
2 create bugvm project config
image
3 push green triangle to run

On first compile i get this error
`[ERROR] Couldn't start application
java.lang.UnsatisfiedLinkError: /Users/ushkoigor/Library/Caches/BugVMStudio1.0/tmp/libbugvm-libimobiledevice608653038196383825.dylib: dlopen(/Users/ushkoigor/Library/Caches/BugVMStudio1.0/tmp/libbugvm-libimobiledevice608653038196383825.dylib, 1): Library not loaded: /usr/local/opt/gnutls/lib/libgnutls.28.dylib
Referenced from: /Users/ushkoigor/Library/Caches/BugVMStudio1.0/tmp/libbugvm-libimobiledevice608653038196383825.dylib
Reason: image not found
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1938)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1821)
at java.lang.Runtime.load0(Runtime.java:809)
at java.lang.Runtime.load(Runtime.java:797)
at com.bugvm.libimobiledevice.NativeLibrary.load(NativeLibrary.java:90)
at com.bugvm.libimobiledevice.binding.LibIMobileDeviceJNI.(LibIMobileDeviceJNI.java:191)
at com.bugvm.libimobiledevice.binding.StringArrayOut.(StringArrayOut.java:44)
at com.bugvm.libimobiledevice.IDevice.listUdids(IDevice.java:136)
at com.bugvm.compiler.target.ios.IOSTarget.createIOSDevLauncher(IOSTarget.java:262)
at com.bugvm.compiler.target.ios.IOSTarget.createLauncher(IOSTarget.java:152)
at com.bugvm.compiler.target.AbstractTarget.doLaunch(AbstractTarget.java:490)
at com.bugvm.compiler.target.ios.IOSTarget.doLaunch(IOSTarget.java:602)
at com.bugvm.compiler.target.AbstractTarget.launch(AbstractTarget.java:486)
at com.bugvm.compiler.AppCompiler.launchAsync(AppCompiler.java:827)
at com.bugvm.idea.running.BugVmRunProfileState.executeRun(BugVmRunProfileState.java:65)
at com.bugvm.idea.running.BugVmRunProfileState.startProcess(BugVmRunProfileState.java:109)
at com.intellij.execution.configurations.CommandLineState.execute(CommandLineState.java:80)
at com.bugvm.idea.running.BugVmRunner.doExecute(BugVmRunner.java:79)
at com.intellij.execution.runners.GenericProgramRunner$1.execute(GenericProgramRunner.java:43)
at com.intellij.execution.impl.ExecutionManagerImpl$5.run(ExecutionManagerImpl.java:367)
at com.intellij.openapi.project.DumbServiceImpl.runWhenSmart(DumbServiceImpl.java:144)
at com.intellij.execution.impl.ExecutionManagerImpl$4.run(ExecutionManagerImpl.java:334)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:873)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:662)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:397)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

[WARNING] warning: no debug symbols in executable (-arch armv7)`

But next time i get
`[ERROR] Couldn't start application
java.lang.NoClassDefFoundError: Could not initialize class com.bugvm.libimobiledevice.binding.LibIMobileDeviceJNI
at com.bugvm.libimobiledevice.binding.StringArrayOut.(StringArrayOut.java:44)
at com.bugvm.libimobiledevice.IDevice.listUdids(IDevice.java:136)
at com.bugvm.compiler.target.ios.IOSTarget.createIOSDevLauncher(IOSTarget.java:262)
at com.bugvm.compiler.target.ios.IOSTarget.createLauncher(IOSTarget.java:152)
at com.bugvm.compiler.target.AbstractTarget.doLaunch(AbstractTarget.java:490)
at com.bugvm.compiler.target.ios.IOSTarget.doLaunch(IOSTarget.java:602)
at com.bugvm.compiler.target.AbstractTarget.launch(AbstractTarget.java:486)
at com.bugvm.compiler.AppCompiler.launchAsync(AppCompiler.java:827)
at com.bugvm.idea.running.BugVmRunProfileState.executeRun(BugVmRunProfileState.java:65)
at com.bugvm.idea.running.BugVmRunProfileState.startProcess(BugVmRunProfileState.java:109)
at com.intellij.execution.configurations.CommandLineState.execute(CommandLineState.java:80)
at com.bugvm.idea.running.BugVmRunner.doExecute(BugVmRunner.java:79)
at com.intellij.execution.runners.GenericProgramRunner$1.execute(GenericProgramRunner.java:43)
at com.intellij.execution.impl.ExecutionManagerImpl$5.run(ExecutionManagerImpl.java:367)
at com.intellij.openapi.project.DumbServiceImpl.runWhenSmart(DumbServiceImpl.java:144)
at com.intellij.execution.impl.ExecutionManagerImpl$4.run(ExecutionManagerImpl.java:334)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:873)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:662)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:397)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

[WARNING] warning: no debug symbols in executable (-arch armv7)`

I push my sample to https://github.com/igorushko/libgdxBugVm

I can run on sumulator, i can create IPA and upload it to app store, but i can't run test build on device - it is critical for the development

i try arm64 it does not affect

i try iPhone 5 and iPhone 6p

thread https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!msg/bugvm/tIl4NCJYiEM/6kRQ8KV-AAAJ

Concentrating robovm fork effort

Hi,

Some people (me & others) think it would be wise to concentrate all robovm fork effort on a single project. See FlexoVM/flexovm#4

Since bugvm seems to be the most active and up to date robovm fork, we thought it might be interesting to concentrate effort here. So the question is, are you ok with bugvm being further maintained/developed as a general purpose robovm fork (and are you ok with me & others helping where possible?) or do you want it to be more of a ios/mac centric prodct?

libgdx compatibility

I think it's great that you have included support for using this as a backend for libgdx, but I have a question. There are a few libgdx plugins that depend on native components (for example box2d and freetype). These native components are implemented using the robovm structure inside their jar files (for example gdx-freetype-platform-1.9.2-natives-ios is structured as:

META-INF/MANIFEST.MF
META-INF/robovm/ios/robovm.xml
META-INF/robovm/ios/libs/libgdx-freetype.a
META-INF/robovm/tvos/robovm.xml
META-INF/robovm/tvos/libs/libgdx-freetype.a

I don't need or expect the tvos part to work, but I was wondering if (and how) we could get the ios part to work.

Browsing through the sources I noticed that bugvm has support for loading and using "bugvm.xml" files from jar dependencies (in a similar way robovm does it) but since there are already a few robovm based native libraries around that use the robovm structure shouldn't bugvm support both (ie. the new (META-INF/bugvm/bugvm.xml) and the old (META-INF/robovm/robovm.xml)) structure (at least until the various developers have had the time to change their jar files from using robovm to using bugvm)?

Building llvm fails on Linux

Building llvm fails with error

...
HEAD is now at aceb47b... Convert test to llvm-readobj. NFC.
[ 55%] Performing patch step for 'extllvm'
patching file lib/DebugInfo/DWARFContext.cpp
patching file lib/CodeGen/LexicalScopes.cpp
patching file lib/CodeGen/AsmPrinter/DwarfDebug.cpp
patching file lib/CodeGen/AsmPrinter/AsmPrinter.cpp
patching file lib/Target/AArch64/AArch64FrameLowering.cpp
patching file lib/Target/ARM/ARMFrameLowering.cpp
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/tools/clang/tools/libclang/CMakeLists.txt b/tools/clang/tools/libclang/CMakeLists.txt
|index f1c3f4c..92390be 100644
|--- a/tools/clang/tools/libclang/CMakeLists.txt
|+++ b/tools/clang/tools/libclang/CMakeLists.txt
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
CMakeFiles/extllvm.dir/build.make:98: recipe for target 'extllvm-prefix/src/extllvm-stamp/extllvm-patch' failed
make[2]: *** [extllvm-prefix/src/extllvm-stamp/extllvm-patch] Error 1
CMakeFiles/Makefile2:141: recipe for target 'CMakeFiles/extllvm.dir/all' failed
make[1]: *** [CMakeFiles/extllvm.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
linux-x86_64 build failed

fatal error: 'openssl/ssl.h' file not found

[ 80%] Performing build step for 'extlibimobiledevice'
Making all in common
CC debug.lo
In file included from debug.c:36:
../src/idevice.h:30:10: fatal error: 'openssl/ssl.h' file not found

include <openssl/ssl.h>

     ^

1 error generated.

PlayN Support

BugVM backend was committed to PlayN.
It would be interesting to know how BugVM is used and also to learn what PlayN can do.

Building llvm fails on Ubuntu 14.04

I tried to build bugvm/llvm but results with errors.

$ /path/to/bugvm/llvm/build.sh
...
/path/to/bugvm/llvm/target.llvm/build/linux-x86_64/extllvm-prefix/src/extllvm/include/llvm/ADT/StringRef.h:343:19: error: ‘enable_if’ in namespace ‘std’ does not name a type
/path/to/bugvm/llvm/target.llvm/build/linux-x86_64/extllvm-prefix/src/extllvm/include/llvm/ADT/StringRef.h:343:28: error: expected unqualified-id before ‘<’ token
/path/to/bugvm/llvm/target.llvm/build/linux-x86_64/extllvm-prefix/src/extllvm/include/llvm/ADT/StringRef.h:354:19: error: ‘enable_if’ in namespace ‘std’ does not name a type
/path/to/bugvm/llvm/target.llvm/build/linux-x86_64/extllvm-prefix/src/extllvm/include/llvm/ADT/StringRef.h:354:28: error: expected unqualified-id before ‘<’ token
/path/to/bugvm/llvm/target.llvm/build/linux-x86_64/extllvm-prefix/src/extllvm/include/llvm/ADT/StringRef.h: In constructor ‘llvm::StringRef::StringRef()’:
...
make[5]: *** [lib/Support/CMakeFiles/LLVMSupport.dir/APFloat.cpp.o] Error 1
make[4]: *** [lib/Support/CMakeFiles/LLVMSupport.dir/all] Error 2
make[3]: *** [all] Error 2
make[2]: *** [extllvm-prefix/src/extllvm-stamp/extllvm-build] Error 2
make[1]: *** [CMakeFiles/extllvm.dir/all] Error 2
make: *** [all] Error 2
linux-x86_64 build failed
  • Environment:
    • Ubuntu 14.04
    • gcc/g++ 4.7.3
    • cmake: 2.8.12.2

I found that adding -std=c++11 flag fixes the problem, but I'm not sure if this is correct.

bugvm/llvm/CMakeLists.txt L:45

set(C_CXX_FLAGS "${C_CXX_FLAGS} -fvisibility=hidden -fdata-sections -ffunction-sections -std=c++11")

IOS_MIN_VERSION

I would like to build an app on a 5.1.1 system, so I am happy to see you have reduced the IOS_MIN_VERSION from 6.0 to 5.1.1 in vm/CMakeLists.txt.

In compiler/src/main/java/com/bugvm/compiler/target/ios/IOSTarget.java lies the generation of the Info.plist file which will receive a MinimumOsVersion attribute of 6.0 by default. Can that be changed to 5.1.1 too?

Import bugvm project gradle into intellij idea platform.

Hi Friends especially @ibinti :)

when i am importing my bugvm project into intellij it says "Unlinked gradle project - import gradle project"
When i import it it giving error. I think i cant find some urls. My build.gradle file is here

`buildscript {

ext {
    appName = "snopdog"
    gdxVersion = '1.7.1'
    bugVMVersion = '1.9.1-SNAPSHOT'
    box2DLightsVersion = '1.4'
    ashleyVersion = '1.6.0'
    aiVersion = '1.6.0'
}

repositories {
    mavenCentral()
    maven { url "https://oss.sonatype.org/content/repositories/snapshots/ai/api/sdk/" }
}
dependencies {
    classpath 'com.android.tools.build:gradle:1.2.3'
    classpath 'com.bugvm:bugvm-gradle-plugin:$bugVMVersion'
}

}

allprojects {
apply plugin: "eclipse"
apply plugin: "idea"

version = '1.0'


repositories {
    mavenCentral()
    maven { url "https://oss.sonatype.org/content/repositories/snapshots/ai/api/sdk/" }
    maven { url "https://oss.sonatype.org/content/repositories/releases/ai/api/sdk/" }
}

}

project(":desktop") {
apply plugin: "java"

dependencies {
    compile project(":core")
    compile "com.badlogicgames.gdx:gdx-backend-lwjgl:$gdxVersion"
    compile "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-desktop"
    compile "com.badlogicgames.gdx:gdx-box2d-platform:$gdxVersion:natives-desktop"
}

}

project(":android") {
apply plugin: "android"

configurations { natives }

dependencies {
    compile project(":core")
    compile "com.badlogicgames.gdx:gdx-backend-android:$gdxVersion"
    natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-armeabi"
    natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-armeabi-v7a"
    natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-x86"
    compile "com.badlogicgames.gdx:gdx-box2d:$gdxVersion"
    natives "com.badlogicgames.gdx:gdx-box2d-platform:$gdxVersion:natives-armeabi"
    natives "com.badlogicgames.gdx:gdx-box2d-platform:$gdxVersion:natives-armeabi-v7a"
    natives "com.badlogicgames.gdx:gdx-box2d-platform:$gdxVersion:natives-x86"
}

}

project(":ios") {
apply plugin: "java"
apply plugin: "bugvm"

dependencies {
    compile project(":core")
    compile "com.bugvm:bugvm-rt:$bugVMVersion"
    compile "com.bugvm:bugvm-cocoatouch:$bugVMVersion"
    compile "com.badlogicgames.gdx:gdx-backend-bugvm:$gdxVersion"
    compile "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-ios"
    compile "com.badlogicgames.gdx:gdx-box2d-platform:$gdxVersion:natives-ios"
}

}

project(":core") {
apply plugin: "java"

dependencies {
    compile "com.badlogicgames.gdx:gdx:$gdxVersion"
    compile "com.badlogicgames.gdx:gdx-box2d:$gdxVersion"
}

}

tasks.eclipse.doLast {
delete ".project"
}`

image

[ERROR] Couldn't compile app

[ERROR] Couldn't compile app
com.bugvm.compiler.CompilerException: Main class com.mycompany.myapp.Main not found
at com.bugvm.compiler.AppCompiler.getRootClasses(AppCompiler.java:268)
at com.bugvm.compiler.AppCompiler.compile(AppCompiler.java:450)
at com.bugvm.compiler.AppCompiler.build(AppCompiler.java:767)
at com.bugvm.idea.compilation.BugVmCompilerThread.doCompile(BugVmCompilerThread.java:60)
at com.bugvm.idea.compilation.BugVmCompilerThread.run(BugVmCompilerThread.java:66)

BugVM needs a new method to launch Simulator.

Existing ios-sim does not work with Xcode 8.
There are at least two known ways to get the simulator working. One is https://github.com/multi-os-engine/moe-ios-simulator-launcher and the other is https://github.com/phonegap/ios-sim.

First one uses similar approach with exiting ios-sim in Xcode project, whereas the second one uses wrapper around Xcode tool simctl with javascript.

Neither methods are attractive to me, though.

It would be nice to use bugvm-sim.

Simplest cannot be compiled

When I compile my really simple & plain example project, I get this

✔ ~/my/project/loxal/bugvm-template-project [master|●71✚ 18…2] 
16:47 $ gradle clean build createIPA launchIPhoneSimulator 
:clean
:compileJava
warning: [options] bootstrap class path not set in conjunction with -source 1.7
/Users/alex/my/project/loxal/bugvm-template-project/src/main/java/net/loxal/example/ios/HelloWorld.java:27: error: cannot access ObjCProtocol
public class HelloWorld extends UIApplicationDelegateAdapter {
       ^
  class file for com.bugvm.objc.ObjCProtocol not found
/Users/alex/my/project/loxal/bugvm-template-project/src/main/java/net/loxal/example/ios/view/RootViewController.java:27: error: cannot access ObjCObject
public class RootViewController extends UIViewController {
       ^
  class file for com.bugvm.objc.ObjCObject not found
warning: Supported source version 'RELEASE_6' from annotation processor 'org.sonatype.guice.bean.scanners.index.SisuIndexAPT6' less than -source '1.7'
/Users/alex/my/project/loxal/bugvm-template-project/src/main/java/net/loxal/example/ios/HelloWorld.java:30: error: method main in class UIApplication cannot be applied to given types;
        UIApplication.main(args, null, HelloWorld.class);
                     ^
  required: String[],Class<P>,Class<D>
  found: String[],<null>,Class<HelloWorld>
  reason: inference variable D has incompatible upper bounds NSObject,UIApplicationDelegate
  where P,D are type-variables:
    P extends UIApplication declared in method <P,D>main(String[],Class<P>,Class<D>)
    D extends NSObject,UIApplicationDelegate declared in method <P,D>main(String[],Class<P>,Class<D>)
/Users/alex/my/project/loxal/bugvm-template-project/src/main/java/net/loxal/example/ios/HelloWorld.java:34: error: method does not override or implement a method from a supertype
    @Override
    ^
/Users/alex/my/project/loxal/bugvm-template-project/src/main/java/net/loxal/example/ios/HelloWorld.java:37: error: incompatible types: RootViewController cannot be converted to UIViewController
        window.setRootViewController(new RootViewController());
                                     ^
/Users/alex/my/project/loxal/bugvm-template-project/src/main/java/net/loxal/example/ios/view/RootViewController.java:31: error: cannot find symbol
        final UIView view = getView();
                            ^
  symbol:   method getView()
  location: class RootViewController
Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output
4 errors
1 warning
:compileJava FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':compileJava'.
> Compilation failed; see the compiler error output for details.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 3.603 secs

Console App

It would be nice if the hello world example runs on OS X.

random event: [ERROR] Couldn't compile app

[ERROR] Couldn't compile app
java.lang.NullPointerException
at com.bugvm.compiler.Linker.link(Linker.java:205)
at com.bugvm.compiler.AppCompiler.compile(AppCompiler.java:464)
at com.bugvm.compiler.AppCompiler.build(AppCompiler.java:767)
at com.bugvm.idea.compilation.BugVmCompilerThread.doCompile(BugVmCompilerThread.java:60)
at com.bugvm.idea.compilation.BugVmCompilerThread.run(BugVmCompilerThread.java:66)

default run configurations

It would be nice if device, iPhone-4s, iPhone-5, iPad, etc are there in the run configuration upon project creation.

No @StructMember(4) defined in class com.bugvm.apple.foundation.VectorInt4

A Gradle build terminates with

23:43:41: Executing external tasks 'clean build launchIPhoneSimulator'...
:clean
warning: Supported source version 'RELEASE_6' from annotation processor 'org.sonatype.guice.bean.scanners.index.SisuIndexAPT6' less than -source '1.8'
1 warning
:compileJava
:processResources
:classes
:jar
:assemble
:compileTestJava UP-TO-DATE
:processTestResources
:testClasses
:test UP-TO-DATE
:check UP-TO-DATE
:build
:launchIPhoneSimulator FAILED

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':launchIPhoneSimulator'.

    Failed to launch IOS Simulator

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 6.017 secs
No @StructMember(4) defined in class com.bugvm.apple.foundation.VectorInt4
23:43:50: External tasks execution finished 'clean build launchIPhoneSimulator'.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.