Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » Newbie corner » Assist++ : Parse error
Assist++ : Parse error [message #59571] Wed, 08 February 2023 09:33 Go to next message
Silvan is currently offline  Silvan
Messages: 56
Registered: December 2014
Location: Trento (IT)
Member
After upgrading from 16270 to 16693 theide shows errors in the code but compile and run regularly.
On another Pc the upgrade gives no problem.
Any idea? Thank you

Re: Assist++ : Parse error [message #59572 is a reply to message #59571] Wed, 08 February 2023 10:50 Go to previous messageGo to next message
Silvan is currently offline  Silvan
Messages: 56
Registered: December 2014
Location: Trento (IT)
Member
It seems the parser do not find the header file.
I don't know how it is possible since the configuration is standard...
Re: Assist++ : Parse error [message #59573 is a reply to message #59572] Wed, 08 February 2023 16:22 Go to previous messageGo to next message
zsolt is currently offline  zsolt
Messages: 698
Registered: December 2005
Location: Budapest, Hungary
Contributor
Check the CLANG build method. Assist gets the options from that.
Re: Assist++ : Parse error [message #59574 is a reply to message #59571] Wed, 08 February 2023 17:10 Go to previous messageGo to next message
Silvan is currently offline  Silvan
Messages: 56
Registered: December 2014
Location: Trento (IT)
Member
This is captured in theide just installed, and that is the Button example.
As you can see the Draw package is underlined in red and below are underlined in red: iml.h, iml_header.h, iml_source.h.
But that is just installed and in another PC it is ok ..... Sad



Re: Assist++ : Parse error [message #59575 is a reply to message #59573] Wed, 08 February 2023 17:13 Go to previous messageGo to next message
Silvan is currently offline  Silvan
Messages: 56
Registered: December 2014
Location: Trento (IT)
Member
Done. The path, include and lib are that from the original installation on both machine and are correct.
Re: Assist++ : Parse error [message #59580 is a reply to message #59571] Thu, 09 February 2023 08:57 Go to previous messageGo to next message
Silvan is currently offline  Silvan
Messages: 56
Registered: December 2014
Location: Trento (IT)
Member
Well I did another test.
I picked up the 16705 archive unpacked in c:\ on my pc (where there is the problem) and in a virtual machine running same os (win10).
On my PC the parser on the button examples (but also in all other program) gives a lot of syntax error (but build correctly),
on the virtual machine theide works as expected.
I did a binary compare of the c:\upp directory on both my and the virtual machine and that are identical.
So I guess the problem is theide and the problem is located in some information stored on my pc and used by theide outside
the upp directory.
I ask please if one of the developers could give some inside. Thank you
Re: Assist++ : Parse error [message #59588 is a reply to message #59571] Fri, 10 February 2023 08:51 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13991
Registered: November 2005
Ultimate Member
Silvan wrote on Wed, 08 February 2023 09:33
After upgrading from 16270 to 16693 theide shows errors in the code but compile and run regularly.
On another Pc the upgrade gives no problem.
Any idea? Thank you



Are you using CLANG method to build?
Re: Assist++ : Parse error [message #59589 is a reply to message #59580] Fri, 10 February 2023 08:54 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13991
Registered: November 2005
Ultimate Member
Silvan wrote on Thu, 09 February 2023 08:57
Well I did another test.
I picked up the 16705 archive unpacked in c:\ on my pc (where there is the problem) and in a virtual machine running same os (win10).
On my PC the parser on the button examples (but also in all other program) gives a lot of syntax error (but build correctly),
on the virtual machine theide works as expected.
I did a binary compare of the c:\upp directory on both my and the virtual machine and that are identical.
So I guess the problem is theide and the problem is located in some information stored on my pc and used by theide outside
the upp directory.
I ask please if one of the developers could give some inside. Thank you


You can also try to unpack U++ to some other folder on the same machine that has problems (theide does not write anything outside its folder) (like c:/upp2). If the problem persist, there is probably some problem in Win10 environment variables. If not, we can continue digging.

Mirek
Re: Assist++ : Parse error [message #59590 is a reply to message #59571] Fri, 10 February 2023 10:26 Go to previous messageGo to next message
Silvan is currently offline  Silvan
Messages: 56
Registered: December 2014
Location: Trento (IT)
Member
Thank you Mirek.

Yes I use Clang method and yes I test it also in different folder, same problem.
I also copied the folder from the VM (works) in the PC and don't works
and viceversa from the PC (don't works) to the VM where it works.
Which variable should I check?

[Updated on: Fri, 10 February 2023 10:26]

Report message to a moderator

Re: Assist++ : Parse error [message #59591 is a reply to message #59590] Fri, 10 February 2023 10:29 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13991
Registered: November 2005
Ultimate Member
Silvan wrote on Fri, 10 February 2023 10:26
Thank you Mirek.

Yes I use Clang method and yes I test it also in different folder, same problem.
I also copied the folder from the VM (works) in the PC and don't works
and viceversa from the PC (don't works) to the VM where it works.
Which variable should I check?


For starters, all of them? Smile
Re: Assist++ : Parse error [message #59592 is a reply to message #59571] Fri, 10 February 2023 13:14 Go to previous messageGo to next message
Silvan is currently offline  Silvan
Messages: 56
Registered: December 2014
Location: Trento (IT)
Member
I used this tool https://www.rapidee.com/en/about to check for some difference in System Variable or User Variable.... but there are none.
I also played with regional and language setting with no result.
Re: Assist++ : Parse error [message #59619 is a reply to message #59571] Thu, 16 February 2023 21:22 Go to previous messageGo to next message
Silvan is currently offline  Silvan
Messages: 56
Registered: December 2014
Location: Trento (IT)
Member
I found that my win installation has some problem with languages, I reinstall windows and theide parser works fine.
Meanwhile I find also that theide needs vc 14 runtime dll to work... !!!

Bye
Re: Assist++ : Parse error [message #59712 is a reply to message #59571] Fri, 17 March 2023 22:53 Go to previous messageGo to next message
Silvan is currently offline  Silvan
Messages: 56
Registered: December 2014
Location: Trento (IT)
Member
After some tries I find out that there is some incompatibility between clang and visual studio.
In fact the problem arises only in machine where it is installed VC++.
It seems a known problem: https://developercommunity.visualstudio.com/t/intellisense-a nd-highlighting-are-not-working-with/1284489
But I don't find the solution for theide.

I suppose there is no interest for this particolar issue....

Thanks for reading
Re: Assist++ : Parse error [message #59713 is a reply to message #59571] Fri, 17 March 2023 22:59 Go to previous messageGo to next message
Silvan is currently offline  Silvan
Messages: 56
Registered: December 2014
Location: Trento (IT)
Member
That seems a very similar problem but in MacOS:
https://superuser.com/questions/1743350/visual-studio-code-i ntellisense-stopped-finding-core-c-includes-in-macos
Re: Assist++ : Parse error [message #59825 is a reply to message #59571] Wed, 26 April 2023 21:33 Go to previous message
Silvan is currently offline  Silvan
Messages: 56
Registered: December 2014
Location: Trento (IT)
Member
Well to close this thread that is the situation:

With the introduction in Upp of the clang parser on windows system I record this behaviur:
1) U++ alone: parser ok;
2) U++ in a sistem with MS Visual Studio 2008-2017: parser ko;
3) U++ in a sistem with MS Visual Studio 2019 or 2022: parser ok;
4) U++ in a sistem with multiple version of MS Visual Studio installed if one of them is ver 2019 or ver 2022: ok else ko.

That's all.
Previous Topic: Problem with RegExp, I don't understand it (\w+)
Next Topic: StringParse missing declaration
Goto Forum:
  


Current Time: Thu Jul 18 05:02:03 CEST 2024

Total time taken to generate the page: 0.02468 seconds