Skip to main content
Solved

What compiler do I need to use to make a user-defined surface/object?

  • February 11, 2019
  • 1 reply
  • 62 views

Allie
Zemax Staff
Forum|alt.badge.img+2
  • Zemax Staff
  • 343 replies

Does OpticStudio have a preferred compiler that I need to use in order to create my own source?

Best answer by Allie

OpticStudio does not have a preferred compiler! The only requirement is that you can compile to DLL since all user defined sources, objects, surfaces, etc. in OpticStudio must be compiled as a Dynamic Link Library (DLL).

Note: OpticStudio has several example DLLs with source code available as part of its installation package. You should feel free to use these examples to study or to edit. You can find the examples in {Zemax}\DLL\...

View original
Did this topic help you find an answer to your question?

1 reply

Allie
Zemax Staff
Forum|alt.badge.img+2
  • Author
  • Zemax Staff
  • 343 replies
  • Answer
  • February 11, 2019

OpticStudio does not have a preferred compiler! The only requirement is that you can compile to DLL since all user defined sources, objects, surfaces, etc. in OpticStudio must be compiled as a Dynamic Link Library (DLL).

Note: OpticStudio has several example DLLs with source code available as part of its installation package. You should feel free to use these examples to study or to edit. You can find the examples in {Zemax}\DLL\...


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings