# WORD\_SIZE not defined

**URL:** <https://discourse.julialang.org/t/word-size-not-defined/8971>\
**Category:** General Usage\
**Created:** [February 10, 2018, 9:41am UTC](https://discourse.julialang.org/t/word-size-not-defined/8971 "2018-02-10T09:41:43Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![John\_Hearns](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/john_hearns/32/1685_2.png) [@John\_Hearns](https://discourse.julialang.org/u/John_Hearns)\
**Post date:** [February 10, 2018, 9:41am UTC](https://discourse.julialang.org/t/word-size-not-defined/8971/1 "2018-02-10T09:41:43Z")

</div>

I do not know how in the heck I arrived at this state…  
WORD\_SIZE is supposed to be an internal variable…  
Following lots of build problems on Windows 10 I removed the Julia 0.61 and 0.62 packages and deleted directories under Apps.  
I did a new install of Julia 0.62 Windows 64 bit version.

Now when I try to build VideoIO

LoadError: UndefVarError: WORD\_SIZE not defined  
while loading C:\Users\hearn.julia\v0.6\VideoIO\deps\build.jl, in expression starting on line 30

=============================================================================================================================================================

======================================================================[BUILD ERRORS]=======================================================================

WARNING: VideoIO had build errors.

- packages with build errors remain installed in C:\Users\hearn.julia\v0.6
- build the package(s) and all dependencies with `Pkg.build("VideoIO")`
- build a single package by running its `deps/build.jl` script

=============================================================================================================================================================

julia\> WORD\_SIZE  
ERROR: UndefVarError: WORD\_SIZE not defined

---

<div class="post-metadata">

**Author:** ![John\_Hearns](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/john_hearns/32/1685_2.png) [@John\_Hearns](https://discourse.julialang.org/u/John_Hearns)\
**Post date:** [February 10, 2018, 9:43am UTC](https://discourse.julialang.org/t/word-size-not-defined/8971/2 "2018-02-10T09:43:43Z")

</div>

My version is:

\_ \_ _| |_ \_\_ \_ | Type “?help” for help.  
| | | | | | |/ _` | |  
| | |_| | | | (_| | | Version 0.6.2 (2017-12-13 18:08 UTC)  
 / |\_'_|_|_|\__'_| | Official [http://julialang.org/](http://julialang.org/) release  
|\_\_/ | x86\_64-w64-mingw32

---

<div class="post-metadata">

**Author:** ![kristoffer.carlsson](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/kristoffer.carlsson/32/22_2.png) [@kristoffer.carlsson](https://discourse.julialang.org/u/kristoffer.carlsson)\
**Post date:** [February 10, 2018, 9:46am UTC](https://discourse.julialang.org/t/word-size-not-defined/8971/3 "2018-02-10T09:46:27Z")

</div>

```julia
julia> Sys.WORD_SIZE
64

```

maybe

---

<div class="post-metadata">

**Author:** ![John\_Hearns](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/john_hearns/32/1685_2.png) [@John\_Hearns](https://discourse.julialang.org/u/John_Hearns)\
**Post date:** [February 10, 2018, 9:58am UTC](https://discourse.julialang.org/t/word-size-not-defined/8971/4 "2018-02-10T09:58:17Z")

</div>

Thankyou Kristoffer But

julia\> sys.WORD\_SIZE  
ERROR: UndefVarError: sys not defined

---

<div class="post-metadata">

**Author:** ![fredrikekre](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/fredrikekre/32/1688_2.png) [@fredrikekre](https://discourse.julialang.org/u/fredrikekre)\
**Post date:** [February 10, 2018, 9:58am UTC](https://discourse.julialang.org/t/word-size-not-defined/8971/5 "2018-02-10T09:58:42Z")

</div>

`S` not `s`.

---

<div class="post-metadata">

**Author:** ![John\_Hearns](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/john_hearns/32/1685_2.png) [@John\_Hearns](https://discourse.julialang.org/u/John_Hearns)\
**Post date:** [February 10, 2018, 10:01am UTC](https://discourse.julialang.org/t/word-size-not-defined/8971/6 "2018-02-10T10:01:36Z")

</div>

Thankyou both

julia\> Sys.WORD\_SIZE  
64
