# InitError: could not load library "...libcxxwrap\_julia\_stl.dll" on windows

**URL:** <https://discourse.julialang.org/t/initerror-could-not-load-library-libcxxwrap-julia-stl-dll-on-windows/74535>\
**Category:** General Usage\
**Tags:** cxxwrap\
**Created:** [January 13, 2022, 8:18am UTC](https://discourse.julialang.org/t/initerror-could-not-load-library-libcxxwrap-julia-stl-dll-on-windows/74535 "2022-01-13T08:18:39Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![gitboy16](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/gitboy16/32/24906_2.png) [@gitboy16](https://discourse.julialang.org/u/gitboy16)\
**Post date:** [January 21, 2022, 2:28pm UTC](https://discourse.julialang.org/t/initerror-could-not-load-library-libcxxwrap-julia-stl-dll-on-windows/74535/3 "2022-01-21T14:28:44Z")

</div>

Hi @hiemstar , Thank you for the above it is helpful. I had the same error message that you have.  
Changing the contents of Overrides.toml seemed to make it work however I got another error message after installing `CxxWrap`:

```julia
(@v1.7) pkg> add CxxWrap
Updating registry at `C\Users\gitboy\.julia\registries\General.toml`
Resolving package versions...
Downloaded artifact: libcxxwrap_julia
Downloaded artifact: libcxxwrap_julia
Updating `C\Users\gitboy\.julia\environments\1.7\Project.toml`
[1f15a43c] + CxxWrap v0.12.0
Updating `C\Users\gitboy\.julia\environments\1.7\Manifest.toml`
[1f15a43c] + CxxWrap v0.12.0
[1914dd2f] + MacroTools v0.5.9
[3eaa8342] +libcxxwrap_julia_jll v0.9.0+0
Info packages marked with not downloaded, use `instantiate` to download
Downloaded artifact: libcxxwrap_julia
Downloaded artifact: libcxxwrap_julia

julia> using CxxWrap
ERROR: InitError: Artifact "libccxwrap_julia" was not installed correctly. Try `using Pkg; Pkg.instantiate()` to re-install all missing resources.
Stacktrace:
[1] error(s::String)
@Base .\error.jl:33
[2] _artifact_str ...etc

julia> using Pkg; Pkg.instantiate()
Downloaded artifact: libcxxwrap_julia
Downloaded artifact: libcxxwrap_julia

julia> using CxxWrap
Error: InitError: could not load library ""
The parameter ia incorrect.
Stacktrace:
[1] libcxxwrapversion()
@ CxxWrap.CxxWrapCore C:\Users\gitboy\.julia\packages\CxxWrap\ptbgM\src\CxxWrap.jl:33
during initialization of module CxxWrapCore

julia>

```

Any idea how I can solve this? Thank you  
Fyi similar issue here: [Ccall c++ sort vector of String - #33 by barche](https://discourse.julialang.org/t/ccall-c-sort-vector-of-string/74635/33)

---

_[View the full topic](https://discourse.julialang.org/t/initerror-could-not-load-library-libcxxwrap-julia-stl-dll-on-windows/74535)._
