Search code examples
omnet++veins

When compiling INET, veins and other libraries, sometimes you will be prompted with error: cannot load Library '/. / SRC / /


enter image description here

<!> Error: Cannot load library '../../src//libveins.so': ../../src//libveins.so: cannot open shared object file: No such file or directory

End.


Solution

  • I had a similar error once because I had forgotten to build VEINS and I was trying to run the example. After using Built All (Project -> Built All or ctrl+B) I didn't get this error again.