mirror of
https://github.com/opencv/opencv.git
synced 2024-11-25 19:50:38 +08:00
JS: Provides meaningful message in case of compile issues
This commit is contained in:
parent
35bee663eb
commit
95b1fe0776
@ -103,4 +103,7 @@ if __name__ == "__main__":
|
||||
if len(sys.argv) > 2:
|
||||
opencvjs = sys.argv[1]
|
||||
cvjs = sys.argv[2]
|
||||
if not os.path.isfile(opencvjs):
|
||||
print('opencv.js file not found! Have you compiled the opencv_js module?')
|
||||
exit()
|
||||
make_umd(opencvjs, cvjs);
|
||||
|
Loading…
Reference in New Issue
Block a user