ANTLR4 Cpp Xcode v4.10 & v4.10.1 build error

53 views
Skip to first unread message

Brad B

unread,
Apr 25, 2022, 10:44:12 AM4/25/22
to antlr-discussion
I am attempting to update an ANTLR4 Cpp project from 4.9.3 to 4.10 and/or 4.10.1. My Xcode project has the runtime/Cpp/runtime/antlrcpp.xcodeproj as a dependency and links against antlr4_static. All targets in this project are failing to build for me (antlr4_static, antlr4, and antlr4_ios) on 4.10 and 4.10.1. Xcode produces the following error:

error: Build input file cannot be found: '(My project path)/runtime/Cpp/runtime/src/atn/TokensStartState.cpp' (in target 'antlr4_static' from project 'antlrcpp')

When I look through the project, I see several files show up red (ie, they're missing from the filesystem). This xcodeproj worked on the 4.9.3 release, maybe the underlying code was refactored and the Xcode project was not updated? Or am I missing something else here?

Thanks for any help.
-Brad

Terence Parr

unread,
Apr 26, 2022, 3:54:47 PM4/26/22
to antlr-discussion
Hi. Yeah, I don't know how to update the C++ project files but I'd be happy to upload those if somebody can update them. Does anything here help? https://conan.io/center/antlr4-cppruntime

Ter

--
You received this message because you are subscribed to the Google Groups "antlr-discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to antlr-discussi...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/antlr-discussion/18451824-c5c3-4c65-b236-65e9f2756c91n%40googlegroups.com.


--
Dictation in use. Please excuse homophones, malapropisms, and nonsense.
Reply all
Reply to author
Forward
0 new messages