Hi! I am a relatively new user to ASPECT and I am trying to learn how to make additional plugin files. I have ASPECT 2.4.0 -pre on my Virtual Machine and I am trying to run the following command on the terminal “cmake -DAspect_DIR=/path/to/aspect/build/ .
make” as mentioned in How to write a plugin — ASPECT 3.1.0-pre to make a .so file.
However, I am getting an error on giving the prompt “make”.
The screenshot is attached below.
Yes, I did edit the global.h file. I changed the path of the global.h file from what it was before to where the file is actually located. But I’m not sure if I did that correctly.
Attached below is a screenshot of the global.h file
Well, change it back, it was correct all along You need the file that’s called config.h, not the one that’s called config.h.in. They’re not the same, and it’s not a surprise that things don’t compile
Best
W.
Wolfgang, I don’t think you need to switch build type for a plugin. If ASPECT is built in DebugRelease, the plugin will automatically compile both versions and pick the correct one at runtime.