You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
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 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?The text was updated successfully, but these errors were encountered: