How to create exe release using dev c ++?

I want to build exe to work on another computer. I believe that I found the dll that the program needs and included them in the same directory with the application along with all the files that are loaded when the application starts. First, put the folder on the USB drive, testing it on my PC, and it starts by connecting the USB port to another computer, and the application immediately terminates on another computer. There were no errors with a missing dll or any kind, just turned on and off. Therefore, I decided to try to create exe in release mode, as it was in the past with visual studio, but I can not find such an assembly option in DEV C ++. maybe this is not my problem, although some ideas for me?

+5
source share
2 answers

If you just need a 32-bit copy of gpsvc.dll, you can try to get it from a real 32-bit version of Windows, and then place it with all the other DLL applications that your application uses. However, this is a Windows dll, so I don’t think you really should do this, and it may not end up working anyway. That is, 64-bit Windows may notice this and prevent you from loading the DLL.

"release exe", , Dev ++ Release Debug , Visual Studio IDE. , " ", "", "" . " " "", "". "Strip Executable" "Yes", ​​ , "", "Linker".

make , Dev ++ , , "my_project_release.win". , , , -g, -g3 , . , -s make CXXFLAGS CFLAGS , make . make , " " "Makefile". " ...", makefile, . Debug, make , makefile, .

+1

Ctrl + h ( , ).

:

p > p > (-g3)

"".

dev+++ !

+1

All Articles