Question:
when compiling NIST sample project with Eclipse I get following errors

src\nist_demo.o:nist_demo.cpp: undefined reference to `GetOpenFileNameA@4'
src\nist_demo.o:nist_demo.cpp: undefined reference to `GetSaveFileNameA@4'

what should I do?


Answer:
You need to provide the library with functions 'GetOpenFileName' and `GetSaveFileNameA@4'.
Please add '-lcomdlg32' to linker command line.

1. Go to "Project Properties"
2. Go to "C/C++ Build"
3. Go to "Settings"
4. Go to "Tool settings"
5. Go to "MinGW C++ Linker"
6. Go to "Libraries"
7. Add library "comdlg32"
   (see picture "important_how_to_compile_Eclipse_project.gif")
8. Click "Apply" and "OK"


