Sysprogs forums › Forums › VisualGDB › VisualGDB & VAssistX error
- This topic has 4 replies, 2 voices, and was last updated 6 years, 7 months ago by
MystikReasons.
-
AuthorPosts
-
March 11, 2019 at 13:34 #24194
MystikReasons
ParticipantI’ve recently downloaded the trial version of VAssistX via Visual Studio 2019 Extensions.
VisualGDB asked me if it should use the VAssistX Intellisense or the regular Clang Intellisense so I choosed the Clang Intellisense from VisualGDB.
Now my problem: The subfolder of PROJECT/VisualGDB Properties is completely gone and also after a restart it didn’t help.
And now the IntelliSense doesn’t know what a “class” is (see screenshot #1)
Im using Visual Studio 2019 RC Community with VisualGDB ver. 5.4R3 (build:2978)
I’ve imported a fresh project via VisualGDB from the STM32CubeMX with the STM32F411RE.
Output log:
1>—— Build started: Project: TMC5160_StepperMotor, Configuration: Debug VisualGDB ——
1>main.c
1>stm32f4xx_hal.c
1>stm32f4xx_hal_rcc.c
1>stm32f4xx_hal_rcc_ex.c
1>Src\main.c(22):
1>C:\Elektronik_Projekte\Software\TMC5160_StepperMotor_Software\TMC5160_StepperMotor\TMC5160.hpp(16,1): error : unknown type name ‘class’
1> class TMC5160
1> ^~~~~
1>C:\Elektronik_Projekte\Software\TMC5160_StepperMotor_Software\TMC5160_StepperMotor\TMC5160.hpp(17,1): error : expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{‘ token
1> {
1> ^
1>Done building project “TMC5160_StepperMotor.vcxproj” — FAILED.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========-
This topic was modified 6 years, 7 months ago by
MystikReasons.
-
This topic was modified 6 years, 7 months ago by
MystikReasons.
Attachments:
You must be logged in to view attached files.March 12, 2019 at 10:24 #24214MystikReasons
ParticipantUpdate: I updated the visualgdb version to build 3003 from 2978 and now the window is showing again but the class syntax is still being highlighted as an error.
-
This reply was modified 6 years, 7 months ago by
MystikReasons.
March 12, 2019 at 12:32 #24216MystikReasons
ParticipantUpdate2: The Clang Intellisense (also the Advanced one) doesn’t recognize my class but VC++ Intellisense does so I’m going to use this until I know the reasons for the error marks
March 13, 2019 at 06:31 #24227support
KeymasterBased on the output log from your first message in the thread, the project fails to build. Hence, the problem is likely not related to IntelliSense at all. Please double-check your code and your settings and ensure the project can be built successfully. If the IntelliSense errors are still shown even after the projects builds successfully, please try reopening the solution so that VisualGDB resets the temporary caches.
March 14, 2019 at 10:32 #24246MystikReasons
ParticipantYou were right it was a build error and now it works again. Thanks
-
This topic was modified 6 years, 7 months ago by
-
AuthorPosts
- You must be logged in to reply to this topic.