Page 1 of 1
Xreal problem
Posted: Mon Jul 06, 2015 4:46 pm
by franqutrass
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?
Re: Xreal problem
Posted: Mon Jul 06, 2015 4:53 pm
by franqutrass
Re: Xreal problem
Posted: Tue Jul 07, 2015 6:50 pm
by ericw
Re: Xreal problem
Posted: Tue Jul 07, 2015 9:57 pm
by franqutrass
I have downloaded from that link, but seems not to be working, when try to use the "premake4_vs2010.bat", nothing happens.
Re: Xreal problem
Posted: Wed Jul 08, 2015 1:15 am
by ericw
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?
Re: Xreal problem
Posted: Wed Jul 08, 2015 2:35 am
by franqutrass
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
Re: Xreal problem
Posted: Wed Jul 08, 2015 5:32 am
by revelator
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.
Re: Xreal problem
Posted: Wed Jul 08, 2015 8:12 pm
by franqutrass
Copied the SDL2.dll, but now it shows me another problem: (0xc000007b) :?
Re: Xreal problem
Posted: Fri Jul 10, 2015 2:28 am
by qbism
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
Posted: Sat Jul 11, 2015 3:20 am
by revelator
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