ibm-capi / pslse

Power Service Layer Simulation Engine
28 stars 22 forks source link

VPI_USER_H_DIR variable #84

Closed lemon34 closed 7 years ago

lemon34 commented 7 years ago

i don't know where VPI_USER_H_DIR is and how to set it

umarajag commented 7 years ago

If you are using ncsim for simulation, your ncsim could be found at a path $TOOLS_DIR/tools/cds/Incisiv/prod/tools/bin/ncsim if so, your $VPI_USER_H_DIR path should be $TOOLS_DIR/tools/cds/Incisiv/prod/vola/include

If you are using xsim for simulation, your tools path would be $XSIM_DIR/bin/xsim your $VPI_USER_H_DIR path should be $XSIM_DIR/data/xsim/include

lemon34 commented 7 years ago

thank you for your answer

umarajag commented 7 years ago

Question: hello ,when i use "make" to compile Makefile in sample_app directory,it post the error in the pic. undefined reference to "pthread_join" undefined reference to "pthread_create" i use libcxl.so ,when i make sample_app/app.c, it post that error .But when i used the Makefile_a and libcxl.a , it will be success.can you explain this problem?

Answer: Dynamic Loading of shared objects requires the LD_LIBRARY_PATH variable to set properly, with pointers to the shared object file location. Please set the LD_LIBRARY_PATH appropriately