support

Forum Replies Created

Viewing 15 posts - 3,796 through 3,810 (of 7,816 total)
  • Author
    Posts
  • in reply to: Cross-compiling OpenCV 3 for Raspberry Pi 2 #22359
    support
    Keymaster

    Hi,

    Thanks for sharing this. We have just finished rechecking everything with the latest OpenCV release and the latest Raspberry Pi toolchain and updated the tutorial.

    We have also added a few usability features to VisualGDB (e.g. automatic deployment of installed CMake targets), so please use this build if you would like to try the new features.

    in reply to: dropped 'gdb' connection (error -400) #22358
    support
    Keymaster

    Hi,

    The text you attached doesn’t contain any specific error message, so the problem may not be on the OpenOCD’s side.

    Please describe what exactly you are observing/expecting and also obtain and attach a gdb session log as described here so that we could see what is going on.

    in reply to: Cross-compilation, CMake and Symlinks #22350
    support
    Keymaster

    Hi,

    We would advise using VisualGDB. It will automatically handle symlinks when synchronizing the sysroot and will also upload the directories correctly when building projects.

    support
    Keymaster

    Hi,

    If you are using MSBuild, you can script it by creating a custom MSBuild target (VisualGDB uses the same target system as regular MSBuild projects).

    You can find extensive documentation on creating MSBuild tasks here: https://docs.microsoft.com/en-us/visualstudio/msbuild/task-writing?view=vs-2017

    Also consider having a quick look through our version updating task used by our open-source plugins. You could create a similar C# task that would export an MSBuild variable and then reference this variable in the “Preprocessor Definitions” setting.

     

    in reply to: Toolchain shows in packages dialog but not project wizard #22344
    support
    Keymaster

    Hi,

    No problem, we will help you resolve it. VisualGDB 5.4 imports the custom toolchain by creating folder under %LOCALAPPDATA%\VisualGDB\ToolchainProfiles\localhost. Please double-check that a folder corresponding to your toolchain has been created and that it either contains a Toolchain.xml/CustomToolchain.xml file, or points to the toolchain directory via a ToolchainLink.txt file (in the latter case the toolchain directory itself should contain the XML file).

    Then check the XML file for the toolchain type (i.e. that it’s set to “Linux”). You can also get a detailed debug log of the toolchain enumeration logic by enabling View->Other Windows->VisualGDB Diagnostics Console and then opening VisualGDB Package Manager (this will reload the toolchain list).

    If nothing helps, please attach:

    • The relevant screenshot showing no toolchain in v5.4
    • The diagnostic log mentioned above
    • Your Toolchain.xml or CustomToolchain.xml file and let us know where it was located (under %LOCALAPPDATA% or in the toolchain directory).

    This should help us narrow it down and suggest a working solution.

    in reply to: Reset Visual GDB to default settings #22343
    support
    Keymaster

    Hi,

    Most of the VisualGDB’s settings are stored in registry under HKEY_CURRENT_USER\Software\Sysprogs\VisualGDB\Settings, so you can delete the subkeys of this key (don’t delete the key itself, as it would break the license-related logic and make VisualGDB unusable on that machine).

    The only subset of settings not affected by this is Tools->Options->Text Editor->C/C++ (VisualGDB)->General/Scroll Bars/Tabs as those settings are managed by Visual Studio itself. The easiest way to reset those 3 tabs is to simply copy the values from any other language (e.g. regular C/C++).

    in reply to: Intellisense remote "include" cache #22336
    support
    Keymaster

    Hi,

    Yes, converting large projects could be a non-trivial endeavor, but it might save time long-term due to better integration with VisualGDB’s features. Ultimately we can help you get it to work with any project type you choose, just wanted to ensure you are aware of the advantages of the new CMake Project Subsystem.

    As long as you are using VisualGDB 5.3 or later, please try modifying anything on the Makefile Settings page of VisualGDB and click “Apply”. VisualGDB should retest the toolchain and save the include paths using the $(LOCALAPPDATA) syntax.

    in reply to: Toolchain shows in packages dialog but not project wizard #22335
    support
    Keymaster

    Hi,

    This looks like an issue that is already resolved in VisualGDB 5.4. Please try installing the latest VisualGDB 5.4 Preview 7 and let us know if the problem persists.

    P.S. No worries about the link, we have edited your original post to show the correct URL.

    in reply to: Debugging problem. #22333
    support
    Keymaster

    Hi,

    On the ESP32 platform, the semihosting client is actually a part of the Espressif’s OpenOCD port. VisualGDB starts it using the “monitor esp32 apptrace start” command and then forwards the output to the output window. The exact low-level logic of it is unfortunately outside VisualGDB’s control.

    The best way to get it to work would be to narrow down a specific sequence of steps that reproduces the problem (e.g. certain program, certain breakpoint locations), reproduce it by manually running the “monitor esp32 apptrace start” command via the GDB Session window and forward the details to Espressif. As they have a more detailed knowledge of their tools’ internals, they might be able to tell what is going on.

    in reply to: Multiple definitions of source files #22319
    support
    Keymaster

    Hi,

    Thanks for the update. We have managed to reproduce the problem. It looks like the Unix domain socket support is broken in the latest Cygwin.

    We should be able to work around it by switching the Cygwin CMake to use regular TCP/IP sockets instead. Please allow 5-10 business days for us to fix it.

    in reply to: Fixing Intellisense #22318
    support
    Keymaster

    Hi,

    Good to know it works. Feel free to let us know the details about your project requested before and we should be able to patch VisualGDB to use the correct setting automatically (as long as we can reproduce this on our side).

    in reply to: Intellisense help text not formated as expected #22317
    support
    Keymaster

    You are welcome. Feel free to get back to us if you have any further questions.

    in reply to: Ghost Doc #22316
    support
    Keymaster

    Hi,

    Most likely this happens because GhostDoc checks for the regular VC++ source file type (“C/C++”) while VisualGDB uses a different name for files handled by Clang IntelliSense (“C/C++ (VisualGDB)”). Please consider relaying this to submain – they should be able to extend their product to recognize VisualGDB’s C++ files fairly easily.

    in reply to: Fixing Intellisense #22309
    support
    Keymaster

    Hi,

    Thanks for the update. In order to resolve the problem, it needs to be narrowed down to a specific set of circumstances that trigger it. Based on your description, it might be caused by the “gnu++17” flag (Clang would normally use gnu++1z, not gnu++17), although it might be caused by something else.

    In order to narrow it down, please try to reproduce the problem on a cleanly created “Hello, World” project (e.g. by adding #include<> statements or properties similar to the ones in your project) and then describe the exact steps that trigger the problem (i.e. all choices made in the wizard and all settings and code added to the project since it was created). Based on that, we should be able to see what is going wrong and suggest the combination of settings that will work.

    in reply to: Multiple definitions of source files #22308
    support
    Keymaster

    Hi,

    This might be caused by corrupt Cygwin environment. Unfortunately the Cygwin binaries are not backward compatible, so installing newer versions of some libraries or tools in an environment with old cygwin1.dll (or tools built against the old cygwin1.dll) would render the entire environment unusable.

    Please try installing a clean Cygwin environment from scratch – this should get it to work.

Viewing 15 posts - 3,796 through 3,810 (of 7,816 total)