Xreal problem
-
- Posts: 69
- Joined: Wed Dec 30, 2009 6:29 pm
- Location: peru
- Contact:
Xreal problem
Hello, I've downloaded the Xreal source code, and I want to compile it using visual studio c++, but there aren't any .snl or .svproj files in there, and I found in the "readme", there is some kind of .bat file called "premake4_vs2010" which is supposed to make those files, but it doesn't work. Is there any way to make it work?
hello
-
- Posts: 69
- Joined: Wed Dec 30, 2009 6:29 pm
- Location: peru
- Contact:
Re: Xreal problem
Did you install premake?https://premake.github.io/download.html
-
- Posts: 69
- Joined: Wed Dec 30, 2009 6:29 pm
- Location: peru
- Contact:
Re: Xreal problem
I have downloaded from that link, but seems not to be working, when try to use the "premake4_vs2010.bat", nothing happens.
hello
Re: Xreal problem
I haven't tried building this yet, but it sounds like you should put the premake4.exe in the same directory as premake4_vs2010.bat, and then run the bat. did you try that? there's no error message?
-
- Posts: 69
- Joined: Wed Dec 30, 2009 6:29 pm
- Location: peru
- Contact:
Re: Xreal problem
I fix that problem, now I've got another problem, When I try to open the executable I got from the compilation it sends me an error something related with a SDL2.dll, it says I dont have that .dll file
hello
Re: Xreal problem
Get the precompiled SDL2.dll from the SDL site and put it in the same folder as the executable
Might also be other dll's been a while since i toyed with xreal.
Might also be other dll's been a while since i toyed with xreal.
Productivity is a state of mind.
-
- Posts: 69
- Joined: Wed Dec 30, 2009 6:29 pm
- Location: peru
- Contact:
Re: Xreal problem
If it did not complain about the wrong version, it may be a 32-bit/ 64-bit mismatch between exe and dll.
Re: Xreal problem
aye make sure the dll you use is for the right arch x86 or x64.
if you are not sure get depends.exe and open xreal with it, it will tell you if its a 64 bit or 32 bit executable. it also tells you if you need other dll's besides SDL2
if you are not sure get depends.exe and open xreal with it, it will tell you if its a 64 bit or 32 bit executable. it also tells you if you need other dll's besides SDL2
Productivity is a state of mind.