When I open the project in Visual C++ and compile, it “does” compile, making an exe. However, upon running the exe, it crashes.
Here are the output from my Visual C++ IDE:
1>------ Rebuild All started: Project: mousedriver, Configuration: Debug Win32 ------
1>Deleting intermediate and output files for project ‘mousedriver’, configuration ‘Debug|Win32’
1>Compiling…
1>cl : Command line warning D9035 : option ‘Wp64’ has been deprecated and will be removed in a future release
1>mousedriver.cpp
1>c:\touchlib\src\mousedriver.cpp(131) : warning C4244: ‘=’ : conversion from ‘float’ to ‘LONG’, possible loss of data
1>c:\touchlib\src\mousedriver.cpp(132) : warning C4244: ‘=’ : conversion from ‘float’ to ‘LONG’, possible loss of data
1>c:\touchlib\src\mousedriver.cpp(239) : warning C4018: ’<' : signed/unsigned mismatch
1>c:\touchlib\src\mousedriver.cpp(264) : warning C4244: ‘argument’ : conversion from ‘double’ to ‘DWORD’, possible loss of data
1>c:\touchlib\src\mousedriver.cpp(270) : warning C4244: ‘argument’ : conversion from ‘double’ to ‘DWORD’, possible loss of data
1>c:\touchlib\src\mousedriver.cpp(286) : warning C4018: ’<' : signed/unsigned mismatch
1>c:\touchlib\src\mousedriver.cpp(293) : warning C4018: ’<' : signed/unsigned mismatch
1>Compiling manifest to resources…
1>Microsoft (R) Windows (R) Resource Compiler Version 6.1.6723.1
1>Copyright (C) Microsoft Corporation. All rights reserved.
1>Linking…
1>LINK : C:\touchlib\build\VC8\\..\..\bin\mousedriverd.exe not found or not built by the last incremental link; performing full link
1>Embedding manifest…
1>Microsoft (R) Windows (R) Resource Compiler Version 6.1.6723.1
1>Copyright (C) Microsoft Corporation. All rights reserved.
1>Project : warning PRJ0018 : The following environment variables were not found:
1>$(OPENCV_HOME)
1>Build log was saved at “file://C:\touchlib\src\Debug\BuildLog.htm”
1>mousedriver - 0 error(s), 8 warning(s)
========== Rebuild All: 1 succeeded, 0 failed, 0 skipped ==========
It also displays a message box when the EXE is run, I took a screenshot and included it as an attachment. I installed OpenCV, so I don’t know what the problem is.
Click thumbnail to see full-size image