When I try to open one of the sample models inside samples folder(C:\Program Files\IBM\ILOG\CPLEX_Studio127\cplex\examples\x64_windows_vs2015\stat_mdas) and try to build it says build is successful but when I want to debug it setting a breakpoint to a line I got the following lines:
'admipex1.exe' (Win32): Loaded 'C:\Windows\System32\apphelp.dll'. Symbols loaded.
'admipex1.exe' (Win32): Loaded 'C:\Windows\System32\ucrtbase.dll'. Symbols loaded.
'admipex1.exe' (Win32): Loaded 'C:\Windows\System32\vcruntime140.dll'. Symbols loaded.
'admipex1.exe' (Win32): Loaded 'C:\Program Files\IBM\ILOG\CPLEX_Studio127\opl\bin\x64_win64\cplex1270.dll'. Module was built without symbols.
'admipex1.exe' (Win32): Loaded 'C:\Windows\System32\advapi32.dll'. Symbols loaded.
'admipex1.exe' (Win32): Loaded 'C:\Windows\System32\msvcrt.dll'. Symbols loaded.
'admipex1.exe' (Win32): Loaded 'C:\Windows\System32\wsock32.dll'. Symbols loaded.
'admipex1.exe' (Win32): Loaded 'C:\Windows\System32\ws2_32.dll'. Symbols loaded.
'admipex1.exe' (Win32): Loaded 'C:\Windows\System32\sechost.dll'. Symbols loaded.
'admipex1.exe' (Win32): Loaded 'C:\Windows\System32\rpcrt4.dll'. Symbols loaded.
'admipex1.exe' (Win32): Loaded 'C:\Windows\System32\kernel.appcore.dll'. Symbols loaded.
The thread 0x62c8 has exited with code 0 (0x0).
The thread 0x3414 has exited with code 0 (0x0).
The thread 0x3ea4 has exited with code 0 (0x0).
The program '[12884] admipex1.exe' has exited with code 0 (0x0).
It seems like Visual Studio 2015 is not supported by any CPLEX version yet.
Try using other Visual Studio versions like 2013 or earlier.
Follow this guide here:
http://www.leandro-coelho.com/how-to-configure-ms-visual-studio-to-use-ibm-cplex-concert/
Related
I am trying to write a simple program. Vs 2019, Windows 10 64bits
Debug->x64
Followed [Configure Visual C++ Projects to Target 64-Bit Platforms][1]
#include <windows.h>
#include "res/resource.h"
#include <iostream>
#include <core_api/lsproject.h>
#include <core_api/lslocalworkspace.h>
#include <plugin_api/lsscenecontext.h>
using namespace SCENE_API;
using namespace std;
#include <Commdlg.h>
int main()
{
LSString filePath;
std::cout << "Hello World!\n";
}
Where [LSString][2] can be found here.
I am getting an error:
The program '[11460] FAPPS.exe' has exited with code -1073741515 (0xc0000135) 'A dependent dll was not found'.
-------------------EDITED--------------------------------------------------
After running the executable in debug mode in visual studio, I am getting
'myfirstapp1.exe' (Win32): Loaded 'E:\VS_Programm\FARO_SCENE\myfirstapp1\x64\Debug\myfirstapp1.exe'. Symbols loaded.
'myfirstapp1.exe' (Win32): Loaded 'C:\Windows\System32\ntdll.dll'.
'myfirstapp1.exe' (Win32): Loaded 'C:\Windows\System32\kernel32.dll'. Symbols loaded.
'myfirstapp1.exe' (Win32): Loaded 'C:\Windows\System32\KernelBase.dll'.
'myfirstapp1.exe' (Win32): Loaded 'C:\Windows\System32\comdlg32.dll'. Symbols loaded.
'myfirstapp1.exe' (Win32): Loaded 'E:\VS_Programm\FARO_SCENE\myfirstapp1\x64\Debug\Core_API.dll'.
'myfirstapp1.exe' (Win32): Loaded 'C:\Windows\System32\msvcrt.dll'. Symbols loaded.
'myfirstapp1.exe' (Win32): Loaded 'C:\Windows\System32\combase.dll'.
'myfirstapp1.exe' (Win32): Loaded 'C:\Windows\System32\ucrtbase.dll'. Symbols loaded.
'myfirstapp1.exe' (Win32): Loaded 'C:\Windows\System32\rpcrt4.dll'.
'myfirstapp1.exe' (Win32): Loaded 'C:\Windows\System32\user32.dll'.
'myfirstapp1.exe' (Win32): Loaded 'C:\Windows\System32\win32u.dll'. Symbols loaded.
'myfirstapp1.exe' (Win32): Loaded 'C:\Windows\System32\bcryptprimitives.dll'. Symbols loaded.
'myfirstapp1.exe' (Win32): Loaded 'C:\Windows\System32\gdi32.dll'. Symbols loaded.
'myfirstapp1.exe' (Win32): Loaded 'C:\Windows\System32\SHCore.dll'. Symbols loaded.
'myfirstapp1.exe' (Win32): Loaded 'C:\Windows\System32\gdi32full.dll'. Symbols loaded.
'myfirstapp1.exe' (Win32): Loaded 'C:\Windows\System32\shlwapi.dll'. Symbols loaded.
'myfirstapp1.exe' (Win32): Loaded 'C:\Windows\System32\msvcp_win.dll'. Symbols loaded.
'myfirstapp1.exe' (Win32): Loaded 'C:\Windows\System32\shell32.dll'.
'myfirstapp1.exe' (Win32): Loaded 'C:\Windows\System32\oleaut32.dll'. Symbols loaded.
'myfirstapp1.exe' (Win32): Loaded 'C:\Windows\System32\cfgmgr32.dll'. Symbols loaded.
'myfirstapp1.exe' (Win32): Loaded 'C:\Windows\System32\windows.storage.dll'.
'myfirstapp1.exe' (Win32): Loaded 'C:\Windows\System32\advapi32.dll'. Symbols loaded.
'myfirstapp1.exe' (Win32): Loaded 'C:\Windows\System32\sechost.dll'. Symbols loaded.
'myfirstapp1.exe' (Win32): Loaded 'C:\Windows\System32\profapi.dll'. Symbols loaded.
'myfirstapp1.exe' (Win32): Loaded 'C:\Windows\System32\powrprof.dll'. Symbols loaded.
'myfirstapp1.exe' (Win32): Loaded 'C:\Windows\System32\umpdc.dll'.
'myfirstapp1.exe' (Win32): Loaded 'C:\Windows\System32\kernel.appcore.dll'. Symbols loaded.
'myfirstapp1.exe' (Win32): Loaded 'C:\Windows\System32\cryptsp.dll'. Symbols loaded.
The thread 0x64c0 has exited with code -1073741515 (0xc0000135).
The thread 0x6604 has exited with code -1073741515 (0xc0000135).
The thread 0x644 has exited with code -1073741515 (0xc0000135).
The program '[25976] myfirstapp1.exe' has exited with code -1073741515 (0xc0000135) 'A dependent dll was not found'.
Before going to complex try repairing your visual studio installation from the vs installer. It worked form. Then try to install the latest SDKs for your platform (x64 for example, be careful) from the official Microsoft website. I apologize for my terrible english. Greetings from Italy. 😉😁
Try to Run your executable in debug mode in visual studio. It prints the library its trying to load .
I have a problem with UWP and Visual Studio 2015 Pro. I created a Visual C++ UWP app and I just wanna to send requests to a server. This code compiles good, but when Studio starts the application, I get this error:
Unable to activate Windows Store app 'Package Name'. The App5.exe
process started, but the activation request failed with error 'The app
didn't start'.
I found this problem on Microsoft's forum and on Stackoverflow too, but this solutions doesn't help me! I tried restore developer mode and license, tried reinstalling Visual Studio (VS 2017 Community has the problem too), tried reinstalling app, and create new project too. Same results.
But Console Application works good!
How I can fix this problem? Thanks!
UPD:
In Debug/Output i have:
'App1.exe' (Win32): Loaded 'C:\Users\Alex\Documents\Visual Studio 2015\Projects\App1\Debug\App1\AppX\App1.exe'. Symbols loaded.
'App1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ntdll.dll'. Symbols loaded.
'App1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\kernel32.dll'. Symbols loaded.
'App1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\KernelBase.dll'. Symbols loaded.
'App1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\combase.dll'. Symbols loaded.
'App1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ucrtbase.dll'. Symbols loaded.
'App1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\rpcrt4.dll'. Symbols loaded.
'App1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\sspicli.dll'. Symbols loaded.
'App1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\cryptbase.dll'. Symbols loaded.
'App1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\bcryptprimitives.dll'. Symbols loaded.
'App1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\sechost.dll'. Symbols loaded.
'App1.exe' (Win32): Loaded 'C:\Program Files\WindowsApps\Microsoft.VCLibs.140.00.Debug_14.0.24210.0_x86__8wekyb3d8bbwe\vccorlib140d_app.dll'. Symbols loaded.
'App1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\oleaut32.dll'. Symbols loaded.
'App1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msvcp_win.dll'. Symbols loaded.
'App1.exe' (Win32): Loaded 'C:\Program Files\WindowsApps\Microsoft.VCLibs.140.00.Debug_14.0.24210.0_x86__8wekyb3d8bbwe\msvcp140d_app.dll'. Symbols loaded.
The thread 0x25bc has exited with code -1073741515 (0xc0000135).
The thread 0x20b8 has exited with code -1073741515 (0xc0000135).
The program '[8128] App1.exe' has exited with code -1073741515 (0xc0000135) 'A dependent dll was not found'.
Dependency walker show this errors: https://pp.userapi.com/c824601/v824601273/444bf/awP70BN-phs.jpg
it shows.....
'2.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ig7icd32.dll'. Cannot find or open the PDB file.
'2.exe' (Win32): Loaded 'C:\Windows\SysWOW64\version.dll'. Symbols loaded.
'2.exe' (Win32): Unloaded 'C:\Windows\SysWOW64\version.dll'
'2.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ole32.dll'. Symbols loaded.
'2.exe' (Win32): Unloaded 'C:\Windows\SysWOW64\ole32.dll'
'2.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ole32.dll'. Symbols loaded.
'2.exe' (Win32): Unloaded 'C:\Windows\SysWOW64\ole32.dll'
The program '[7212] 2.exe' has exited with code 0 (0x0).
how to solve this!!!!!
Did you try simply reinstalling the program and restarting your computer? Worth giving a shot.
Just started programming in C++ and I installed Visual 2015. I've been trying to run a simple "Hello World" program but I get the following:
'ConsoleApplication1.exe' (Win32): Loaded 'C:\Users\(user)\Documents\Visual Studio 2015\Projects\ConsoleApplication1\Debug\ConsoleApplication1.exe'. Symbols loaded.
'ConsoleApplication1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ntdll.dll'. Symbols loaded.
'ConsoleApplication1.exe' (Win32): Loaded
'C:\Windows\SysWOW64\kernel32.dll'. Symbols loaded.
'ConsoleApplication1.exe' (Win32): Loaded
'C:\Windows\SysWOW64\KernelBase.dll'. Symbols loaded.
'ConsoleApplication1.exe' (Win32): Loaded
'C:\Windows\SysWOW64\vcruntime140d.dll'. Symbols loaded.
'ConsoleApplication1.exe' (Win32): Loaded
'C:\Windows\SysWOW64\msvcp140d.dll'. Symbols loaded.
'ConsoleApplication1.exe' (Win32): Loaded
'C:\Windows\SysWOW64\ucrtbased.dll'. Symbols loaded.
'ConsoleApplication1.exe' (Win32): Loaded
'C:\Windows\SysWOW64\advapi32.dll'. Symbols loaded.
'ConsoleApplication1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msvcrt.dll'. Symbols loaded.
'ConsoleApplication1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\sechost.dll'. Symbols loaded.
'ConsoleApplication1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\rpcrt4.dll'. Symbols loaded.
'ConsoleApplication1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\sspicli.dll'. Symbols loaded.
'ConsoleApplication1.exe' (Win32): Loaded
'C:\Windows\SysWOW64\cryptbase.dll'. Symbols loaded.
'ConsoleApplication1.exe' (Win32): Loaded
'C:\Windows\SysWOW64\bcryptprimitives.dll'. Symbols loaded.
'ConsoleApplication1.exe' (Win32): Loaded
'C:\Windows\SysWOW64\kernel.appcore.dll'. Symbols loaded.
The thread 0x2714 has exited with code 0 (0x0).
The thread 0x748 has exited with code 0 (0x0).
The thread 0xc24 has exited with code 0 (0x0).
The program '[3496] ConsoleApplication1.exe' has exited with code 0 (0x0).
I NO CLUE what this is for. The console shows my output for a bit, then it closes and shows that whole message. I've searched the internet but I am not getting solid answers on this.
It seems like your program has been running fine:
The thread 0x2714 has exited with code 0 (0x0). The thread 0x748
has exited with code 0 (0x0). The thread 0xc24 has exited with
code 0 (0x0). The program '[3496] ConsoleApplication1.exe' has
exited with code 0 (0x0).
The first part is about starting your program and loading of all the necessary dll's. The last part means the threads and your program exited with a code of 0x0, which means no errors.
You probably need to put a breakpoint F9 somewhere, to pause the program, or in a console application a getch(); (which needs: #include <conio.h>).
The console shows this output when the program is started in debug mode (with F5), to start it without debugging output, use Ctrl-F5 (Menu Debug / Start Without Debugging).
Hi i have a problem running the OpenCV application using Visual Studio 2013 and Windows 8.1 x64.
I followed this guide: http://www.youtube.com/watch?v=cgo0UitHfp8
I did everything as said in the guide except the changes:
x64 instead of x86 and vs11 instead of vs10 in file paths.
Im trying to run it on OpenCV 2.4.6 (where file names are like 'opencv_core246.lib' and not 'opencv_core231.lib' like in the error.
Can you help me?
Make sure that you are including and linking the correct directories. This can be done in Visual Studio solution properties (right click on the solution and select Properties). For example (this is in Visual Studio 2010, but it should be similar in Visual Studio 2013)..
Set include path
Set library path
Set library dependencies
The problem was solved partially. Linking x86 libraries instead of x64 worked but no OpenCV applications can be ran.
Couple of different errors appear:
'myOpenCV.exe' (Win32): Loaded 'C:\Users\LK\Documents\Visual Studio 2013\Projects\myOpenCV\Debug\myOpenCV.exe'. Symbols loaded.
'myOpenCV.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ntdll.dll'. Symbols loaded.
'myOpenCV.exe' (Win32): Loaded 'C:\Windows\SysWOW64\kernel32.dll'. Symbols loaded.
'myOpenCV.exe' (Win32): Loaded 'C:\Windows\SysWOW64\KernelBase.dll'. Symbols loaded.
'myOpenCV.exe' (Win32): Loaded 'C:\opencv246\build\x86\vc11\bin\opencv_core246d.dll'. Cannot find or open the PDB file.
'myOpenCV.exe' (Win32): Loaded 'C:\opencv246\build\x86\vc11\bin\opencv_highgui246d.dll'. Cannot find or open the PDB file.
'myOpenCV.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msvcp120d.dll'. Cannot find or open the PDB file.
'myOpenCV.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msvcr120d.dll'. Symbols loaded.
'myOpenCV.exe' (Win32): Loaded 'C:\Windows\SysWOW64\guard32.dll'. Cannot find or open the PDB file.
'myOpenCV.exe' (Win32): Loaded 'C:\Windows\SysWOW64\user32.dll'. Symbols loaded.
'myOpenCV.exe' (Win32): Loaded 'C:\Windows\SysWOW64\gdi32.dll'. Symbols loaded.
'myOpenCV.exe' (Win32): Loaded 'C:\Windows\SysWOW64\advapi32.dll'. Symbols loaded.
'myOpenCV.exe' (Win32): Loaded 'C:\Windows\SysWOW64\version.dll'. Symbols loaded.
'myOpenCV.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msvcrt.dll'. Symbols loaded.
'myOpenCV.exe' (Win32): Loaded 'C:\Windows\SysWOW64\sechost.dll'. Symbols loaded.
'myOpenCV.exe' (Win32): Loaded 'C:\Windows\SysWOW64\rpcrt4.dll'. Symbols loaded.
'myOpenCV.exe' (Win32): Loaded 'C:\Windows\SysWOW64\sspicli.dll'. Symbols loaded.
'myOpenCV.exe' (Win32): Loaded 'C:\Windows\SysWOW64\cryptbase.dll'. Symbols loaded.
'myOpenCV.exe' (Win32): Loaded 'C:\Windows\SysWOW64\bcryptprimitives.dll'. Symbols loaded.
'myOpenCV.exe' (Win32): Loaded 'C:\Windows\SysWOW64\imm32.dll'. Symbols loaded.
'myOpenCV.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msctf.dll'. Symbols loaded.
'myOpenCV.exe' (Win32): Loaded 'C:\Windows\SysWOW64\fltLib.dll'. Symbols loaded.
'myOpenCV.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ntmarta.dll'. Symbols loaded.
The program '[4284] myOpenCV.exe' has exited with code -1073741515 (0xc0000135) 'A dependent dll was not found'.
Also a window appears saying the program cannot be executed because MSVCP110D.dll is missing. Should I install something? Or maybe just change the project settings?