Open inukaze opened 5 years ago
@protoman you mean x64 right
so i need to change their names from mingw81_64 to mingwx64 and mingw_32 to mingwx32
also what do i do with the makefile
also i did rename -LC:\Qt\4.8.4\lib to -LC:\Qt\5.15.0\lib
and i still get the error cannot find -lSDL
and the error is C:/Qt/Tools/mingw810_32/bin/../lib/gcc/i686-w64-mingw32/8.1.0/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -lSDL
i cant see the full error
and there is another error which is collect2.exe: error: ld returned 1 exit status
Something is wrong in your path and it is not finding libsdl.a, this is the issue, you need to fix your path, don't rename them on your windows, just point to the right path in Rockbot.pro, if needed, add entries for your lib folders where you placed the SDL library files.
The last error is just linker telling you it has failed.
Iuri Fiedoruk, Software Developer
On Wed, Jul 8, 2020 at 5:01 AM cypherpunks132 notifications@github.com wrote:
and there is another error which is collect2.exe: error: ld returned 1 exit status
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/protoman/rockbot/issues/115#issuecomment-655357992, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJ6XRGHARD7DVDAC6L4TBLR2QRXJANCNFSM4HH5UDDQ .
i cant find the file libsdl.a
Iuri Fiedoruk, Software Developer
On Wed, Jul 8, 2020 at 10:04 AM cypherpunks132 notifications@github.com wrote:
i cant find the file libsdl.a
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/protoman/rockbot/issues/115#issuecomment-655506032, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJ6XRA4SG6HJSJR4YVB24DR2RVHLANCNFSM4HH5UDDQ .
ok
https://drive.google.com/file/d/1EgUtn6PAY3Dbqa_nNEsaVAjZIIwXsMoQ/view?usp=sharing Put those in your qt/mingw/lib folder.
https://drive.google.com/file/d/1J_C9ybinaq6NqwYXxolsFSD5J65EddxR/view?usp=sharing Store that for later, when running the game.
The configuration I used: Version:1.0 StartHTML:0000000107 EndHTML:0000003931 StartFragment:0000000127 EndFragment:0000003893
win32 {
DEFINES += WIN32
LIBS = -lSDL_mixer -lSDL_image -lSDL_ttf -lSDL_gfx -lmingw32
-lSDL -mwindows -LC:\Qt\5.15.0\mingw81_32\lib -L/usr/lib -L/usr/lib/x86 -LC:\MinGW\lib -LC:\MinGW\lib\x86 -LC:\Qt\5.15.0\mingw81_32\lib\x86
INCLUDES = -I/usr/include/SDL -I/usr/include -I. -I./include
-L/usr/lib -IC:\Qt\5.15.0\mingw81_32\include
QMAKE_CCFLAGS += -DWIN32 -DPC
QMAKE_CXXFLAGS += -DWIN32 -DPC -IC:\Qt\5.15.0\mingw81_32\
-IC:\Qt\5.15.0\mingw81_32\include -LC:\Qt\5.15.0\mingw81_32\lib
CONFIG -= console
}
With that I was able to build.
For running it, there are a few extra steps needed, but let's first try to compile it ;)
-- Iuri Fiedoruk, Software Developer
On Wed, Jul 8, 2020 at 10:07 AM cypherpunks132 notifications@github.com wrote:
ok
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/protoman/rockbot/issues/115#issuecomment-655507651, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJ6XRHSIBHNKUP2UDZVZNTR2RVSLANCNFSM4HH5UDDQ .
Iuri Fiedoruk, Software Developer
On Wed, Jul 8, 2020 at 10:14 AM Iuri Fiedoruk protoman@upperland.net wrote:
https://drive.google.com/file/d/1EgUtn6PAY3Dbqa_nNEsaVAjZIIwXsMoQ/view?usp=sharing Put those in your qt/mingw/lib folder.
https://drive.google.com/file/d/1J_C9ybinaq6NqwYXxolsFSD5J65EddxR/view?usp=sharing Store that for later, when running the game.
The configuration I used: Version:1.0 StartHTML:0000000107 EndHTML:0000003931 StartFragment:0000000127 EndFragment:0000003893
win32 {
DEFINES += WIN32 LIBS = -lSDL_mixer -lSDL_image -lSDL_ttf -lSDL_gfx -lmingw32 -lSDL -mwindows -LC:\Qt\5.15.0\mingw81_32\lib -L/usr/lib -L/usr/lib/x86 -LC:\MinGW\lib -LC:\MinGW\lib\x86 -LC:\Qt\5.15.0\mingw81_32\lib\x86 INCLUDES = -I/usr/include/SDL -I/usr/include -I. -I./include -L/usr/lib -IC:\Qt\5.15.0\mingw81_32\include QMAKE_CCFLAGS += -DWIN32 -DPC QMAKE_CXXFLAGS += -DWIN32 -DPC -IC:\Qt\5.15.0\mingw81_32\ -IC:\Qt\5.15.0\mingw81_32\include -LC:\Qt\5.15.0\mingw81_32\lib CONFIG -= console
}
With that I was able to build.
For running it, there are a few extra steps needed, but let's first try to compile it ;)
-- Iuri Fiedoruk, Software Developer
On Wed, Jul 8, 2020 at 10:07 AM cypherpunks132 notifications@github.com wrote:
ok
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/protoman/rockbot/issues/115#issuecomment-655507651, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJ6XRHSIBHNKUP2UDZVZNTR2RVSLANCNFSM4HH5UDDQ .
error: [Makefile:245: Makefile] Error 3
Iuri Fiedoruk, Software Developer
On Wed, Jul 8, 2020 at 10:27 AM cypherpunks132 notifications@github.com wrote:
error: [Makefile:245: Makefile] Error 3
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/protoman/rockbot/issues/115#issuecomment-655519515, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJ6XRAXX7GA2ME4MGR5APDR2RX5DANCNFSM4HH5UDDQ .
done
when i try to compile the master branch it starts but it starts directly in a stage instead of the main menu
This is just because quickload is true. It is a debug option so I can test with less time until getting im the stage. I will make a new build later and remove it.
Em qua, 8 de jul de 2020 13:03, cypherpunks132 notifications@github.com escreveu:
when i try to compile the master branch it starts but it starts directly in a stage instead of the main menu
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/protoman/rockbot/issues/115#issuecomment-655610306, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJ6XRDNFXYD7TVG2CVYKMTR2SKDXANCNFSM4HH5UDDQ .
how do i set quickload to false
Iuri Fiedoruk, Software Developer
On Wed, Jul 8, 2020 at 1:38 PM cypherpunks132 notifications@github.com wrote:
how do i set quickload to false
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/protoman/rockbot/issues/115#issuecomment-655629155, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJ6XRGMSTP3IRHAELXBHNLR2SOJDANCNFSM4HH5UDDQ .
so change true to false
Iuri Fiedoruk, Software Developer
On Wed, Jul 8, 2020 at 1:59 PM cypherpunks132 notifications@github.com wrote:
so change true to false
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/protoman/rockbot/issues/115#issuecomment-655639506, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJ6XRETJZ6FLFU7NYDUWZ3R2SQVLANCNFSM4HH5UDDQ .
or do i remove the # from #itdef pc
Man, I have to work. Google it. If you don't know how to comment out a line of code in C++, I am not the one who will teach you.
Em qua, 8 de jul de 2020 14:02, cypherpunks132 notifications@github.com escreveu:
or do i remove the # from #itdef pc
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/protoman/rockbot/issues/115#issuecomment-655641182, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJ6XRDX6RUJVZMIRRVILZDR2SRBTANCNFSM4HH5UDDQ .
i did comment out but nothing changed
i am not sure what point in the line i am supposed to comment out
also there are multiple GAME_FLAGS[FLAG_QUICKLOAD] = true;
fixed
can anyone help me compile the old commit 1182e7dbfe3b9ee2174ea0b4218dbb9747c89cd2
Hi there, where are the instructions for how compile the source code because i do the follow :
make: *** No se especificó ningún objetivo y no se encontró ningún makefile. Alto.
ok i try again :
g++ -m64 -Wl,-O1 -o rockbot -L/usr/X11R6/lib64 -lQt5Gui -lQt5Core -lGL -lpthread /usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu/Scrt1.o: En la función
_start': (.text+0x20): referencia a
main' sin definir collect2: error: ld returned 1 exit status Makefile:173: fallo en las instrucciones para el objetivo 'rockbot' make: *** [rockbot] Error 1