Views: 1,054,939 Homepage | Main | Rules/FAQ | Memberlist | Active users | Last posts | Calendar | Stats | Online users | Search 10-23-20 08:29 PM
Guest:

Main - Posts by mauchi


mauchi
Posted on 06-10-20 06:08 AM, in Building melonDS in Windows with Code:Blocks Link | #1857
I followed the instructions from Nadia, I executed the following command:

g++ -O3 src/*.cpp -static -static-libgcc -static-libstdc++ $(pkg-config --static --cflags --libs sdl2) $(wx-config-static --cflags --libs core,base) -Isrc -I/mingw64/include/wx-3.0 -I/mingw64/lib/wx/include/msw-unicode-3.0/ -o melonDS.exe

For the branch "betterer_wifi", omitting the wx folder, which doesn't exist.

But it returns the following error:

C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -ljbig
collect2.exe: error: ld returned 1 exit status

What can I do?

Thanks

mauchi
Posted on 06-11-20 08:19 AM, in Building melonDS in Windows with Code:Blocks (rev. 2 of 06-11-20 08:20 AM) Link | #1861
I tried to compile the master branch and I got the same error

C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -ljbig
collect2.exe: error: ld returned 1 exit status

Exectuing the following command

g++ -O3 src/*.cpp -static -static-libgcc -static-libstdc++ $(pkg-config --static --cflags --libs sdl2) $(wx-config-static --cflags --libs core,base) -Isrc -I/mingw64/include/wx-3.0 -I/mingw64/lib/wx/include/msw-unicode-3.0/ -o melonDS.exe

How can I compile the master branch successfully?

Thanks

mauchi
Posted on 06-11-20 10:36 AM, in Building melonDS in Windows with Code:Blocks Link | #1862
I solve the jbig problem installing the lib with this command

pacman -S mingw-w64-x86_64-jbigkit

now i got a lot of undefined reference errors.

Is there a way to compile on windows the master branch?

Thanks


Main - Posts by mauchi

Page rendered in 0.012 seconds. (2048KB of memory used)
MySQL - queries: 22, rows: 69/69, time: 0.009 seconds.
[powered by Acmlm] Acmlmboard 2.064 (2018-07-20)
© 2005-2008 Acmlm, Xkeeper, blackhole89 et al.