support

Forum Replies Created

Viewing 15 posts - 6,691 through 6,705 (of 7,817 total)
  • Author
    Posts
  • in reply to: #ifdef __cplusplus -> Where is this defined? #7183
    support
    Keymaster

    Hi,

    VisualGDB uses a different build mechanism, so forcing the C++ files to be treated as C would involve adding “-x c” to CXXFLAGS. However, we would recommend simply renaming your .cpp file to a .c file to avoid further problems.

    support
    Keymaster

    Hi,

    Please try updating to VisualGDB 5.0. Alternatively you can try downloading an older OpenOCD package and installing it via the Embedded Tools Manager, e.g.:
    http://sysprogs.com/files/visualgdb/hwsupport/EDP/com.sysprogs.arm.openocd/openocd090.vgdbxedp
    http://sysprogs.com/files/visualgdb/hwsupport/EDP/com.sysprogs.arm.openocd/openocd090r2.vgdbxedp

    in reply to: User Variables in Pre-processor macros #7181
    support
    Keymaster

    Hi,

    Do you get the ‘testing toolchain’ dialog? If no, try changing an arbitrary line on the Makefile Settings page (e.g. add a space to CFLAGS and remove it back) and clicking “Apply”.

    in reply to: ESP8266 and debugging with SEGGER j-link #7180
    support
    Keymaster

    Hi,

    OpenOCD needs a libusb-based driver for J-Link that is incompatible with the original J-Link driver. The easiest way to install it is using our USBDriverTool. You can also try configuring OpenOCD debugging with J-Link for an ARM project and click “Test settings” so that VisualGDB configures the driver automatically. We don’t have automatic driver setup for ESP8266 projects yet though.

    in reply to: Wrong include in file "cpu_utils.h" #7179
    support
    Keymaster

    Hi,

    Thanks for letting us know. We will consider fixing this in the next release of the STM32 package.

    in reply to: BeagleBone-Debian Qt5 Toolchain #7178
    support
    Keymaster

    Hi,

    Looks like we forgot to mention in the tutorial that you need to upload the Qt libraries from the toolchain to your device. We have updated the tutorial, please upload the files as shown below:

    in reply to: BeagleBone-Debian Qt5 Toolchain #7172
    support
    Keymaster

    Hi,

    Sorry for the confusion, looks like the Beaglebone page contained the wrong toolchain link. We have updated the page, please try downloading it again.

    in reply to: C++11 Intellisense in Visual Studio 2015 #7168
    support
    Keymaster

    Hi,

    VisualGDB rewrites the gcc_Debug.h file when you change some settings (e.g. include directories) in VisualGDB GUI. You can skip this process by changing the include directories/preprocessor macros directly in the debug.mak file.

    We are sorry that the Clang engine is causing you troubles. The behavior you are encountering is definitely not by design and it looks like either a conflict between VisualGDB and some other plugin or a bug caused by some rare configuration setting. I have attached a link to a diagonstic build to the other thread, please give it a try and let me know the output it provides. This should help us pinpoint the problem.

    in reply to: formatting with visualGDB 5 is REALLY crap! (sorry..) #7167
    support
    Keymaster

    OK, strange. Please try this build: http://sysprogs.com/files/tmp/VisualGDB-5.1.0.581.msi

    Open the Clang IntelliSense diagnostics console, clear it, type the opening brace and observe the console output. Does it mention anything about the event being suppressed?

    We have also added a fallback mechanism that should fix the indentation even if the auto-pairing did not get invoked.

    in reply to: ESP8266 XT-OCD Download #7166
    support
    Keymaster

    Hi,

    We have recently released a new toolchain containing an improved ESP8266 port of OpenOCD. We recommend using it for new projects instead of the unsupported xt-ocd tool.

    in reply to: ESP8266 RTOS 1.3 #7165
    support
    Keymaster

    OK, we have released a new ESP8266 toolchain that includes the newest SDKs and an improved OpenOCD port. You can update to it via Tools->Embedded Tools Manager.

    A detailed tutorial on the new OpenOCD port is available here: http://visualgdb.com/tutorials/esp8266/openocd/

    in reply to: ESP8266 RTOS 1.3 #7161
    support
    Keymaster

    Hi,

    We will look into this and release an updated package within the next few weeks.

    in reply to: Error while loading shared libraries #7160
    support
    Keymaster

    Pedley,

    Please check under Tools->SSH Host Manager->Host-wide settings->raspberrypi->Additional environment.

    You may have redefined LD_LIBRARY_PATH there (it would automatically get defined there if your Raspberry Pi had it set in .bashrc before).

    in reply to: C++11 Intellisense in Visual Studio 2015 #7158
    support
    Keymaster

    Hi,

    As a workaround you can edit the Makefile settings by editing debug.mak and release.mak directly.

    As VS IntelliSense often stops parsing the files silently when it encounters some extension that it does not support and those problems are very hard to diagnose, we recommend using the Clang engine instead.

    in reply to: formatting with visualGDB 5 is REALLY crap! (sorry..) #7157
    support
    Keymaster

    Hi,

    Thanks, that explains it. The Clang IntelliSense updates the bracket indentation when it sees both the opening and the closing bracket. By default when you type ‘{‘, the IntelliSense automatically inserts the ‘}’ and formats both of them according to your settings. Looks like you have disabled this feature via Tools->Options->Text Editor->C/C++ (VisualGDB)->Advanced->Typing Assist->Auto-match brackets.

    We recommend enabling it back to get better formatting. We have also added a fix to the upcoming v5.1 version that will automatically un-indent the braces when bracket matching is disabled. Let us know if you want to try a pre-release build with this fix.

Viewing 15 posts - 6,691 through 6,705 (of 7,817 total)