mxe cross compiling for windows ... where are stdout messages? - g++

I'm cross compiling a basic C++ Windows XP console application from my Debian host system using MXE (i686-pc-mingw32-g++). When running it on my Debian system (thanks to Wine), I can see the stdout output on the console. But if I run the same executable on Windows XP, from Windows console, I don't see my stdout output ... (using printf function).

Related

Uncaught error from thread shutting down JVM since 'akka.jvm-exit-on-fatal-error' is enabled for ActorSystem

I am running an assembly jar file in command prompt and getting the exception below. And resulting in termination.
Uncaught error from thread [ccp-akka.persistence.dispatchers.default-plugin-dispatcher-23] shutting down JVM since 'akka.jvm-exit-on-fatal-error' is enabled for ActorSystem[ccp]
There is nothing else running in my windows machine while this.
No code access is there except a jar file.
What might be the issue, i tried restarting the machine a couple of times.
Looks like the issue is only with my machine since it is running fine in all other machines. Even i cross checked all the environmental variables.
Attached the screenshot.
What it says that there is a missing binary dependency, leveldbjni, which interfaces with native/platform specific version of leveldb.
Adding leveldbjni-all to your dependencies as described in the docs (http://doc.akka.io/docs/akka/2.5.0/scala/persistence.html#id8) should solve that, if it doesn't then maybe the platform is unsupported (which seems weird, the leveldbjni homepage lists both win32 and win64 as supported - https://github.com/fusesource/leveldbjni)
Step1: Go To "C:\Users\asaini75" and Delete already existing folder ".datastax_studio"
Step2: Go To "C:\Users\asaini75\Downloads\datastax-studio-6.0.0\bin" and click on "server" windows batch file and Wait until you see the below message on your command prompt.
Step3: Go To browser and hit the URL "http://localhost:9091". You will below the home page.
Step4: Add connection and Notebook. it will work perfectly fine.
I installed the Microsoft Visual C++ 2010 Redistributable for my windows machine, that solved my issue. Reference.
The Microsoft Visual C++ 2010 Redistributable Package installs runtime components of Visual C++ Libraries required to run applications developed with Visual C++ on a computer that does not have Visual C++ 2010 installed.
Download link here (x64).

MDAC Error on Windows XP - Deploy Vb.net

I am trying to deploy a VB.Net application using the built in Click Once.
When a User tries to install the application they receive the following error message.
http://i.imgur.com/6ifvdKM.png
The machines they are trying to install to are Windows XP SP3 so I cant understand why I am getting this error.
Any help would be appreciated.
You should try the following steps:
Compile your program and copy the whole bin\Release folder (output directory) to the target system. Does your program run if it's not distributed via ClickOnce?
Build a simple "Hello World!" program and distribute it via ClickOnce. Can this basic app be installed on the target system by running the ClickOnce installer?
Even though this should not be a problem on any system running a later Version of Windows than Win2k, have your tried to just install Microsoft Data Access Components (MDAC) 2.8 SP1?
By doing so, you should be able to determine if your issue is either ClickOnce- or Application-related.

How to make c++builder run with g++?

I am learning how to do socket programming, my tutorial is for Unix, so I need to use cygwin, but it's not handy to run code from prompt bash for me, so if anyone knows, please tell me how to make Embarcadero RAD Studio XE3 for Windows run with g++
You cannot. C++builder XE3 generates executables for:
Windows using the VCL
Windows using the firemonkey framework
Windows console applications
OSX using the firemonkey framework
XE4 will generate executables for iOS as well.
However XE3 will not generate console applications that run on Unix.
Cygwin is a framework that allows unix console applications to run under Windows.
It only accepts Unix applications to run inside it.
If you want to write a unix console app, you'll have to compile your c++ code in a compiler that supports it, like gcc.

How to know which .net framework is required for my program?

I devoloped a program for my pharmacy under (windows xp) using (vb 10 express)
i send it to a friend who has a windows 7 computer and it failed to run the program
When i tried to run the program in virtual machine ( windows xp) i found that it required (dotnetfx35.exe) and (dotNetFx40_Full_x86_x64.exe) and run succesfully.
my friend installed
http://www.microsoft.com/en-eg/download/confirmation.aspx?id=17718 and
http://www.microsoft.com/en-us/download/confirmation.aspx?id=1639 and
he was unable to install a 3.5 frame work !!
How do I know what frameworks my application will require when I publish them?
Go to project properties > Application There you see target framework. Target machine should have that version of .Net framework to run the application successfully.

Websphere 8.5 Installation - Windows Vista Administrative Privileges Error on Windows 8

I'm installing WebSphere 8.5 for developers on my local computer, and I'm running into an error message A screenshot and the message is listed below.
http://imgur.com/DBAb4Gm
"To run an application without administrative privileges on the Windows Vista operating >system, you must install the application package into a directory that is not virtualized. >The Program Files directory on Windows Vista is virtualized. To run an application with >administrative privileges after it is installed, right-click the package, and click "Run as >administrator"."
I'm actually on Windows 8 (64-bit), so this is a bit odd. How do I defeat this error?
Hello,
Install it into non virtualized directory (so not into Program Files).
It's always the best to use the shortest path possible, when installing Java based stuff on Windows. I prefer C:\IBM\WebSphere\AppServer etc.
The System requirements page suggests WebSphere Application Server for Developers 8.5.5 being supports Microsoft Windows 8.
WebSphere Application Server 8.5.0.1 seems to have introduced Windows 8 support as well.