Hi,
I need to use the snopt interface in psopt (compiled in MSYS2's MINGW64). I have got an academic license, header files (.hpp and .h), and a library file (.a). I have moved the header files and the library file to correct paths (i.e., /mingw64/include/snopt7 and /mingw64/lib) and compiled psopt with the snopt interface (cmake **** -WITH_SNOPT_INTERFACE=ON). After compiling, I obtained some .exe files related to the C++ examples using snopt in the PSOPT project.
However, the .exe files cannot be executed correctly (Segmentation fault). I found that the bug occurs in the initialization of the snoptProblemA class (snoptProblemA ToyProb; ...... ToyProb.initialize ("", 1); ). Due to the lack of source code, I am unable to further debug.
What can I do now?
Thanks,
Wenkai He