Page 1 of 1

Problems when I build from svn

PostPosted: 17 Apr 2013, 07:48
by Haldric
Hello,

I wanted to test the new features recently presented on the blog, so I tried to compile from svn sources but I have a link error during Irrlicht build (on Windows 7, vs2010):
{l Code}: {l Select All Code}
LINK : warning LNK4068: /MACHINE not specified; defaulting to X86
obj\Static lib - Debug\Irrlicht.res : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt

Do you know how can I solve it ?
Thanks.

Re: Problems when I build from svn

PostPosted: 18 Apr 2013, 06:56
by hiker
Rahl43 {l Wrote}:I wanted to test the new features recently presented on the blog, so I tried to compile from svn sources but I have a link error during Irrlicht build (on Windows 7, vs2010):
{l Code}: {l Select All Code}
LINK : warning LNK4068: /MACHINE not specified; defaulting to X86
obj\Static lib - Debug\Irrlicht.res : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt

Do you know how can I solve it ?
Thanks.

First of all make sure you are using the 32-bit target, not a 64-bit one (which are kind of experimental).

Then try a make clean, just in case that there are some stale file around.

If you still have the same problem, does perhaps anything mentioned at
http://stackoverflow.com/questions/1088 ... valid-or-c help?

Cheers,
Joerg

Re: Problems when I build from svn

PostPosted: 20 Apr 2013, 06:47
by Haldric
Yes I am using the 32-bit target and I re-try the build after a clean but it doesn't work better.
I see stackoverflow but I haven't this section in the Irrlicht project (supertuxkart is the only project where I have it, so I tried it with the stk project but it doesn't work better...).

Thanks for your help. If you have other ideas it's welcome.

Re: Problems when I build from svn

PostPosted: 26 Apr 2013, 06:44
by hiker
Hi,

I was able to reproduce the problem with a fresh installation of VS 2010, and I fixed the issue by installing VS 2010 SP1.

Can you test if this works for you, too?

Cheers,
Joerg

Re: Problems when I build from svn

PostPosted: 27 Apr 2013, 11:33
by Haldric
I have installed sp1 and, now, it works!

Thank you very much for your help (especially for having probably spend many time to reinstall vs 2010).
Thanks.

[Solved] Re: Problems when I build from svn

PostPosted: 28 Apr 2013, 11:16
by hiker
Rahl43 {l Wrote}:I have installed sp1 and, now, it works!

Thank you very much for your help (especially for having probably spend many time to reinstall vs 2010).
Thanks.

No worries (and sorry for the delay - I just mumble 'GSoC' ;) ). We are trying our best to make STK to build as easy as possible, so we try to fix any issues we encounter (if possible).

Thanks for the confirmation!

Cheers,
Joerg