home › Forums › # Technical Support › Unhandled exception at 0x751a9617 in test.exe
- This topic has 20 replies, 5 voices, and was last updated 7 years, 3 months ago by Juan Rada-Vilela (admin).
July 4, 2014 at 00:19 #1146
were you able to finally build fuzzylite?July 7, 2014 at 02:13 #1151
you mention about dbghelp.lib – what is it? where could I find it?July 7, 2014 at 08:22 #1154
It is a Windows library, just type the name in the additional dependencies. This library provides information on the stacktrace in case of exceptions or signals.July 9, 2014 at 04:23 #1164
I tried it. But exception still showing on my display when i debug the project.
Thank you for your help and time.July 9, 2014 at 07:28 #1165
please make sure you carefully follow the steps presented in post #post-1134. If you have issues with
dbghelp.lib, then build fuzzylite using
cmake . -G"NMake Makefiles" -DFL_DEBUG=ON -DFL_BACKTRACE=OFF, but you will not receive information in the case of unhandled signals and exceptions.
If you still have issues, I would recommend that you start your project from scratch and try again carefully following the instructions given.July 26, 2014 at 10:26 #1197
I appear to have the same issue as bayanaa.
My environment is Windows-7 Pro, my toolset is CMake 4.0.0, Visual Studio 2008, Fuzzylite 4.0. The Fuzzylite lib/dll/exe folders were successfully generated without errors. The Fuzzylite C++ code compiled and linked successfully in my application program (debug mode).
When executing the application, upon reaching the line of code:
there is a runtime error:
Unhandled exception at 0x75ffc41f in SIM.exe: Microsoft C++ exception: std::out_of_range at memory location 0x0290e60c..
I have tried using fuzzylite-static-dbg.lib, then fuzzylite-dbg.lib/fuzzylite-dbg.dll, always the same error. I am not sure what to do with _fuzzylite-dbg.lib, if anything.
As mentioned in your earlier post (July 3, 2014 at 08:40) you have a working MSVC APP (.sln, .proj) of the SimpleDimmer example in a single Main() file. It would be a great help if you could provide that working MSVC project. I suspect the problem lies in either the MSVC project Property settings, or a difference in the Fuzzylite bin files.
Thanks so much for your assistance.July 26, 2014 at 11:46 #1198
_fuzzylite*.lib|dllare not to be used as those are temporally generated files for
fuzzylite.exe. I ran into a similar issue when creating a VS project, but at the end I managed to make it work. It is easier for me to provide a description to solve your issue than logging into my virtual machine and find the project (I still use an eight years old macbook and it is terribly slow).
Under the Linker properties of your project, make sure you have added fuzzylite.dll and dbghelp.dll to the Additional Dependencies. Also, make sure that you are building your project in the same mode as the fuzzylite library that you are adding to the Additional Dependences, that is, in debug mode (fuzzylite-dbg) or release mode (fuzzylite).
If you still have the same issue, I suggest you start a new VS project and configure it as follows:
(1) Add the directory of fuzzylite to the C++ properties of your project under Additional Headers.
(2) Add the directory of fuzzylite/bin to the Linker properties of your project under Additional Library Directories.
(3) Add the libraries fuzzylite and dbghelp to the Linker properties of your project Additional Dependencies.
Please, let me know if you manage to make it work.July 30, 2014 at 08:46 #1201
Thank you for the rapid response. I have followed your guidance, including building a fresh MSVC project, and still get the same runtime error. A simple working MSVC project would be of immense help.
Best RegardsJuly 30, 2014 at 17:57 #1202
could you please email me zip your project and email it to me instead to check it out?
Could you also try in the meantime building your application in release mode linking with the libraries?
I have the idea that the problem is incompatibility of [release|debug] mode of your application and the libraries.
Cheers.March 1, 2016 at 04:19 #2079
I have compiled fuzzylite with cMake for visual studio 2010. I have tried to run an example to see whether my library is work properly or not. unfortunately, I got this error “LINK : fatal error LNK1104: cannot open file ‘D:\fuzzylite-release\fuzzylite\debug\bin.obj”.
I added the directories: fuzzylite and fuzzylite/bin to include and library in VC++ directories (project properties).
I still have same error.
Could you please help…
Thank you for your help and time.
- You must be logged in to reply to this topic.