I am very new to OMNeT++ and probably I miss something basic.
I use OMNeT++ IDE. When I run omnetpp.ini
as OMNeT++ Simulation
I get the error
<!> Error: Cannot load library '../../src//libveins.dll': The specified procedure could not be found
which is self explanatory. My problem is that the file libveins.dll
is indeed located in src
folder and I do not understand why it cannot be found (see picture below)
I was browsing in the files trying to track where the error is coming from, but I did not find the place where libveins.dll
would be loaded.
Does anybody know how to solve the issue?
I think this error might be due to more than one factor so you should provide more information. I had something similar while using incompatible versions of Omnetpp and Veins. Maybe you'd want to share your host system and the versions you're using. For me was enough to test different versions of the program and the frameworks. Also import/reference one framework at a time, so you know if it's a compatibility fault. E.g. I could not use veins and inet at same time for some reason.
Another hint: From your screenshot I see a red cross on the "subprojects" folder so maybe you set that as a NED source file directory? Make sure these boxes are selected.
I'd suggest to follow this video for veins_inet cooperation: https://youtu.be/mGvhbrw05sQ?list=PLaBPUIXZ8s4AwAk5EelikvvyG4EzX2hpx