Xreal problem

Discuss programming topics for any language, any source base. If it is programming related but doesn't fit in one of the below categories, it goes here.
Post Reply
franqutrass
Posts: 69
Joined: Wed Dec 30, 2009 6:29 pm
Location: peru
Contact:

Xreal problem

Post 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?
hello
franqutrass
Posts: 69
Joined: Wed Dec 30, 2009 6:29 pm
Location: peru
Contact:

Re: Xreal problem

Post by franqutrass »

Here's the source code link:
https://github.com/raynorpat/cake3
hello
ericw
Posts: 92
Joined: Sat Jan 18, 2014 2:11 am

Re: Xreal problem

Post by ericw »

franqutrass
Posts: 69
Joined: Wed Dec 30, 2009 6:29 pm
Location: peru
Contact:

Re: Xreal problem

Post by franqutrass »

I have downloaded from that link, but seems not to be working, when try to use the "premake4_vs2010.bat", nothing happens.
hello
ericw
Posts: 92
Joined: Sat Jan 18, 2014 2:11 am

Re: Xreal problem

Post 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?
franqutrass
Posts: 69
Joined: Wed Dec 30, 2009 6:29 pm
Location: peru
Contact:

Re: Xreal problem

Post 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
hello
revelator
Posts: 2621
Joined: Thu Jan 24, 2008 12:04 pm
Location: inside tha debugger

Re: Xreal problem

Post 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.
Productivity is a state of mind.
franqutrass
Posts: 69
Joined: Wed Dec 30, 2009 6:29 pm
Location: peru
Contact:

Re: Xreal problem

Post by franqutrass »

Copied the SDL2.dll, but now it shows me another problem: (0xc000007b) :?
hello
qbism
Posts: 1236
Joined: Thu Nov 04, 2004 5:51 am
Contact:

Re: Xreal problem

Post by qbism »

If it did not complain about the wrong version, it may be a 32-bit/ 64-bit mismatch between exe and dll.
revelator
Posts: 2621
Joined: Thu Jan 24, 2008 12:04 pm
Location: inside tha debugger

Re: Xreal problem

Post 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
Productivity is a state of mind.
Post Reply