| ||
| Views: 32,673,146 | Homepage | Main | Rules/FAQ | Memberlist | Active users | Last posts | Calendar | Stats | Online users | Search | 08-10-26 04:43 PM |
| Guest: | ||
| 0 users reading Building melonDS in Windows with Code:Blocks | 1 bot |
| Main - General - Building melonDS in Windows with Code:Blocks | Hide post layouts | New reply |
| Lurkon01 |
| ||
|
Newcomer Normal user Level: 7 Posts: 6/7 EXP: 1073 Next: 375 Since: 05-28-17 Last post: 3322 days ago Last view: 2903 days ago |
Ah ok, no worries ![]() |
| telon22 |
| ||
|
Newcomer Normal user Level: 6 Posts: 4/5 EXP: 645 Next: 262 Since: 06-24-17 Last post: 3311 days ago Last view: 3309 days ago |
Posted by Nadia I was able to build the exe file but upon running the compiled exe I get this error :/ https://i.imgur.com/yhdxSNw.png |
| mauchi |
| ||
|
Newcomer Normal user Level: 4 Posts: 1/3 EXP: 246 Next: 33 Since: 06-10-20 Last post: 2251 days ago Last view: 2249 days ago |
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 |
| Arisotura |
| ||
![]() Big fire melon magical melon girl Level: 65
Posts: 533/1136 EXP: 2239983 Next: 95645 Since: 03-28-17 From: France Last post: 35 days ago Last view: 2 days ago |
don't try to compile betterer_wifi anyway, it's a trainwreck. it was a quick attempt but it performs even worse than the regular wifi. ____________________ Kuribo64 |
| mauchi |
| ||
|
Newcomer Normal user Level: 4 Posts: 2/3 EXP: 246 Next: 33 Since: 06-10-20 Last post: 2251 days ago Last view: 2249 days ago |
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 |
| ||
|
Newcomer Normal user Level: 4 Posts: 3/3 EXP: 246 Next: 33 Since: 06-10-20 Last post: 2251 days ago Last view: 2249 days ago |
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 |
| Arisotura |
| ||
![]() Big fire melon magical melon girl Level: 65
Posts: 537/1136 EXP: 2239983 Next: 95645 Since: 03-28-17 From: France Last post: 35 days ago Last view: 2 days ago |
wait, what's 'wx-config-static' doing in there?
you might have been following pretty outdated build instructions, we haven't been using wxWidgets in ages (if so, I'd like to know where you found these instructions, so I can fix that) you can (and should) use CMake ____________________ Kuribo64 |
| Main - General - Building melonDS in Windows with Code:Blocks | Hide post layouts | New reply |
|
Page rendered in 0.054 seconds. (2048KB of memory used) MySQL - queries: 28, rows: 89/89, time: 0.042 seconds.
Acmlmboard 2.064 (2018-07-20)© 2005-2008 Acmlm, Xkeeper, blackhole89 et al. |