Installing WinDbg 32-bit on a 64-bit system - windbg

I've installed WinDBG on Windows 7 64-bit, however, I want to install the 32 bit version, not the 64 bit version.
I found this link on the internet:
https://social.msdn.microsoft.com/forums/windowsdesktop/en-us/cd004535-75f1-48ee-9176-574b344ddce1/how-to-install-windbg-32bit-on-64bit-system
Following the accepted answer, I do not have that path on my computer.
I have:
C:\Program Files\Microsoft SDKs\Windows\v7.1\Redist
However, there is no "Debugging Tools for Windows" folder in that direcotry like the answer says, only the VC folder. WinDBG is installed and working.
What can I do? Thanks.

You could download Windows SDK ISO file (https://msdn.microsoft.com/en-us/windows/desktop/bg162891.aspx) and install 32bit version from there. Also you could use !wow64exts.sw command to debug win32 process or dump using x64 version.

Related

How to compile something using arm-none-eabi-gcc on windows

I am trying to build a project for a raspberry pi 4, using windows 10 as the building platform, I have the compiler installed, arm-none-eabi-gcc however every piece of information I've learned about it relates to how to run it on a linux machine, and I don't really want to run a vm just to load the linux environment, so how do I run the compiler on windows 10, Do I run it from Cmd? or is there a different method to do this?
You could check this PreBuilt GNU Toolchain for building natively on Win10.
Otherwise you could also setup a WSL environment in your win10, then you would also be able use any linux toolchains.
You can download the IDE DS-5 Community Edition
https://developer.arm.com/tools-and-software/embedded/legacy-tools/ds-5-development-studio/editions/community-edition
You can download the toolchains:
https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/gnu-a/downloads
Then follow the steps in this tutorial:
https://developer.arm.com/tools-and-software/embedded/legacy-tools/ds-5-development-studio/resources/tutorials/getting-started-with-ds-5-ce-and-armv8-foundation-platform
https://community.arm.com/developer/tools-software/tools/b/tools-software-ides-blog/posts/running-bare-metal-software-on-the-raspberry-pi-3-using-arm-ds-5
You should have the arm-none-eabi-gcc.exe for Windows Compile.
Also, you have the linux environment like MinGW and use installed terminal(xterm).
then, you have to copy the .so files into MinGW /lib or /usr/lib folder under C:/MinGW.
Hope this would be helpful for you.

Talend Installtion on Ubuntu

I would like to install Talend Open Studio on Ubuntu 18.04 LTS, but the Talend website shows only download options for Windows and Mac only. Where do I find the Linux version?
If you download the Windows version, you should receive a zip file. The zip file should contain binaries for both Windows and Linux. To start the Studio on Linux, just run the bash script contained within.
I'm not sure why they don't label the download as Windows and Linux, hopefully they fix that at some point to make it a little clearer.
I was able to download zip file here:
https://sourceforge.net/projects/talend-studio/files/latest/download

Where can I install G++/GCC for windows 8?

Newbie programmer here, I'm getting an error when using Eclipse saying
"G++/GCC not found in path"
So apparently I need a compiler? I need a download link to g++ since I can't find it anywhere on the web.. I went on to GNU collection's website but there is NO download link for G++,
thanks.
The usual resources would be MinGW (32-bits) or MinGW-W64 (64-bits). Start with these links
MinGW-w32 vs. MinGW
MinGW — Minimalist GNU for Windows
MinGW-w64 - for 32 and 64 bit Windows (Since the mingw-w64 project on sourceforge.net is moving to mingw-w64.org i suggest to use mingw-w64.org)
mingw-w64 — GCC for Windows 64 & 32 bits

MCR is not working on windows 7 professional

I have compiled and standalone application using MATLAB (32-bit windows 7 ultimate).
even though I have installed MCR of required version on target PC (32-bit windows 7 professional) my application is not working. (installation path C:\Program Files\MATLAB\MATLAB Compiler Runtime)
Note: on other windows 7 Ultimate 32-bit system my application is working fine
That message is indicating that it cannot find the path - I know you said that the path is set correctly.
However I would try setting the PATH variable manually in a dos prompt and then run the exe and see if it will launch.

Can't install PostgreSQL: An error occurred executing the Microsoft VC++ runtime installer on Windows XP

I downloaded installer postgresql-9.0.1-1-windows.exe from the official site, ran it, and then got an error:
An error occurred executing the Microsoft VC++ runtime installer
What is the reason for this error message?
Platform: Windows XP SP3, Dell Inspiron 1501. Processor: AMD Sempron 3500+
One of the reasons this can happen is because the installer attempts to install an older version of the VC++ runtime than what you are currently using.
See this installation log, found in your user's temporary directory (e.g. dd_vcredist_amd64_20190214193107.log):
[20C0:20E4][2019-02-14T19:31:07]e000: Error 0x80070666: Cannot install a product when a newer version is installed.
A workaround is to prevent the runtimes from installing with the --install_runtimes option:
postgresql-9.6.12-1-windows-x64.exe --install_runtimes 0
Create a shortcut of the downloaded file:
Right click of the shortcut → Properties → Shortcut. Add --install_runtimes 0 to the end of the file path:
Create a shortcut of your EXE file;
right click on the shortcut → add --install_runtimes 0 at the end of the target path, e.g.:
postgresql-9.3.1-1-windows-x64.exe --install_runtimes 0
save and run it :)
I was having a similar issue and found a fix that worked for me from Garrett_H in this forum post:
http://forums.enterprisedb.com/posts/list/1747.page#6180
Go to file %windir%\inf\wsh.inf, right click and select 'Install'
re-run postgresql installer
I'm running Windows XP Pro, and I was trying to install postgresql-8.3.17-1-windows.exe. I originally received the following error:
An error occurred executing the Microsoft C++ runtime installer.
First download and install Microsoft Visual C++ from the Microsoft website. Then run the installation from command with --install_runtimes 0.
In my case, when I was installing postgresql-11.0-1-windows-x64.exe on Windows 10, I had faced the same problem.
I just uninstalled the Microsoft Visual C++ Redistributable (the latest one for both 32 and 64 bit) and then tried to install postgresql-11.0-1-windows-x64.exe again, and it worked for me.
I too faced the same issue. I fixed it in the following way:
I visited the below site:
https://www.enterprisedb.com/downloads/postgres-postgresql-downloads
Choose the Download button under PostgreSQL Version 11.1 for Windows x86-64.
In one word, just try to install the latest version.
Try installing as administrator (using Run as administrator).
In version 9.0. PostgreSQL can be installed as a Windows administrator :)
Check if Windows Script Host (WSH) is enabled. If not enabled, details are here: PostgreSQL Installation Problem on Windows without WSH
Take special care that your Windows user's folder name does not contain spaces. PostgreSQL (as of version 9.2.2.1) handles that poorly. If I use this account on Windows XP, installation fails with the "An error occurred executing the Microsoft C++ runtime installer" message:
"C:\Documents and settings\Jimmy (admin)"
But it runs just fine with this:
"C:\Documents and settings\Jimmy-admin"
The spaces in "Documents and settings" don't seem to bother the installer. Go figure.
Go to file %windir%\inf\wsh.inf, right click, and select 'Install'.
Then re-run the PostgreSQL installer.
This works on Windows XP with PostgreSQL 8.4.17-1.
Windows Script Host (WSH) is unable to execute VBScript scripts. This can occur if the scripting host is disabled (which is unusual), or if the installation is broken. A sign of this problem is a message like
CScript Error: Can't find script engine "VBScript" for script "C:....
It can often be resolved by re-registering the VBScript interpreter, click Start * → * Run and enter the following and click OK:
regsvr32 %systemroot%\system32\vbscript.dll
I had the same problem while trying to install PostgreSQL version 11.1. I had to uninstall the Microsoft VC++ and run the installer again. It downloaded the required VC++ and the installation went successful.
I had these same problems and tried
manually installing MS VC++
bypassing VC++ installation on postgres
fixing windows update service
Still unsuccessful
Then I solved these problem by installing postgres manually:
extract the PostgreSQL installation contents to C:\PostgreSQL (you can copy from successful installation on other machines)
add C:\PostgreSQL\bin to PATH environment
run pg_ctl register -D D:\pgdata -N postgresql -U postgres -P <your postgres password>