Can't run .exe file on another computer - c++

I'm trying to figure out why my application will not run on another windows computer. I have tried to run the exe file on multiple other computers where it starts the application up fine, however, when running it on a Teguar running windows 10, the application throws an exception.
It seems like the problem accurs when I try to use Open3D, since when I don't include Open3D the application can run on the computer. However, the program can still run on all other computers with Open3D included just not on the Teguar.
I have tried to run the exe file through "SimpleProgramDebugger" and here I can see what files are called. This is the files from my own computer where the program runs fine.
Here is an image of the files from the Teguar:
And lastly here is the message on I am given when simply running the application:
Hopefully someone can help with this frustrating problem :)

Related

Error running a program compiled on a different PC

I have written a small program on a PC in VS Code. I have taken 2 files which are source.cpp and exe file to another PC by USB.
At first I got some DLL errors, but I solved these problems. However, I am still getting an error that "Application unable to start correctly error 0x000007b".
I have tried every solution on the internet but the problem still exists. Both PCs are x64. Is there any way to run a program which is taken to another PC?

How Can I send .exe files that will still execute on the recipients computer?

I've written and compiled a program in c++ that does replaces an online calculator for a business. How can I send them this file in a way that will allow them to run the program without downloading a compiler?
I have tried sending the file as a .txt and changing it to a .exe, as well as sharing a google drive.
When I run the program from my own laptop desktop it is successful, but throws the following error message on the recipients laptop:
The code execution cannot proceed because libstdc++-6.dll was not found. Reinstalling the program may fix this problem.
I assume that this is because they do not have the compiler downloaded (I used VSC to write and compile). Is there any way around them downloading VSC and compiling the code themselves?

Code::Blocks program doesn't run properly when run button is hit

I have been compiling and running programs in C++ on Code::Blocks longly but today one of my programs compiled successfully but when I ran the program it returned -12 with time -0.00s. Whenever I write a new program in C++ the program compiles but it doesn't run. Also when I open the executable file created by Code::Blocks in the same directory Windows takes permission from me to allow the executable file to make changes to the computer. I've been trying through the day but I couldn't figure out what could be going wrong.
Also when I tried uninstalling Code::Blocks it didn't uninstall completely and when I opened the Code::Blocks folder in Program Files and tried deleting the folder the folder MinGW couldn't be deleted because Access was denied.
Please help if you could comprehend the problem and have knowledge regarding the issue.

Stand-alone app with wxWidgets

I've got a problem with my app, when it comes to executing it in compiled .exe form. I am new in this and I don't know where the problem is. I already tried to search this problem on Google & this site but nothing what I found helped me.
I am using Code::Blocks IDE with MinGW and wxWidgets 2.8.X installed.
Everything works fine inside IDE, but when I try to run it as exe - already compiled - I get an error like this:
The program can not start because the computer is missing wxmsw28u_gcc_custom.dll.
Try to solve this problem by reinstalling the program.
When I copy this .dll file right next to my .exe then it will execute without any errors.
Any clues how to fix it ? I guess it's easy to fix but I really don't know how ...
It needs the DLL file to execute. You can either ship that with your app, or compile wxWidgets as a static library, so that it will be shipped in your .exe file (thus making it bigger).

C++ Cygwin compiled file (.exe file) not being found

I'm using Cygwin to compile and run my c++ files. I have already been able to run my files on this computer (just working yesterday), but today I started my computer and tried doing it again, but now it is not working.
When I compile my file, the .exe file (that was working and saved yesterday in the same folder) shows up for a couple of seconds (while the terminal loads the next line of command) then, the .exe file disappears when the terminal brings up the next line of the command prompt.
I have been searching for a fix but can't seem to find a solution, any ideas on what I can do?
I will wait some time and update the post if anything else happens.