digitalmars.D - dub.json: Expected '"' to start string
- MiyukiNozomi (22/22) Dec 09 2020 Hello, i made a project with DerelictGLFW3, and i am getting a
- Adam D. Ruppe (3/6) Dec 09 2020 No {} there, it should just be
- MiyukiNozomi (3/10) Dec 09 2020 the errors are gone, thanks for the help!
- RSY (6/18) Dec 11 2020 derelict glfw is pretty old, i recomand using this one instead:
- MiyukiNozomi (2/22) Jan 06 2021 That explains some errors that i got while compiling, thanks.
Hello, i made a project with DerelictGLFW3, and i am getting a error in dub.json at line 11. i don't know soo much about json, and i didn't find a solution for this problem anywhere. this is my dub.json file: [code] { "name" : "glproject", "description" : "GL Game in D.", "dependencies": { "derelict-glfw3": "~>4.0.0-beta" }, "subConfigurations": { "derelict-glfw3": "derelict-glfw3-static" }, "libs-windows": { ["glfw3dll"] //error here }, "libs-posix": { ["glfw3"] } } [code]
Dec 09 2020
On Wednesday, 9 December 2020 at 19:20:27 UTC, MiyukiNozomi wrote:"libs-windows": { ["glfw3dll"] //error here },No {} there, it should just be "libs-windows": ["glfw3dll"]
Dec 09 2020
On Wednesday, 9 December 2020 at 19:26:31 UTC, Adam D. Ruppe wrote:On Wednesday, 9 December 2020 at 19:20:27 UTC, MiyukiNozomi wrote:the errors are gone, thanks for the help!"libs-windows": { ["glfw3dll"] //error here },No {} there, it should just be "libs-windows": ["glfw3dll"]
Dec 09 2020
On Wednesday, 9 December 2020 at 19:29:26 UTC, MiyukiNozomi wrote:On Wednesday, 9 December 2020 at 19:26:31 UTC, Adam D. Ruppe wrote:derelict glfw is pretty old, i recomand using this one instead: https://github.com/BindBC/bindbc-glfw It supports latest version of GLFW Also since you are statically compiling GLFW, you don't need the DLL on windows, just the .libOn Wednesday, 9 December 2020 at 19:20:27 UTC, MiyukiNozomi wrote:the errors are gone, thanks for the help!"libs-windows": { ["glfw3dll"] //error here },No {} there, it should just be "libs-windows": ["glfw3dll"]
Dec 11 2020
On Friday, 11 December 2020 at 11:56:28 UTC, RSY wrote:On Wednesday, 9 December 2020 at 19:29:26 UTC, MiyukiNozomi wrote:That explains some errors that i got while compiling, thanks.On Wednesday, 9 December 2020 at 19:26:31 UTC, Adam D. Ruppe wrote:derelict glfw is pretty old, i recomand using this one instead: https://github.com/BindBC/bindbc-glfw It supports latest version of GLFW Also since you are statically compiling GLFW, you don't need the DLL on windows, just the .libOn Wednesday, 9 December 2020 at 19:20:27 UTC, MiyukiNozomi wrote:the errors are gone, thanks for the help!"libs-windows": { ["glfw3dll"] //error here },No {} there, it should just be "libs-windows": ["glfw3dll"]
Jan 06 2021