Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • B baseflow
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 2
    • Issues 2
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

La forge institutionnelle d'INRAE étant en production depuis le 10 juin 2025, nous vous recommandons d'y créer tous vos nouveaux projets.

  • HYCAR-HydroHYCAR-Hydro
  • baseflow
  • Issues
  • #10
Closed
Open
Issue created Jun 26, 2024 by Delaigue Olivier@olivier.delaigueOwner

Fix compilation errors on CRAN Windows Server

00install.out

gcc -shared -s -static-libgcc -o baseflow.dll tmp.def entrypoint.o -LD:/RCompile/recent/R/bin/x64 -lRlapack -LD:/RCompile/recent/R/bin/x64 -lRblas -lgfortran -lm -lquadmath -L. -Lrustlib/target/x86_64-pc-windows-gnu/release -lrustlib -lws2_32 -luserenv -lshell32 -ladvapi32 -fopenmp -Ld:/rtools44/x86_64-w64-mingw32.static.posix/lib/x64 -Ld:/rtools44/x86_64-w64-mingw32.static.posix/lib -LD:/RCompile/recent/R/bin/x64 -lR
D:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: rustlib/target/x86_64-pc-windows-gnu/release/librustlib.a(std-efaf1f98469bce6b.std.11d9c719ffa149c1-cgu.0.rcgu.o): in function `std::sys::windows::fs::open_link_no_reparse':
/rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\sys\windows/fs.rs:818:(.text+0x3b64c): undefined reference to `NtCreateFile'
D:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\sys\windows/fs.rs:847:(.text+0x3b6af): undefined reference to `RtlNtStatusToDosError'
D:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: rustlib/target/x86_64-pc-windows-gnu/release/librustlib.a(std-efaf1f98469bce6b.std.11d9c719ffa149c1-cgu.0.rcgu.o): in function `std::sys::windows::c::NtReadFile':
/rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\sys\windows/c.rs:286:(.text+0x3efa5): undefined reference to `NtReadFile'
D:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: rustlib/target/x86_64-pc-windows-gnu/release/librustlib.a(std-efaf1f98469bce6b.std.11d9c719ffa149c1-cgu.0.rcgu.o): in function `std::sys::windows::handle::Handle::synchronous_read':
/rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\sys\windows/handle.rs:268:(.text+0x3eff0): undefined reference to `RtlNtStatusToDosError'
D:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: rustlib/target/x86_64-pc-windows-gnu/release/librustlib.a(std-efaf1f98469bce6b.std.11d9c719ffa149c1-cgu.0.rcgu.o): in function `std::sys::windows::c::NtWriteFile':
/rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\sys\windows/c.rs:309:(.text+0x3f105): undefined reference to `NtWriteFile'
D:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: rustlib/target/x86_64-pc-windows-gnu/release/librustlib.a(std-efaf1f98469bce6b.std.11d9c719ffa149c1-cgu.0.rcgu.o): in function `std::sys::windows::handle::Handle::synchronous_write':
/rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\sys\windows/handle.rs:314:(.text+0x3f13c): undefined reference to `RtlNtStatusToDosError'
D:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: rustlib/target/x86_64-pc-windows-gnu/release/librustlib.a(std-efaf1f98469bce6b.std.11d9c719ffa149c1-cgu.0.rcgu.o): in function `std::sys::windows::rand::hashmap_random_keys':
/rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\sys\windows/rand.rs:8:(.text+0x43235): undefined reference to `BCryptGenRandom'
D:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\sys\windows/rand.rs:8:(.text+0x5504b): undefined reference to `BCryptGenRandom'
collect2.exe: error: ld returned 1 exit status
no DLL was created
ERROR: compilation failed for package 'baseflow'
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking