support

Forum Replies Created

Viewing 15 posts - 6,976 through 6,990 (of 7,796 total)
  • Author
    Posts
  • in reply to: GCC 4.8? #3454
    support
    Keymaster

    Hi,

    You need to update the Raspberry to have the compatible libraries like libc and libgcc. If you want to support the original Raspbian image, you need to use the same GCC version that the image has.

    in reply to: Failure with C++ tutorials #3520
    support
    Keymaster

    Hi,

    Most likely you are using a corrupt image. Please download a fresh image from the Beaglebone website and re-flash it. Regarding IntelliSense, the error messages are caused by Visual Studio’s IntelliSense engine not being able to handle some GCC-specific constructs. We are currently working on a clang-based IntelliSense engine that will resolve this problem. We will be releasing a preview build within the next few weeks. Please feel free to give it a try once it is out.

    in reply to: problem with Cross-compiling beaglebone black opencv #3513
    support
    Keymaster

    Hi,

    The “/usr/local/include/opencv” syntax won’t work with a cross-compiler. Please use either the full Windows path (D:/SysGCC/linaro/…/include/opencv) or the ‘=’ syntax (=/usr/local/include/opencv).

    in reply to: frequent GDB command timeouts / cocos2d-x project #3527
    support
    Keymaster

    Hi,

    First of all, you can increase the timeout before VisualGDB shows that box via Tools->Options->VisualGDB->Tweaking.
    The timeout with “-data-evaulate-expression “sizeof(void *)”” is very strange, as this command does not involve communicating to the device, it should be handled locally based on the data from the ELF file. Hence, most likely the problem is in your GDB. You can diagnose it the following way:
    * Try using a different version of GDB (selected on the Makefile Settings page)
    * Try running the command manually via the GDB Session window. Does it always take that long or only during the first run?
    * Select “all GDB interaction” in the GDB Session window and look for strange warnings. Does it take lots of time for GDB to load the initial symbols?
    * Does your problem happen on smaller projects? If no, can you strip debugging symbols off some libraries you not currently stepping through? Does this improve performance?

    in reply to: Get rid of Bloated runtime and executable? #3510
    support
    Keymaster

    Hi,

    Please try adding the following flags to CFLAGS/CXXFLAGS:
    -static-libgcc -static-libstdc++
    You can read more about -static-xxx flags here: https://gcc.gnu.org/onlinedocs/gcc/Link-Options.html

    in reply to: Visual GDB / QT / Raspberry #3509
    support
    Keymaster

    Hi,

    You can get the pointer to the active QApplication object via QApplication::instance() method as described here: http://qt-project.org/forums/viewthread/9319
    You can link the signals/slots with handlers using the Qt plugin for Visual Studio, however it is not as powerful as the WinForms or WPF editors.

    in reply to: stm32f0xx_irq_problem #3505
    support
    Keymaster

    Hi,

    Thanks for letting us know. The texane/st-link tool is not maintained by us, it’s an open-source tool (https://github.com/texane/stlink) that we simply compile and ship as a separate package. Feel free to submit a bugreport on the tool bugtracker.

    in reply to: How To: Using latest GCC for cross compiling #3508
    support
    Keymaster

    Hi,

    Thanks for sharing this. You can also select a custom toolchain in the VisualGDB Project Wizard, then VisualGDB will detect your toolchain version correctly and adjust IntelliSense accordingly.

    in reply to: VS 2013 "Could not load file or assembly" #3496
    support
    Keymaster

    Hi,

    Please try the latest VisualGDB 4.3r2. It contains fixes for some bugs that could be causing this.

    in reply to: intellisense #3498
    support
    Keymaster

    Hi,

    Normally VisualGDB should test the toolchain when you modify the build flags on the Makefile Settings page of VisualGDB Project Properties. It will then extract the include directories reported by the toolchain and setup IntelliSense. If that does not happen for you, please check if toolchain testing reports any errors and if the IntelliSense page of VisualGDB Project Properties contains any entries at all.

    in reply to: No project templates #3485
    support
    Keymaster

    Hi,

    The templates are stored in XML files inside the “C:Program Files (x86)SysprogsVisualGDBProjectTemplates” folder. Please verify that the folder exists and that you can access it from Visual Studio (e.g. try opening an XML file via File->Open).

    in reply to: Gdb hangs. -target-select remote :XXXXX #3501
    support
    Keymaster

    Hi,

    What ethernet card are you using? Kgdboe (Ethernet debugging transport) can be incompatible with some cards. What happens if you try setting up KGDBoE manually (http://sysprogs.com/VisualKernel/kgdboe/tutorial/)? Do you get a connection? Do you get any errors in dmesg?

    in reply to: No rule to make target #3503
    support
    Keymaster

    Hi,

    If you are using a Custom or Ultimate edition, you can add a custom pre-build steps to upload as many files/folders as you want. If not, you need to pick one root source directory (so that all source files are located in it or its subdirectories) and set it as your source directory on the Project Settings page of VisualGDB Project Properties.

    in reply to: stm32f0xx_irq_problem #3506
    support
    Keymaster

    Hi,

    Is your handler function defined in a C++ file? If yes, it needs to be surrounded by extern “C”:

    
    extern "C" void SysTick_Handler()
    {
    //...
    }
    
    in reply to: Debugging Apk #3490
    support
    Keymaster

    Hi,

    We have investigated this more. When you debug a custom APK file with VisualGDB it checks all EABIs that are present in the APK file and ensures that the library directories for them are present in your library location. Looks like in your case the APK file contains an armeabi version of the libraries, but your library directory does not have them. You can resolve this in one of 2 ways:
    * Remove other EABIs from the APK file
    * Provide debug versions of all libraries in the APK file for all platforms

    You can also press the ‘ignore’ button in the error window to ignore the missing libraries and start debugging nonetheless. If your device EABI is armeabi-v7a, the missing armeabi directories should not affect debugging.

Viewing 15 posts - 6,976 through 6,990 (of 7,796 total)