support

Forum Replies Created

Viewing 15 posts - 6,856 through 6,870 (of 7,823 total)
  • Author
    Posts
  • in reply to: Various problems with Android NDK #6698
    support
    Keymaster

    Hi,

    This is the directory where the Android Studio/gradle expect the native files. The problem is that the native support there is currently broken, so when Gradle tries to build the native files, it could:

    1. Generate a Makefile that won’t build on Windows due to problems with parsing Windows-style paths
    2. Strip the symbol information from the built libraries, making the debugging impossible

    The exact gradle bugs change from version to version, so our current recommendation is to keep the source files in the app\jni directory and let VisualGDB handle the build. This will ensure that you won’t get strange build errors and that your symbols will be generated correctly. As soon as the Gradle support for native symbols becomes stable, we will update our tutorials to use the recommended paths.

    in reply to: Various problems with Android NDK #6695
    support
    Keymaster

    This would cause several bugs with the NDK tools. If you don’t want to move the actual files, you can create a symbolic link using the mklink command, i.e.

    mklink /d C:\Users\nzmora\AndroidStudioProjects\CameraProcessor\app\jni C:\Users\nzmora\AndroidStudioProjects\CameraProcessor\app\src\main\jni
    in reply to: PLL Setting for USB CDC Question #6692
    support
    Keymaster

    Hi,

    Normally the USB clock needs to be 48 MHz. Please use the STM32CubeMX tool to validate your clock parameters:

    You can read here about integrating code generated by STM32CubeMX into VisualGDB projects.

     

    in reply to: problems with cross-complie visualgdb and QT base #6691
    support
    Keymaster

    Hi,

    Please try installing the Qt addin: https://wiki.qt.io/Visual_Studio_Add-in

    in reply to: problems with cross-complie visualgdb and QT base #6684
    support
    Keymaster

    Hi,

    We have investigated the problem. Looks like our Beaglebone toolchain is missing one important file. We will update it soon.

    As a workaround please create a file called ld.so.conf in  d:/sysgcc/beagledebian/arm-linux-gnueabihf/sysroot/etc and put the following contents there:

    # Multiarch support
    /lib/arm-linux-gnueabihf
    /usr/lib/arm-linux-gnueabihf
    # libc default configuration
    /usr/local/lib
    support
    Keymaster

    Please use comma instead of space after the -Wa option, i.e.:

    1. Modify the .c file rule this way:​
      ​$(BINARYDIR)/%.o : %.c $(all_make_files) |$(BINARYDIR)
          $(CC) $(CFLAGS) -c $< -o $@ -MD -MF $(@:.o=.dep) -Wa,-adhlns=$(@:.o=.lst)
    2. Change the contents of the SOURCEFILES statement (e.g. remove one file) so that VisualGDB regenerates the rules your Makefile.
    3. Build your project.​
    in reply to: STM32CubeMx Project with VisualGDB? #6681
    support
    Keymaster

    Hi,

    We have simplified the integration with STM32CubeMX in VisualGDB 5.0 Beta 3 and added a detailed tutorial showing how to use it: http://visualgdb.com/tutorials/arm/stm32/cube/

    in reply to: problems with cross-complie visualgdb and QT base #6679
    support
    Keymaster

    Do those files (e.g. libSM.so.6) exist in your toolchain’s sysroot? If yes, what is the directory containing them?

    support
    Keymaster

    Hi,

    Please try adding the flags directly to the targets and target templates, e.g.:

    $(BINARYDIR)/%.o : %.cpp $(all_make_files) |$(BINARYDIR)
        $(CXX) $(CXXFLAGS) -c $< -o $@ -MD -MF $(@:.o=.dep) <add your flags here>

     

    in reply to: VisualGDB with QT issue #6673
    support
    Keymaster

    Looks like you are missing some libraries in your project properties. Search the sysroot\usr\lib directory for files containing the undefined symbols from the error message and add the found library names (without ‘lib’ prefix and extension) to the library list in VisualGDB Project Properties.

    Regarding real-time IntelliSense, you can try enabling Tools->Options->C/C++(VisualGDB)->Advanced->Code Completion->Suggest names while typing. If this is not what you meant, please provide us with a better example of what you are trying to achieve.

    in reply to: Number of Machines #6672
    support
    Keymaster

    Please contact our sales at sales@sysprogs.com for details about the number of machines.

    in reply to: clr #6671
    support
    Keymaster

    The Visual Studio compiler and GCC are not 100% compatible when it comes to complex C++ templates. You may need to adjust your code so that both compilers can handle this (the problem is well-known, so googling for specific errors should easily get the fixing instructions).

    You can specify -std=c++11 or -std=c++14 in CFLAGS on the Makefile Settings page of VisualGDB Project Properties.

    in reply to: gdb project can't see file #6670
    support
    Keymaster

    Hi,

    Please add the directory containing the missing header file to the “Include Directories” field on the Makefile Settings page of VisualGDB Project Properties. Adding the file to the Solution Explorer simply makes it easier to open, but does not affect search paths used by the #include<> directives.

    in reply to: Incorrect syntax highlighting (VS Dark Theme) #6669
    support
    Keymaster

    Yes, this has been fixed in Beta 3.

    in reply to: Various problems with Android NDK #6668
    support
    Keymaster

    Hi,

    Please ensure that the jni folder is located directly inside the “C:\Users\nzmora\AndroidStudioProjects\CameraProcessor\app” folder.

    If this does not help, please share a tree of all files (cmd /c tree /f > tree.txt) in the project directory.

Viewing 15 posts - 6,856 through 6,870 (of 7,823 total)