Compiling latest Lexilla in VS2022

18 views
Skip to first unread message

Andrew Truckle

unread,
Aug 30, 2024, 2:49:22 PMAug 30
to scintilla-interest
Hi

For some reason I am getting build errors:

1>D:\My Programs\2022\lexilla540\lexilla\lexlib\DefaultLexer.cxx(15,10): error C1083: Cannot open include file: 'ILexer.h': No such file or directory
1>D:\My Programs\2022\lexilla540\lexilla\lexlib\LexerBase.cxx(15,10): error C1083: Cannot open include file: 'ILexer.h': No such file or directory
1>D:\My Programs\2022\lexilla540\lexilla\lexlib\LexerModule.cxx(14,10): error C1083: Cannot open include file: 'ILexer.h': No such file or directory
1>D:\My Programs\2022\lexilla540\lexilla\lexlib\LexAccessor.cxx(13,10): error C1083: Cannot open include file: 'ILexer.h': No such file or directory

I had opened the vxproj file and compiled, like normal.

Have I missed a step?

Andrew Truckle

unread,
Aug 30, 2024, 2:54:15 PMAug 30
to scintilla-interest
Also, the readme does not match the file structure:

To use MSVC, run lexilla/test/lexilla.mak:
nmake -f lexilla.mak

There is a testlexers.mak

I normally just open the vxproj and build

Andrew Truckle

unread,
Aug 30, 2024, 2:55:58 PMAug 30
to scintilla-interest
And:

D:\My Programs\2022\lexilla540\lexilla>dir /s ilexer.h
 Volume in drive D is DATA
 Volume Serial Number is 101E-58BA
File Not Found

Andrew Truckle

unread,
Aug 30, 2024, 2:59:18 PMAug 30
to scintilla-interest
Sorted.

Neil Hodgson

unread,
Aug 30, 2024, 5:38:16 PMAug 30
to Scintilla mailing list
Andrew Truckle:

> 1>D:\My Programs\2022\lexilla540\lexilla\lexlib\DefaultLexer.cxx(15,10): error C1083: Cannot open include file: 'ILexer.h': No such file or directory

Looks like Andrew got this working but others should be aware that ILexer.h is defined by Scintilla to communicate between Lexilla and Scintilla and is part of the Scintilla download. A "scintilla" directory containing the source should be a sibling of "lexilla".

While a copy of these interface definition files could be included in Lexilla as well as Scintilla there might be problems with mismatches when these files are revised.

Neil

Reply all
Reply to author
Forward
0 new messages