Homebrew Citra - Unofficial \ Chinese builds discussion

  • Thread starter Thread starter masaki88
  • Start date Start date
  • Views Views 3,239,670
  • Replies Replies 9,660
  • Likes Likes 16
Do Use these other left over commands too - https://gbatemp.net/threads/citra-unofficial-chinese-builds-discussion.431974/page-123#post-6854126

My final build worked fine, although some times to re-build you have to delete the build folder, are not commands not work again in MYSY2 , no idea why ..

There's a lot of strange things in there you don't need to do. No need to add mingw64 to your windows path. Don't need to install msys gcc and make. Have you tried the more... explicit ... Instructions that I added to the wiki page?
 
Last edited by jroweboy,
There's a lot of strange things in there you don't need to do. No need to add mingw64 to your windows path. Don't need to install msys gcc and make. Have you tried the more... explicit ... Instructions that I added to the wiki page?

Ok thanks, the main .exe builds OK though, yep can remove a bit of that non need junk.

Not yet but will give it a go first thing in the morning.

Maybe a git of rounding up might be better
Ie like
pacman -S mingw-w64-x86_64-toolchain
mingw-w64-x86_64-qt5 mingw-w64-x86_64-SDL2
mingw-w64-x86_64-cmake git gcc mingw-w64-x86_64-gcc
mingw-w64-x86_64-boost mingw-w64-x86_64-make
make base-devel Sy Syu Su git

Just remove the not neeeded ones gcc est ^
But put warning may take 6GB of your HDD

EDIT: also note to make sure all source files are in you C:\msys64\home\"User-Name"
Folder, make it easy-er that way while using commands .

EDIT: seams to be building a lot faster then be four .

EDIT: anyone know about the building flags ?, AVX / SSE2 / 3 / 4.1 est ?
 
Last edited by drwhojan,
Ok thanks, the main .exe builds OK though, yep can remove a bit of that non need junk.

Not yet but will give it a go first thing in the morning.

Maybe a git of rounding up might be better
Ie like


Just remove the not neeeded ones gcc est ^
But put warning may take 6GB of your HDD

EDIT: also note to make sure all source files are in you C:\msys64\home\"User-Name"
Folder, make it easy-er that way while using commands .

EDIT: seams to be building a lot faster then be four .

EDIT: anyone know about the building flags ?, AVX / SSE2 / 3 / 4.1 est ?
-j4 means use 4 cores for building. Increase that number up to the number of cores you have to speed up compile times. Also the wiki already has the exact list of things that you need to install. Anything else is extraneous. Compile flags and crap like that need to be edited into the cmakelist file
 
  • Like
Reactions: drwhojan and ts61fa
-j4 means use 4 cores for building. Increase that number up to the number of cores you have to speed up compile times. Also the wiki already has the exact list of things that you need to install. Anything else is extraneous. Compile flags and crap like that need to be edited into the cmakelist file

Aw got you, thank so much for this information be very useful .
I wish I could do that but not much knowledge about how to do them flags, maybe Dampih could let us know how he did that ?.

Anyway, thanks again and good night from this end, good day to you.

I suppose, is done manual but would need to auto link the needed .dll library's
 
Last edited by drwhojan,
Aw got you, thank so much for this information be very useful .
I wish I could do that but not much knowledge about how to do them flags, maybe Dampih could let us know how he did that ?.

Anyway, thanks again and good night from this end, good day to you.

I suppose, is done manual but would need to auto link the needed .dll library's
Look at this fragment of CMakeLists.txt:

if (MINGW)
add_definitions(-DMINGW_HAS_SECURE_API=1 -DMICROPROFILE_ENABLED=0)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -msse -msse2")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -msse -msse2")

Two last lines... there you have specified the secret of the optimization flags, simply add the desired ones (-mavx, -msse4...)
 
  • Like
Reactions: drwhojan
Aw got you, thank so much for this information be very useful .
I wish I could do that but not much knowledge about how to do them flags, maybe Dampih could let us know how he did that ?.

Anyway, thanks again and good night from this end, good day to you.

I suppose, is done manual but would need to auto link the needed .dll library's

"auto link" the dlls...? you mean build a static build? I put a little blurb about that at the end of the wiki article
 
Looks like Bravely Default and Second fixes aren't live on the new bleeding edge build.

Had to re-install the previous BE version and apply the files provided by drwhojan(Thank you so very much btw! Was trying to compile a version with shrds' fixes forever and kept failing)

Anyway just wanted to give ppl a heads up regarding the Bravely series and citra.
 
There's a lot of strange things in there you don't need to do. No need to add mingw64 to your windows path. Don't need to install msys gcc and make. Have you tried the more... explicit ... Instructions that I added to the wiki page?
Hi,

I managed to make a build using the wiki page instructions, but I need to change two things:

1. cmake -G "MSYS Makefiles" -DCMAKE_BUILD_TYPE=Release ..
gives error compiler not found. I changed it:
cmake -G "MinGW Makefiles" -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH=/mingw64 ..
And it worked perfectly.

2. For static build:
Add -DMINGW_STATIC_BUILD to the cmake command line
Process aborted, bad sintax. I changed it to:
Add -DMINGW_STATIC_BUILD=true to the cmake command line.
And it started building, but returned an error at 96%:
[ 96%] Linking CXX executable citra-qt.exe
CMakeFiles\citra-qt.dir/objects.a(main.cpp.obj):main.cpp:(.text.startup+0xe): undefined reference to `qt_static_plugin_QWindowsIntegrationPlugin()'
collect2.exe: error: ld returned 1 exit status
src\citra_qt\CMakeFiles\citra-qt.dir\build.make:1056: recipe for target 'src/citra_qt/citra-qt.exe' failed
mingw32-make[2]: *** [src/citra_qt/citra-qt.exe] Error 1
CMakeFiles\Makefile2:953: recipe for target 'src/citra_qt/CMakeFiles/citra-qt.dir/all' failed
mingw32-make[1]: *** [src/citra_qt/CMakeFiles/citra-qt.dir/all] Error 2
Makefile:93: recipe for target 'all' failed
mingw32-make: *** [all] Error 2

And I have mingw-w64-x86_64-qt5-static installed.
 
21 is perfect.

The scaling options is interesting, but like the 20.11 build I can't get my gamepad to work even if I manually type it in the config unlike the 9/15 9/24 builds. I'm also seeing about 3 frames less then the 20.11 build, still that won't be a problem if it stable.
 
The scaling options is interesting, but like the 20.11 build I can't get my gamepad to work even if I manually type it in the config unlike the 9/15 9/24 builds. I'm also seeing about 3 frames less then the 20.11 build, still that won't be a problem if it stable.
It doesn't seem to crash and there's no frame drop :)
 
Hi,

I managed to make a build using the wiki page instructions, but I need to change two things:

1. cmake -G "MSYS Makefiles" -DCMAKE_BUILD_TYPE=Release ..
gives error compiler not found. I changed it:
cmake -G "MinGW Makefiles" -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH=/mingw64 ..
And it worked perfectly.

Shouldn't have to do that. That means that you are probably not in the mingw64 shell since it should be set up with /mingw64/bin in the path already (that or your mingw64 shell is borked.)

2. For static build:
Add -DMINGW_STATIC_BUILD to the cmake command line
Process aborted, bad sintax. I changed it to:
Add -DMINGW_STATIC_BUILD=true to the cmake command line.

-DMINGW_STATIC_BUILD=1 is fine as well, it just has to be non zero. I'll update the wiki then since its a little misleading

And it started building, but returned an error at 96%:
[ 96%] Linking CXX executable citra-qt.exe
CMakeFiles\citra-qt.dir/objects.a(main.cpp.obj):main.cpp:(.text.startup+0xe): undefined reference to `qt_static_plugin_QWindowsIntegrationPlugin()'
collect2.exe: error: ld returned 1 exit status
src\citra_qt\CMakeFiles\citra-qt.dir\build.make:1056: recipe for target 'src/citra_qt/citra-qt.exe' failed
mingw32-make[2]: *** [src/citra_qt/citra-qt.exe] Error 1
CMakeFiles\Makefile2:953: recipe for target 'src/citra_qt/CMakeFiles/citra-qt.dir/all' failed
mingw32-make[1]: *** [src/citra_qt/CMakeFiles/citra-qt.dir/all] Error 2
Makefile:93: recipe for target 'all' failed
mingw32-make: *** [all] Error 2

And I have mingw-w64-x86_64-qt5-static installed.

Do you still have the non static qt5 installed? If so, i'm guessing cmake is finding the non static QT5 instead of the static one, so it can't link. Check the CMakeCache to see what the Qt5_DIR variable is, If its not the directory to qt5-static then you need to explicitly set the Qt5_DIR to the location of qt5-static instead. ( -DQt5_DIR=/path/to/qt5-static )
 
Esboço (5).png


--------------------- MERGED ---------------------------

Getting this error every time from cmake
 

Site & Scene News

Popular threads in this forum