I recently tried to run Canton on Windows 11 and below error . Is there any way to fix that or workaround ?
I have installed DAML SDK version 2.6.3 on my Windows 11 notebook.
Compiling (synthetic)/ammonite/predef/ArgsPredef.sc
Compiling D:\DAML\Canton\canton-open-source-2.6.3(console) ERROR c.d.c.ConsoleInteractiveRunner - Running bootstrap script failed with an exception (‘other’ has different root)! ‘other’ has different root
D:\DAML\Canton\canton-open-source-2.6.3>
D:\DAML\Canton\canton-open-source-2.6.3>dir
Volume in drive D is Data
Volume Serial Number is 24DB-B3DD
Directory of D:\DAML\Canton\canton-open-source-2.6.3
ben_m ~/opt/canton-open-source-2.6.3 $ bin/canton -c examples/04-create-daml-app/canton.conf --bootstrap examples/04-create-daml-app/init.canton
Compiling (synthetic)/ammonite/predef/ArgsPredef.sc
Compiling /home/ben_m/opt/canton-open-source-2.6.3/(console)
Compiling /home/ben_m/opt/canton-open-source-2.6.3/Main.sc
ERROR c.d.c.ConsoleInteractiveRunner - Running bootstrap script failed with an exception (please setup the create-daml-app example in the current working directly under /home/ben_m/opt/canton-open-source-2.6.3/create-daml-app)!
please setup the create-daml-app example in the current working directly under /home/ben_m/opt/canton-open-source-2.6.3/create-daml-app
# Create the new Daml app
ben_m ~/opt/canton-open-source-2.6.3 $ daml new --template create-daml-app create-daml-app
Created a new project in “create-daml-app” based on the template “create-daml-app”.
# Rerun the Canton Examples command
ben_m ~/opt/canton-open-source-2.6.3 $ bin/canton -c examples/04-create-daml-app/canton.conf --bootstrap examples/04-create-daml-app/init.canton
Compiling /home/ben_m/opt/canton-open-source-2.6.3/Main.sc
ERROR c.d.c.ConsoleInteractiveRunner - Running bootstrap script failed with an exception (please run daml build in the create-daml-app folder to build the dar file /home/ben_m/opt/canton-open-source-2.6.3/create-daml-app/.daml/dist/create-daml-app-0.1.0.dar)!
please run daml build in the create-daml-app folder to build the dar file /home/ben_m/opt/canton-open-source-2.6.3/create-daml-app/.daml/dist/create-daml-app-0.1.0.dar
# Build the new Daml app
ben_m ~/opt/canton-open-source-2.6.3 $ cd create-daml-app/
ben_m ~/opt/canton-open-source-2.6.3/create-daml-app $ daml build
2023-05-07 21:47:34.44 [INFO] [build]
Compiling create-daml-app to a DAR.
2023-05-07 21:47:35.06 [INFO] [build]
Created .daml/dist/create-daml-app-0.1.0.dar
# Change back to the Canton Open Source main directory
ben_m ~/opt/canton-open-source-2.6.3/create-daml-app $ cd …