Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adjust dpsim docs for cases with InterfaceVillas #321

Open
SystemsPurge opened this issue Oct 10, 2024 · 1 comment
Open

Adjust dpsim docs for cases with InterfaceVillas #321

SystemsPurge opened this issue Oct 10, 2024 · 1 comment
Assignees
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@SystemsPurge
Copy link

SystemsPurge commented Oct 10, 2024

Following this example:
https://dpsim.fein-aachen.org/docs/tasks/create-simulation/
The cmakelists file should also have dpsim-villas, villas-common and jansson next to dpsim in the target link libraries, for scenarios that use InterfaceVillas otherwise it does not work. This is because , i take it, not all dpsim simulations are going to reference the InterfaceVillas so they are not automatically linked, although it could be adjusted with some option/flag.
It might be a bug because cmake does manage to find libvillas, although the variable for the villas libraries in the cmakelists is expecting multiple libraries. It does not make sens for it to link villas automatically but villas-common only sometimes

TO REPRODUCE:
Run https://dpsim.fein-aachen.org/docs/tasks/create-simulation/ with a scenario that contains interfacevillas/interfaceworkervillas code.

@SystemsPurge SystemsPurge changed the title Building DPsim with InterfaceVillas does not seem to link libvillas and libjansson correctly Adjust dpsim docs for cases with InterfaceVillas Oct 10, 2024
@leonardocarreras leonardocarreras added bug Something isn't working help wanted Extra attention is needed labels Oct 11, 2024
@pipeacosta
Copy link
Collaborator

I can help 😊

@pipeacosta pipeacosta self-assigned this Oct 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants