dagon icon indicating copy to clipboard operation
dagon copied to clipboard

Tutorial 1 Simple App cannot build (where do I find dagon.lib? & "shaders")?

Open FruitfulApproach opened this issue 9 months ago • 2 comments

        1 file(s) copied.
        1 file(s) copied.
        1 file(s) copied.
..\..\..\..\..\..\AppData\Local\dub\packages\dagon\0.20.0\dagon\data\__internal\shaders\* 
The system cannot find the file specified.
        0 file(s) copied.
Details saved as "file://C:\Users\fruit\OneDrive\Desktop\MathProjects\DagonTest\dagontest1\.dub\obj\debug\dummy\dummy\dummy\dummy\dummy\dummy\dagon\dagon.buildlog.html"

------ Build started: Project: dagontest1, Configuration: debug x64 ------
Building C:\Users\fruit\OneDrive\Desktop\MathProjects\DagonTest\dagontest1\dagontest1.exe...
LINK : fatal error LNK1181: cannot open input file 'C:\Users\fruit\OneDrive\Desktop\MathProjects\DagonTest\dagontest1\.dub\lib\dagon.lib'
Building C:\Users\fruit\OneDrive\Desktop\MathProjects\DagonTest\dagontest1\dagontest1.exe failed (error code 1181)!
Details saved as "file://C:\Users\fruit\OneDrive\Desktop\MathProjects\DagonTest\dagontest1\.dub\obj\debug\dummy\dagontest1\dagontest1.buildlog.html"

========== Build: 0 succeeded, 2 failed, 6 up-to-date, 0 skipped ==========
========== Build completed at 4:56 PM and took 18.461 seconds ==========

FruitfulApproach avatar Apr 03 '25 02:04 FruitfulApproach

Both the instructions on the Tutorial pages and on this page:

https://code.dlang.org/packages/dagon

For starting up the project, result in the same error messages.

FruitfulApproach avatar Apr 03 '25 03:04 FruitfulApproach

Can you please specify:

  • Compiler version
  • Build system (looks like VisualD 🤔)
  • Does the template project build directly with DUB (dub build)?

With the latest DMD 2.111.0 the template project should compile without problems:

dub init --type=dagon
dub build

gecko0307 avatar Apr 03 '25 16:04 gecko0307