Forum Replies Created
-
AuthorPosts
-
aronrubinParticipant
I was wrong. It is still crashing in my larger files with this:
Unhandled exception at 0x00007FFBEB93B550 (CppEngineCore64.DLL) in CppEngineHost64.exe.25180.dmp: 0xC0000005: Access violation reading location 0x0000000000000000. occurredaronrubinParticipantHere I have added an error in a template to cause the message:
[7/11] Building CXX object CMakeFiles/CxxSimulatorTest.dir/src/CxxSimulatorTest.cpp.obj FAILED: CMakeFiles/CxxSimulatorTest.dir/src/CxxSimulatorTest.cpp.obj C:\msys64\mingw64\bin\x86_64-w64-mingw32-g++.exe -I../../include -isystem _deps/googletest-src/googletest/include -isystem _deps/googletest-src/googletest -isystem _deps/googletest-src/googlemock/include -isystem _deps/googletest-src/googlemock -g -std=gnu++17 -MD -MT CMakeFiles/CxxSimulatorTest.dir/src/CxxSimulatorTest.cpp.obj -MF CMakeFiles\CxxSimulatorTest.dir\src\CxxSimulatorTest.cpp.obj.d -o CMakeFiles/CxxSimulatorTest.dir/src/CxxSimulatorTest.cpp.obj -c ../../src/CxxSimulatorTest.cpp In file included from ../../src/CxxSimulatorTest.cpp:5: ../../include/CxxSimulator/Simulator.h: In member function 'void sim::Simulator::addModel()': 61 | abc(); | ^~~ ../../include/CxxSimulator/Simulator.h: In instantiation of 'void sim::Simulator::addModel() [with ModelType = EmptyModel]': ../../src/CxxSimulatorTest.cpp:43:54: required from here C:\Users\arubin\git\CxxSimulator\.\build\Debug\..\..\include\CxxSimulator\Simulator.h(61,8): error : 'abc' was not declared in this scope; did you mean 'abi'? 61 | abc(); | ~~~^~ | abi ../../include/CxxSimulator/Simulator.h: In instantiation of 'void sim::Simulator::addModel() [with ModelType = SimulationTest::LoopbackModel]': ../../src/CxxSimulatorTest.cpp:93:39: required from here 61 | abc(); | ~~~^~ | abi ninja: build stopped: subcommand failed.
aronrubinParticipantThe regex matches. Maybe GCCOtherMessage is not being used
April 9, 2019 at 16:57 in reply to: How to enable NEON and VFPV3 when compiling in C++ for Beaglebone/RPi? #24621aronrubinParticipantTo determine if opencv is using these instructions at runtime use the command line:
opencv_version --hw
April 8, 2019 at 20:00 in reply to: How to enable NEON and VFPV3 when compiling in C++ for Beaglebone/RPi? #24605aronrubinParticipantI have the following in my project’s CMakeLists.txt:
if(CMAKE_SYSTEM_PROCESSOR MATCHES “BCM28|armv7”)
add_compile_options(-march=armv8-a+crc -mcpu=cortex-a53 -mfpu=neon-fp-armv8)
endif()aronrubinParticipantAfter I notice gcc or clang being updated by the MSYS2 (pacman) the process has been to exit VS, edit the toolchain xml file to reflect the new values, and then reopen VS. For each solution that I open VGDB pops up a dialog notifying of the change and asking which direction to apply a fix. It seems I have to delete VisualGDBCache in addition to that process.
aronrubinParticipantSorry I made some bad assumptions. Looking into this more I believe the problem relates to stale cached values after the compiler is upgraded. i.e. MingW64 gcc went from 8.2.1 to 8.3.0 just a few days ago. After removing the VisualGDBCache directory and letting it reconstitute the manual entries are no longer needed.
aronrubinParticipantI see now; properties are not reported in the code model. I did not realize that before. This explains much. Do you happen to have insight into why there is no property query facility?
aronrubinParticipantset_property(TARGET ${TGT_NAME} APPEND PROPERTY RESOURCE ${TGT_LIST_OF_FILES})
Together with
install(TARGETS ${TGT_NAME} RUNTIME DESTINATION bin RESOURCE DESTINATION "share/${PROJECT_NAME}" )
Will install resources as needed on every platform, not just Apple anymore. More importantly for my purposes, CPack will put the files in an installer/deb/pkg/rpm/zip on a component basis. Note BundleUtilities is not only for Apple anymore and can be used to package non-project DLLs in a Windows installer.
Aron
- This reply was modified 5 years, 10 months ago by support. Reason: formatting
aronrubinParticipantThank you. That seems to have worked.
aronrubinParticipantSorry it appears the mp4 video didn’t record correctly
aronrubinParticipantaronrubinParticipantIn this video I removed a line from a cpp file and saved.
- This reply was modified 5 years, 11 months ago by aronrubin.
October 3, 2018 at 19:59 in reply to: Clang Intellisense QuickInfo Likes Forward Declarations #22201aronrubinParticipantThe speed is definitely desired but items like documentation or base classes are not likely attached to a forward declaration. If you consider the utility of QuickInfo for classes it is typically in additional info. Jumping to/peeking the definition or declaration still does not provide glanceable summary information in the way that I believe QuickInfo is intended. Perhaps as the files are idly parsed the cached QuickInfo entries could be augmented.
aronrubinParticipantYou rock. That did the trick!
(Now on to the next issue, revealed when this issue was fixed 😉 … I will post separately.)
-
AuthorPosts