Open leonelpm opened 1 year ago
Hello
The first thing to try would be the command
$ make user
instead of simply 'make'. You must run this command from psopt/build/examples/user
If you just replaced the user.cxx file located under /psopt/examples/user with your own code, then the above should work in the same way as with the original code, assuming that there are no compilation errors after the modifications you made. In this case, you must use the same filename for your code: user.cxx. A new executable file called user should be created after you run make.
If the changes you have made require additional source code, header files, or libraries, you must modify the file CMakeLists.txt which is located under psopt/examples/user. To do this, you will need to understand some basic principles of CMake.
I hope that helps.
Best wishes
Victor Becerra
I already installed PSOPT and the examples were compiled and they execute well. However, when I try to compile my own files using the instructions included in the PDF manual:
$ cd psopt/build/examples/user
$ make
I get the following message
make: *** No targets specified and no makefile found. Stop.
I was wondering, where can I find the required makefile?