Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - LOSOWY

Pages: [1]
1
General / Solved: I can't build sfeMovie properly
« on: February 02, 2020, 05:20:57 pm »
Hi, I'm developing my new game and I wanted to put cutscenes. I was searching a little bit and I found this: https://github.com/Yalir/sfeMovie
I was trying to build it with the official tutorial and with this: https://mightynotes.wordpress.com/2017/05/11/building-sfemovie-on-msys2-a-hacky-way/ but both failed miserably. I just want 32 bit DLLs and LIBs, but it's always trying to build on x64 (BTW, I have absolutely no clue how to use CMake).
I spent like 5 hours trying to make this work, but the MSYS2 tutorial didn't have .lib files and CMake tutorial failed when I was compiling everything in VS2019 after CMake process was done :'(

Maybe sfeMovie is outdated and there is a new way to build it?
I don't know, please explain me how to do this ;D

(SFML 2.5.1, 32Bit, C++, VS2019)

Solved:
I got it working, so here is what I did if someone needs it:
1. Clone repo from GitHub
2. Open Visual Studio (i have 2019 ver.) Developer command prompt
3. Type:
cmake -G "Visual Studio 16 2019" -A Win32 -S \path_to_source\ -B "path to your destination folder"
(if there are errors in code, i had 2 in VideoStream.cpp and 1 in Stream.cpp and run command again)
then
cmake --build "path to your destination folder" --config Release
4. Note: I had to change few lines in 2 .cmake files, because it couldn't find SFML folder and MSYS2 bash.exe

Pages: [1]
anything