# Geant4 Windows dllimport error

**URL:** <https://geant4-forum.web.cern.ch/t/geant4-windows-dllimport-error/6963>\
**Category:** Getting Started\
**Created:** [January 20, 2022, 7:44am UTC](https://geant4-forum.web.cern.ch/t/geant4-windows-dllimport-error/6963 "2022-01-20T07:44:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sufuk](https://geant4-forum.web.cern.ch/user_avatar/geant4-forum.web.cern.ch/sufuk/32/2527_2.png) [@sufuk](https://geant4-forum.web.cern.ch/u/sufuk)\
**Post date:** [January 20, 2022, 7:44am UTC](https://geant4-forum.web.cern.ch/t/geant4-windows-dllimport-error/6963/1 "2022-01-20T07:44:00Z")

</div>

Hello I get this error no idea where was it triggered in my program. Code runs fine in linux.

> Error C2491 ‘G4VUPLSplitter::offset’: definition of dllimport static data member not allowed

---

<div class="post-metadata">

**Author:** ![system](https://geant4-forum.web.cern.ch/uploads/default/original/1X/ce519a43ebdf7ac48a98a03c6ad6eea013b68c46.png) [@system](https://geant4-forum.web.cern.ch/u/system)\
**Post date:** [April 20, 2022, 7:44am UTC](https://geant4-forum.web.cern.ch/t/geant4-windows-dllimport-error/6963/2 "2022-04-20T07:44:59Z")

</div>

Closed on April 20, 2022, 7:44am UTC

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
