Error: Cannot compile vertex shader code

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
grump
Party member
Posts: 947
Joined: Sat Jul 22, 2017 7:43 pm

Error: Cannot compile vertex shader code

Post by grump »

I'm getring this error in a fresh Windows 7 x64 VM when running LÖVE 11.2 and 0.10.2. The nogame screen does not appear, just a blank window that looks like the error screen, but without any text.

Code: Select all

Error: [string "boot.lua"]:440: Cannot compile vertex shader code:
0:191(1): error: syntax error, unexpected $undefined, expecting $end

stack traceback:
        [string "boot.lua"]:637: in function <[string "boot.lua"]:633>
        [C]: in function 'setMode'
        [string "boot.lua"]:440: in function <[string "boot.lua"]:311>
        [C]: in function 'xpcall'
        [string "boot.lua"]:645: in function <[string "boot.lua"]:639>
        [C]: in function 'xpcall'
No errors in 0.9.2 and 0.8.0 though. Any idea how to fix this?
ShanePierce
Prole
Posts: 7
Joined: Sun Sep 16, 2018 4:26 pm

Re: Error: Cannot compile vertex shader code

Post by ShanePierce »

grump wrote: Thu Mar 21, 2019 9:14 pm I'm getring this error in a fresh Windows 7 x64 VM when running LÖVE 11.2 and 0.10.2. The nogame screen does not appear, just a blank window that looks like the error screen, but without any text.

Code: Select all

Error: [string "boot.lua"]:440: Cannot compile vertex shader code:
0:191(1): error: syntax error, unexpected $undefined, expecting $end

stack traceback:
        [string "boot.lua"]:637: in function <[string "boot.lua"]:633>
        [C]: in function 'setMode'
        [string "boot.lua"]:440: in function <[string "boot.lua"]:311>
        [C]: in function 'xpcall'
        [string "boot.lua"]:645: in function <[string "boot.lua"]:639>
        [C]: in function 'xpcall'
No errors in 0.9.2 and 0.8.0 though. Any idea how to fix this?
Getting the same errors here too. Something is wrong.

Help is appreciated.
Thanks in advance,
Regards,
Shane
grump
Party member
Posts: 947
Joined: Sat Jul 22, 2017 7:43 pm

Re: Error: Cannot compile vertex shader code

Post by grump »

FWIW, I could not solve this error. But it does not happen on a Windows 10 system, so I just decided to forego testing on Windows 7 altogether. Try updating your graphics drivers if that's an option.
Post Reply

Who is online

Users browsing this forum: No registered users and 68 guests