# Can't find dependencies on windows in latest snapshot

**URL:** <https://forum.canton.network/t/cant-find-dependencies-on-windows-in-latest-snapshot/6124>\
**Category:** App Development\
**Tags:** features and bugs, daml-sdk\
**Created:** [February 15, 2023, 3:24pm UTC](https://forum.canton.network/t/cant-find-dependencies-on-windows-in-latest-snapshot/6124 "2023-02-15T15:24:34Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Levente\_Barczy](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/levente_barczy/32/544_2.png) [@Levente\_Barczy](https://forum.canton.network/u/Levente_Barczy)\
**Post date:** [February 15, 2023, 3:24pm UTC](https://forum.canton.network/t/cant-find-dependencies-on-windows-in-latest-snapshot/6124/1 "2023-02-15T15:24:34Z")

</div>

On 2.6.0-snapshot.20221218.11169.0.9d007b31 in windows, trying to build daml-finance:

```haskell
PS C:\Users\Levente\demos\daml-finance-app> daml build
damlc: .lib/contingent-claims-core-1.0.0.dar: openBinaryFile: does not exist (No such file or directory)

```

Despite:

```haskell
PS C:\Users\Levente\demos\daml-finance-app> dir .lib

    Directory: C:\Users\Levente\demos\daml-finance-app\.lib

Mode LastWriteTime Length Name
---- ------------- ------ ----
-a---- 11/29/2022 1:28 PM 451577 contingent-claims-core-0.1.0.dar
[SNIP]

```

Commenting out the reference in `daml.yaml` did change the error message to the next “missing” .dar.

Also tried an earlier version (2.5.0-snapshot.20221010.10736.0.2f453a14) and had no problems.

---

<div class="post-metadata">

**Author:** ![Mate\_Varga](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/mate_varga/32/2308_2.png) [@Mate\_Varga](https://forum.canton.network/u/Mate_Varga)\
**Post date:** [February 15, 2023, 6:18pm UTC](https://forum.canton.network/t/cant-find-dependencies-on-windows-in-latest-snapshot/6124/2 "2023-02-15T18:18:19Z")

</div>

Hi @Levente_Barczy,

I see the error message talks about contingent-claims-core- **1.0.0**.dar, while your dir listing shows contingent-claims-core- **0.1.0**.dar. Isn’t that the issue here?

I think you need to rerun `./scripts/get-dependencies.bat` to update the libs.

Kind Regards,  
Mate

---

<div class="post-metadata">

**Author:** ![Mate\_Varga](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/mate_varga/32/2308_2.png) [@Mate\_Varga](https://forum.canton.network/u/Mate_Varga)\
**Post date:** [February 15, 2023, 6:28pm UTC](https://forum.canton.network/t/cant-find-dependencies-on-windows-in-latest-snapshot/6124/3 "2023-02-15T18:28:10Z")

</div>

Apologies, it looks like the .bat script was not updated.

---

<div class="post-metadata">

**Author:** ![Levente\_Barczy](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/levente_barczy/32/544_2.png) [@Levente\_Barczy](https://forum.canton.network/u/Levente_Barczy)\
**Post date:** [February 15, 2023, 6:46pm UTC](https://forum.canton.network/t/cant-find-dependencies-on-windows-in-latest-snapshot/6124/4 "2023-02-15T18:46:11Z")

</div>

My mistake! I didn’t notice the mismatched versions. I updated the get-dependencies with the following versions:

```haskell
call :get_dependency contingent-claims-core ContingentClaims.Core 1.0.0
call :get_dependency contingent-claims-lifecycle ContingentClaims.Lifecycle 1.0.0
call :get_dependency contingent-claims-valuation ContingentClaims.Valuation 0.2.0
call :get_dependency daml-finance-account Daml.Finance.Account 1.0.0
call :get_dependency daml-finance-claims Daml.Finance.Claims 1.0.0
call :get_dependency daml-finance-data Daml.Finance.Data 1.0.0
call :get_dependency daml-finance-holding Daml.Finance.Holding 1.0.0
call :get_dependency daml-finance-instrument-bond Daml.Finance.Instrument.Bond 0.2.0
call :get_dependency daml-finance-instrument-equity Daml.Finance.Instrument.Equity 0.2.0
call :get_dependency daml-finance-instrument-generic Daml.Finance.Instrument.Generic 1.0.0
call :get_dependency daml-finance-instrument-swap Daml.Finance.Instrument.Swap 0.2.0
call :get_dependency daml-finance-instrument-token Daml.Finance.Instrument.Token 1.0.0
call :get_dependency daml-finance-interface-account Daml.Finance.Interface.Account 1.0.0
call :get_dependency daml-finance-interface-claims Daml.Finance.Interface.Claims 1.0.0
call :get_dependency daml-finance-interface-data Daml.Finance.Interface.Data 1.0.0
call :get_dependency daml-finance-interface-holding Daml.Finance.Interface.Holding 1.0.0
call :get_dependency daml-finance-interface-instrument-base Daml.Finance.Interface.Instrument.Base 1.0.0
call :get_dependency daml-finance-interface-instrument-bond Daml.Finance.Interface.Instrument.Bond 0.2.0
call :get_dependency daml-finance-interface-instrument-equity Daml.Finance.Interface.Instrument.Equity 0.2.0
call :get_dependency daml-finance-interface-instrument-generic Daml.Finance.Interface.Instrument.Generic 1.0.0
call :get_dependency daml-finance-interface-instrument-swap Daml.Finance.Interface.Instrument.Swap 0.2.0
call :get_dependency daml-finance-interface-instrument-token Daml.Finance.Interface.Instrument.Token 1.0.0
call :get_dependency daml-finance-interface-lifecycle Daml.Finance.Interface.Lifecycle 1.0.0
call :get_dependency daml-finance-interface-settlement Daml.Finance.Interface.Settlement 1.0.0
call :get_dependency daml-finance-interface-types-common Daml.Finance.Interface.Types.Common 1.0.0
call :get_dependency daml-finance-interface-types-date Daml.Finance.Interface.Types.Date 1.0.0
call :get_dependency daml-finance-interface-util Daml.Finance.Interface.Util 1.0.0
call :get_dependency daml-finance-lifecycle Daml.Finance.Lifecycle 1.0.0
call :get_dependency daml-finance-settlement Daml.Finance.Settlement 1.0.0
call :get_dependency daml-finance-util Daml.Finance.Util 1.0.0

```

And I can compile just fine. Thank you!!

---

<div class="post-metadata">

**Author:** ![Mate\_Varga](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/mate_varga/32/2308_2.png) [@Mate\_Varga](https://forum.canton.network/u/Mate_Varga)\
**Post date:** [February 15, 2023, 7:28pm UTC](https://forum.canton.network/t/cant-find-dependencies-on-windows-in-latest-snapshot/6124/5 "2023-02-15T19:28:12Z")

</div>

@Levente_Barczy I just pushed in an update to the batch file. Thanks for reporting!
