neko and windows compiled targets not showing up - haxe

I compile an openfl project from flashdevelop to neko.
It says "Build successful" but I donĀ“t get a neko window or anything.
I see the .exe in my task manager but where is it?
Same happens for windows target.
flash, html, android, they all work.

Related

How to compile Winsock Control 6.0 on VB6 in Windows 10?

When trying to compile in the "Winsock Control" component on Windows 10, I get this error:
mswinsck.ocx could not be loaded
Notably, I have installed VB6 SP6, and with SP6 it works great on Windows 8.1 and Windows 7, but it won't compile on Windows 10.
Also notably, the compiled .exe, when compiled from Win7/8, has no problem loading ws2_32.dll. It's just the compiling step that doesn't work on Win10.
Running Dependency Walker, depends.exe suggests mswinsck.ocx can't be loaded because it's depending on API-MS-WIN-CORE-SYNCH-L1-2-0.DLL and API-MS-WIN-CORE-PROFILE-L1-1-0.DLL and API-MS-WIN-CORE-PROCESSTHREADS-L1-1-0.DLL and a bunch of other DLLs with similar names (I think these DLLs have something to do with SysWOW64), which can't be found:
Does anyone know how to compile in "Winsock Control" in VB6 on Win10?
(Also notably, it seems the MSFlexGrid component is un-compilable on Win10 in a similar fashion, but this question is about the WinSock control, not MSFlexGrid).
EDIT: additional info: I have installed "VB6 Service Pack 6", VB version is "Version 9782 VBA retail 6.0.9782", and the version on the mswinsck.ocx file itself is 6.1.97.82 (and thanks to the comments, I know a newer one exists: 6.1.98.16)
I have run into this problem often on Windows 10 machines and resolved it by unregistering and re-registering each OCX using an elevated Command Prompt:
Open a Command Prompt window from the Start Menu by right-clicking it and choosing "Run as administrator". It is important that your Command Prompt window is titled "Administrator: Command Prompt".
Go to SysWOW64 folder by typing cd \Windows\SysWOW64
Unregister OCX by typing regsvr32 -u mswinsck.ocx
Re-register OCX by typing regsvr32 mswinsck.ocx
That usually fixes the problem.
If you use Visual Studio Installer 1.1 to deploy applications, you will probably have the same issue on Windows 10 systems you deploy to. The installer doesn't seem to properly register files. If you use Visual Studio 2019 and the Setup extension, that will build an installer that properly registers the OCX, in my experience.

NDK issues with Studio 3.5.2 on Ubuntu

I am new to NDK. Just upgraded to Android Studio 3.5.2, installed LLDB 3.1.4508709, NDK (Side by side) 21.0.6113669, CMake 3.6.4111459 (BTW, the interface is terrible) on Ubuntu 16.04.
Created a new Native C++ project from template.
Every time I open cpp file, there is a pink message on the top of the window:
Unable to execute Clang-Tidy: Cannot create property=Diagnostics for JavaBean=com.jetbrains.cidr.lang.daemon.clang.tidy.ClangTidyYamlLoader...
The message is too long to fit the window. It happens on Ubuntu only, on Mac the same IDE version works fine.
Everything else seems working ok - building, running/debugging on emulator. Just the message is quite annoying. Any ideas?

How to use the kotlin compiler in command line which comes with Android Studio?

I have Android studio version 3.4.1. I am able to build Android apps with the Kotlin language. I have heard that we can use Kotlin for creating standalone programs other than building android apps.
So, I want to know how to run the Kotlin compiler of Android studio to compile and run Kotlin programs in the command line, without downloading anything else?. I am using Windows 10 Pro.
I'm on Lubuntu 16.04 LTS, not Windows. But maybe this can still help you.
In my Lubuntu, Android Studio put the Kotlin compiler in directory
$HOME/.AndroidStudio3.4/config/plugins/Kotlin/kotlinc/bin .
So on Windows, make your file manager show hidden files and directories - because on Lubuntu, the "." in ".AndroidStudio3.4" means "hidden".
Go to your home or user directory and find a directory named "AndroidStudio3.4" or similar. Then just follow the path given above.
On Lubuntu, kotlinc (the compiler) isn't executable. If it's the same on Windows, give it execution permission.
I can't imagine that giving this permission affects how Kotlin works in Android Studio. But if you want to be on the safe side, install a separate command line compiler or IntelliJ.
By the way, the Kotlin 1.3.40 REPL crashes (s. issue KT-32085). If you need it, use Kotlin 1.3.31 .

Qt c++ projects on another pc

I have built a Qt project on Ubuntu, but when I am running the executable file of the project on windows it prompts with the error:
"This app can't run on your PC".
Why is this happening? what can I do to make my app work?
check out this link for building qt app on windows https://wiki.qt.io/Build_Standalone_Qt_Application_for_Windows

Cygwin + Linux NDK on Windows

I think this sounds strange but it's my situation now.
I have an Android JNI project on Eclipse (Windows), but after my friend 's configuration in his Eclipse on Ubuntu, now the auto-build plugin on my Eclipse couldn't work (It raise the error: ...ld.exe: can not find -l):
**** Build of configuration Default for project TachoPro ****
ndk-build.cmd all
SharedLibrary : libtachometer_core.so
E:/Android/android-ndk-r8b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/ld.exe: cannot find -ltachometer_core_armv7_a_cortex_a9
collect2: ld returned 1 exit status
make: *** [obj/local/armeabi-v7a/libtachometer_core.so] Error 1
**** Build Finished ****
He said that I must download the NDK for Linux then use Cygwin to build. But another error (seems more complex than before) arrives:
http://www.mediafire.com/view/?o0nthcn3hn0b0ix
If you has been through this, please give me some advices... >"<
If you're working on Windows, you have to use the Windows version of the Android NDK, not the Linux.
If you took a configuration file from your friend which points to a linux executable, you need to fix that. only that.
can you post the configuration file he gave you ?
read about how to develop with Android and with the NDK, you don't need Cygwin to develop with the NDK under Windows, also Cygwin it's not meant to be an environment for developers ( it's written crystal clear in the project homepage ! ).
I don't know what you 2 are doing but surely it's not Android related or a good use of both Cygwin or Android tools.

Resources