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

Error in Windows 10 x64 #8

Open
fithisux opened this issue Nov 27, 2018 · 9 comments
Open

Error in Windows 10 x64 #8

fithisux opened this issue Nov 27, 2018 · 9 comments

Comments

@fithisux
Copy link

fithisux commented Nov 27, 2018

I get the following error on windows (after running the luaenv.bat where I fixed the folder of lua)

C:\winoss\consolez>cd c:\work\DeepStack-Leduc\Source

c:\work\DeepStack-Leduc\Source>lua Tree\Tests\test_tree_builder.lua
lua: c:\winoss\lua53\share\lua\5.3\torch\init.lua:13: cannot load 'c:\winoss\lua53\bin\libtorch.dll'
stack traceback:
        [C]: in function 'libpaths.require'
        c:\winoss\lua53\share\lua\5.3\torch\init.lua:13: in main chunk
        [C]: in function 'require'
        .\Settings\arguments.lua:4: in main chunk
        [C]: in function 'require'
        Tree\Tests\test_tree_builder.lua:1: in main chunk
        [C]: in ?

c:\work\DeepStack-Leduc\Source>

Any ideas what I need to install additionally? My PATH is as much clean as I can. I took lua from

Ravi-Distro 0.5.1 alpha release

@dibyendumajumdar
Copy link
Owner

Hi, I think there are some torch scripts that you may need to update.can you search for any file where the default path is set? Sorry I don't have access to my machine right now but I can check tonight

@fithisux
Copy link
Author

Thank you for the comment. Will search now.

@fithisux
Copy link
Author

Unfortunately, I could not find anything related.

@dibyendumajumdar
Copy link
Owner

dibyendumajumdar commented Nov 27, 2018

Hi, did you look at share/lua/5.3/torch/paths.lua in the distro?

@dibyendumajumdar
Copy link
Owner

dibyendumajumdar commented Nov 27, 2018

Please could you confirm that installing under \Software\lua53 works? I will test how to move it to another location.

@dibyendumajumdar
Copy link
Owner

I did a quick test. If you modify share/lua/5.3/torch/paths.lua in the distro to match your installation folder it should work.

@fithisux
Copy link
Author

Hi, I did the change but the error persists. It talks about the DLL, not a path. How did you compile it? Do I need a specific VC runtime?

@fithisux
Copy link
Author

It is not a bug. I did not install Visual Studio 2017 redistributable. Sorry for this.

@dibyendumajumdar
Copy link
Owner

No probs. Please let me know if you face any other issues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants