Hi guys, few question about compiling. - Page 2

Hi guys, few question about compiling.

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderator: Moderators

-Y-
Posts: 12
Joined: 24 Jul 2011, 22:08

Re: Hi guys, few question about compiling.

Post by -Y- »

Yes, though it hasn't reported any problems.

EDIT: What problems does Comodo cause? Should I turn it off/deinstall it? Or do make install-spring with Comodo turned off?
abma
Spring Developer
Posts: 3798
Joined: 01 Jun 2009, 00:08

Re: Hi guys, few question about compiling.

Post by abma »

looks like the firewall is the cause of the crash... disable it completely or uninstall it. gdb + comodo doesn't seem to work.

for example see: https://svn.kvirc.de/kvirc/ticket/973 or http://forums.comodo.com/bug-reports/gu ... 287.0.html or http://forums.comodo.com/bug-reports/co ... ;msg150932 or ...


please completely disable comodo + rerun with gdb.
-Y-
Posts: 12
Joined: 24 Jul 2011, 22:08

Re: Hi guys, few question about compiling.

Post by -Y- »

Quitting and disabling didn't work so I uninstalled it.
Here is the new error log:

Code: Select all

C:\Program Files (x86)\Spring>gdb spring.exe
GNU gdb (GDB) 7.2
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "mingw32".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from C:\Program Files (x86)\Spring/spring.exe...done.
(gdb) run
Starting program: C:\Program Files (x86)\Spring/spring.exe
[New Thread 4468.0x1178]

Program received signal SIGSEGV, Segmentation fault.
0x77cae166 in ntdll!LdrWx86FormatVirtualImage ()
   from C:\Windows\system32\ntdll.dll
(gdb) bt full
#0  0x77cae166 in ntdll!LdrWx86FormatVirtualImage ()
   from C:\Windows\system32\ntdll.dll
No symbol table info available.
#1  0x00000000 in ?? ()
No symbol table info available.
(gdb)
abma
Spring Developer
Posts: 3798
Joined: 01 Jun 2009, 00:08

Re: Hi guys, few question about compiling.

Post by abma »

currently no idea, sorry.

it looks like windows can't load the executable... some dll broken/something went wrong while compiling?
-Y-
Posts: 12
Joined: 24 Jul 2011, 22:08

Re: Hi guys, few question about compiling.

Post by -Y- »

Probably... You guys use Linux, right? Does Spring work good on Ubuntu?
abma
Spring Developer
Posts: 3798
Joined: 01 Jun 2009, 00:08

Re: Hi guys, few question about compiling.

Post by abma »

if you use the ppa, yes. otherwise you may get desyncs. (we are still searching the cause...)

just an easy check: download http://springrts.com/dl/buildbot/defaul ... ortable.7z

extract spring.exe and replace the self-compiled exe. does it run then?
-Y-
Posts: 12
Joined: 24 Jul 2011, 22:08

Re: Hi guys, few question about compiling.

Post by -Y- »

Sorry for the late reply but I didn't have much time. Replacing spring with compiled yields this error:

Code: Select all

The procedure entry point __GLEW_ARB_debug_output could not be located in the dynamic link library glew32.dll.
Here is the gdb trace:
http://pastebin.com/4yqs0zF7
abma
Spring Developer
Posts: 3798
Joined: 01 Jun 2009, 00:08

Re: Hi guys, few question about compiling.

Post by abma »

looks like spring uses an incompatible glew32.dll. where did you get this file from?
abma
Spring Developer
Posts: 3798
Joined: 01 Jun 2009, 00:08

Re: Hi guys, few question about compiling.

Post by abma »

if someone has more info, please report to the bug-report:

http://springrts.com/mantis/view.php?id=2667
abma
Spring Developer
Posts: 3798
Joined: 01 Jun 2009, 00:08

Re: Hi guys, few question about compiling.

Post by abma »

damnit, i have now the same problem. i think its a mingw compiler bug...

@-Y-:

what os do you have? i've windows 7 / 64 bit...
JBProgrammer
Posts: 9
Joined: 11 Apr 2012, 10:36

Re: Hi guys, few question about compiling.

Post by JBProgrammer »

Hi.
i read all of "Compiling With Visual Studio" and do everything it said, but still have some problem.
I used Windows 7 64bit and VS 2005.
it gives me these errors and 370 Warnings:
error C2653 : 'CSyncChecker': is not a class or namespace name.
The symbol CSyncChecker is not defind.
they are in PreGame.cpp and Game.cpp

Please help me :cry: :cry: :cry:
User avatar
SpliFF
Posts: 1224
Joined: 28 Jul 2008, 06:51

Re: Hi guys, few question about compiling.

Post by SpliFF »

JB, it's like you've never used a forum before. Please try to learn the rules and etiquete. Specifically:

* Don't resurrect old threads without good reason
* Don't hijack other threads with a new topic

As I said in the other thread: If you have a new issue please start a new thread. The reason for both of these rules is to ensure the entire thread is relevant to a single issue so people don't have to skip over unrelated or outdated posts to follow the conversation.
User avatar
Beherith
Posts: 5145
Joined: 26 Oct 2007, 16:21

Re: Hi guys, few question about compiling.

Post by Beherith »

JBProgrammer wrote:Hi.
i read all of "Compiling With Visual Studio" and do everything it said, but still have some problem.
I used Windows 7 64bit and VS 2005.
it gives me these errors and 370 Warnings:
error C2653 : 'CSyncChecker': is not a class or namespace name.
The symbol CSyncChecker is not defind.
they are in PreGame.cpp and Game.cpp

Please help me :cry: :cry: :cry:
I already told you the solution to this in my previous reply. Comment out the offending sections as this is a debug build problem.
Post Reply

Return to “Engine”