aronrubin

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 25 total)
  • Author
    Posts
  • in reply to: Crashing cause #25410
    aronrubin
    Participant

    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. occurred

    in reply to: Parenthesis in Compiler Out for "required from" #25230
    aronrubin
    Participant

    Here 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.
    

     

    in reply to: Parenthesis in Compiler Out for "required from" #25229
    aronrubin
    Participant

    The regex matches. Maybe GCCOtherMessage is not being used

    aronrubin
    Participant

    To determine if opencv is using these instructions at runtime use the command line:

    opencv_version --hw

    aronrubin
    Participant

    I 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()

    in reply to: Intellisense Search Path Request #24018
    aronrubin
    Participant

    After 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.

    in reply to: Intellisense Search Path Request #24014
    aronrubin
    Participant

    Sorry 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.

    in reply to: Resources in Tree (Feature) #23261
    aronrubin
    Participant

    I 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?

    in reply to: Resources in Tree (Feature) #23255
    aronrubin
    Participant
    set_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
    in reply to: Solution Explorer Collapse #22975
    aronrubin
    Participant

    Thank you. That seems to have worked.

    in reply to: Solution Explorer Collapse #22969
    aronrubin
    Participant

    Sorry it appears the mp4 video didn’t record correctly

    in reply to: Solution Explorer Collapse #22965
    aronrubin
    Participant

    I had to be real fast to be under the upload limit.

    • This reply was modified 5 years, 11 months ago by aronrubin.
    Attachments:
    You must be logged in to view attached files.
    in reply to: Solution Explorer Collapse #22963
    aronrubin
    Participant

    In this video I removed a line from a cpp file and saved.

    • This reply was modified 5 years, 11 months ago by aronrubin.
    in reply to: Clang Intellisense QuickInfo Likes Forward Declarations #22201
    aronrubin
    Participant

    The 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.

    in reply to: Clang Intellisense Play Nice With declspec #22191
    aronrubin
    Participant

    You rock. That did the trick!

    (Now on to the next issue, revealed when this issue was fixed 😉 … I will post separately.)

Viewing 15 posts - 1 through 15 (of 25 total)