Page 1 of 1

bulid vs2012 svn 14727, conont Run,I have Solve

PostPosted: 17 Dec 2013, 09:56
by freeyun
Solve:Remove Compile::Macro ENABLE_WIIUSE

dependencies use 0.8.1
system :windows7 x64
this is
log

Begin Activation Context Generation.
Input Parameter:
Flags = 0
ProcessorArchitecture = AMD64
CultureFallBacks = en-US;en
ManifestPath = D:\SDK\supertuxkart\supertuxkart.exe
AssemblyDirectory = D:\SDK\supertuxkart\
Application Config File =
-----------------
INFO: Parsing Manifest File D:\SDK\supertuxkart\supertuxkart.exe.
INFO: Manifest Definition Identity is (null).
INFO: Reference: Microsoft.VC90.DebugCRT,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.21022.8"
INFO: Resolving reference Microsoft.VC90.DebugCRT,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.21022.8".
INFO: Resolving reference for ProcessorArchitecture x86.
INFO: Resolving reference for culture Neutral.
INFO: Applying Binding Policy.
INFO: No publisher policy found.
INFO: No binding policy redirect found.
INFO: Begin assembly probing.
INFO: Did not find the assembly in WinSxS.
INFO: Attempt to probe manifest at C:\Windows\assembly\GAC_32\Microsoft.VC90.DebugCRT\9.0.21022.8__1fc8b3b9a1e18e3b\Microsoft.VC90.DebugCRT.DLL.
INFO: Attempt to probe manifest at D:\SDK\supertuxkart\Microsoft.VC90.DebugCRT.DLL.
INFO: Attempt to probe manifest at D:\SDK\supertuxkart\Microsoft.VC90.DebugCRT.MANIFEST.
INFO: Attempt to probe manifest at D:\SDK\supertuxkart\Microsoft.VC90.DebugCRT\Microsoft.VC90.DebugCRT.DLL.
INFO: Attempt to probe manifest at D:\SDK\supertuxkart\Microsoft.VC90.DebugCRT\Microsoft.VC90.DebugCRT.MANIFEST.
INFO: Did not find manifest for culture Neutral.
INFO: End assembly probing.
ERROR: Cannot resolve reference Microsoft.VC90.DebugCRT,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.21022.8".
ERROR: Activation Context generation failed.
End Activation Context Generation.

=================
Begin Activation Context Generation.
Input Parameter:
Flags = 0
ProcessorArchitecture = Wow32
CultureFallBacks = en-US;en
ManifestPath = D:\SDK\supertuxkart\supertuxkart.exe
AssemblyDirectory = D:\SDK\supertuxkart\
Application Config File =
-----------------
INFO: Parsing Manifest File D:\SDK\supertuxkart\supertuxkart.exe.
INFO: Manifest Definition Identity is (null).
INFO: Reference: Microsoft.VC90.DebugCRT,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.21022.8"
INFO: Resolving reference Microsoft.VC90.DebugCRT,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.21022.8".
INFO: Resolving reference for ProcessorArchitecture WOW64.
INFO: Resolving reference for culture Neutral.
INFO: Applying Binding Policy.
INFO: No publisher policy found.
INFO: No binding policy redirect found.
INFO: Begin assembly probing.
INFO: Did not find the assembly in WinSxS.
INFO: Attempt to probe manifest at C:\Windows\assembly\GAC_32\Microsoft.VC90.DebugCRT\9.0.21022.8__1fc8b3b9a1e18e3b\Microsoft.VC90.DebugCRT.DLL.
INFO: Did not find manifest for culture Neutral.
INFO: End assembly probing.
INFO: Resolving reference for ProcessorArchitecture x86.
INFO: Resolving reference for culture Neutral.
INFO: Applying Binding Policy.
INFO: No publisher policy found.
INFO: No binding policy redirect found.
INFO: Begin assembly probing.
INFO: Did not find the assembly in WinSxS.
INFO: Attempt to probe manifest at C:\Windows\assembly\GAC_32\Microsoft.VC90.DebugCRT\9.0.21022.8__1fc8b3b9a1e18e3b\Microsoft.VC90.DebugCRT.DLL.
INFO: Attempt to probe manifest at D:\SDK\supertuxkart\Microsoft.VC90.DebugCRT.DLL.
INFO: Attempt to probe manifest at D:\SDK\supertuxkart\Microsoft.VC90.DebugCRT.MANIFEST.
INFO: Attempt to probe manifest at D:\SDK\supertuxkart\Microsoft.VC90.DebugCRT\Microsoft.VC90.DebugCRT.DLL.
INFO: Attempt to probe manifest at D:\SDK\supertuxkart\Microsoft.VC90.DebugCRT\Microsoft.VC90.DebugCRT.MANIFEST.
INFO: Did not find manifest for culture Neutral.
INFO: End assembly probing.
ERROR: Cannot resolve reference Microsoft.VC90.DebugCRT,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.21022.8".
ERROR: Activation Context generation failed.
End Activation Context Generation.

Re: bulid vs2012 svn 14727, conont Run

PostPosted: 17 Dec 2013, 21:26
by Funto
That's weird, it says it fails to find the debug CRT for Visual Studio 2008...I don't understand why you would need that if you compile yourself using VS2012?
And all that is .NET stuff (GAC, assembly...), which is weird in the context of STK...

Re: bulid vs2012 svn 14727, conont Run

PostPosted: 18 Dec 2013, 02:54
by freeyun
Funto {l Wrote}:That's weird, it says it fails to find the debug CRT for Visual Studio 2008...I don't understand why you would need that if you compile yourself using VS2012?
And all that is .NET stuff (GAC, assembly...), which is weird in the context of STK...

!is weird, Thank you for your reply!i have install vs2008 sp1 Redistributable Package,then compile relase ,is the Same problem! so 0.8.1 is to ! 0.8 No problem.
install vs2008 ,C:\Windows\assembly\GAC_32\Microsoft.VC90.DebugCRT\ Directory is not found.

Re: bulid vs2012 svn 14727, conont Run

PostPosted: 20 Dec 2013, 02:37
by hiker
freeyun {l Wrote}:
Funto {l Wrote}:That's weird, it says it fails to find the debug CRT for Visual Studio 2008...I don't understand why you would need that if you compile yourself using VS2012?
And all that is .NET stuff (GAC, assembly...), which is weird in the context of STK...

!is weird, Thank you for your reply!i have install vs2008 sp1 Redistributable Package,then compile relase ,is the Same problem! so 0.8.1 is to ! 0.8 No problem.
install vs2008 ,C:\Windows\assembly\GAC_32\Microsoft.VC90.DebugCRT\ Directory is not found.

No, that wouldn't solve the problem, the redistributables do not contain the debug packages.

When you ran cmake, did you perhaps select the wrong compiler version?

Cheers,
Joerg

Re: bulid vs2012 svn 14727, conont Run

PostPosted: 20 Dec 2013, 03:05
by freeyun
hiker {l Wrote}:
freeyun {l Wrote}:
Funto {l Wrote}:That's weird, it says it fails to find the debug CRT for Visual Studio 2008...I don't understand why you would need that if you compile yourself using VS2012?
And all that is .NET stuff (GAC, assembly...), which is weird in the context of STK...

!is weird, Thank you for your reply!i have install vs2008 sp1 Redistributable Package,then compile relase ,is the Same problem! so 0.8.1 is to ! 0.8 No problem.
install vs2008 ,C:\Windows\assembly\GAC_32\Microsoft.VC90.DebugCRT\ Directory is not found.

No, that wouldn't solve the problem, the redistributables do not contain the debug packages.

When you ran cmake, did you perhaps select the wrong compiler version?

Cheers,
Joerg

i select visual studio 11 , use default native compilers!

cmake log
The C compiler identification is MSVC 17.0.61030.0
The CXX compiler identification is MSVC 17.0.61030.0
Check for working C compiler using: Visual Studio 11
Check for working C compiler using: Visual Studio 11 -- works
Detecting C compiler ABI info
Detecting C compiler ABI info - done
Check for working CXX compiler using: Visual Studio 11
Check for working CXX compiler using: Visual Studio 11 -- works
Detecting CXX compiler ABI info
Detecting CXX compiler ABI info - done
No build type selected, default to STKRelease
Found OpenAL: D:/SDK/supertuxkart/dependencies/lib/OpenAL32.lib
Found OggVorbis: D:/SDK/supertuxkart/dependencies/include
Found CURL: D:/SDK/supertuxkart/dependencies/lib/libcurl_imp.lib (found version "7.21.0")
Found Fribidi: D:/SDK/supertuxkart/dependencies/include
Found OpenGL: opengl32
Font tool deactivated, the font tool won't be built (only useful for developers)
Configuring done
Generating done

now i think this problem wiiusb lib:

1>wiiuse.lib(classic.obj) : warning LNK4099: PDB 'vc90.pdb' was not found with 'wiiuse.lib(classic.obj)' or at 'D:\SDK\supertuxkart\bin\Debug\vc90.pdb'; linking object as if no debug info
1>wiiuse.lib(dynamics.obj) : warning LNK4099: PDB 'vc90.pdb' was not found with 'wiiuse.lib(dynamics.obj)' or at 'D:\SDK\supertuxkart\bin\Debug\vc90.pdb'; linking object as if no debug info
1>wiiuse.lib(events.obj) : warning LNK4099: PDB 'vc90.pdb' was not found with 'wiiuse.lib(events.obj)' or at 'D:\SDK\supertuxkart\bin\Debug\vc90.pdb'; linking object as if no debug info
1>wiiuse.lib(guitar_hero_3.obj) : warning LNK4099: PDB 'vc90.pdb' was not found with 'wiiuse.lib(guitar_hero_3.obj)' or at 'D:\SDK\supertuxkart\bin\Debug\vc90.pdb'; linking object as if no debug info
1>wiiuse.lib(io.obj) : warning LNK4099: PDB 'vc90.pdb' was not found with 'wiiuse.lib(io.obj)' or at 'D:\SDK\supertuxkart\bin\Debug\vc90.pdb'; linking object as if no debug info
1>wiiuse.lib(ir.obj) : warning LNK4099: PDB 'vc90.pdb' was not found with 'wiiuse.lib(ir.obj)' or at 'D:\SDK\supertuxkart\bin\Debug\vc90.pdb'; linking object as if no debug info
1>wiiuse.lib(motion_plus.obj) : warning LNK4099: PDB 'vc90.pdb' was not found with 'wiiuse.lib(motion_plus.obj)' or at 'D:\SDK\supertuxkart\bin\Debug\vc90.pdb'; linking object as if no debug info
1>wiiuse.lib(nunchuk.obj) : warning LNK4099: PDB 'vc90.pdb' was not found with 'wiiuse.lib(nunchuk.obj)' or at 'D:\SDK\supertuxkart\bin\Debug\vc90.pdb'; linking object as if no debug info
1>wiiuse.lib(os_win.obj) : warning LNK4099: PDB 'vc90.pdb' was not found with 'wiiuse.lib(os_win.obj)' or at 'D:\SDK\supertuxkart\bin\Debug\vc90.pdb'; linking object as if no debug info
1>wiiuse.lib(util.obj) : warning LNK4099: PDB 'vc90.pdb' was not found with 'wiiuse.lib(util.obj)' or at 'D:\SDK\supertuxkart\bin\Debug\vc90.pdb'; linking object as if no debug info
1>wiiuse.lib(wiiboard.obj) : warning LNK4099: PDB 'vc90.pdb' was not found with 'wiiuse.lib(wiiboard.obj)' or at 'D:\SDK\supertuxkart\bin\Debug\vc90.pdb'; linking object as if no debug info
1>wiiuse.lib(wiiuse.obj) : warning LNK4099: PDB 'vc90.pdb' was not found with 'wiiuse.lib(wiiuse.obj)' or at 'D:\SDK\supertuxkart\bin\Debug\vc90.pdb'; linking object as if no debug info
1> supertuxkart.vcxproj -> D:\SDK\supertuxkart\bin\Debug\supertuxkart.exe

Re: bulid vs2012 svn 14727, conont Run

PostPosted: 21 Dec 2013, 14:15
by Funto
Not finding the .pdb files isn't an error, just a warning.
So it seems you managed to get it to work, for that last log you copied?

Re: bulid vs2012 svn 14727, conont Run

PostPosted: 25 Dec 2013, 03:00
by freeyun
Funto {l Wrote}:Not finding the .pdb files isn't an error, just a warning.
So it seems you managed to get it to work, for that last log you copied?

YES ,is last log
!
I can not think there are other issues

Re: bulid vs2012 svn 14727, conont Run,I have Solve

PostPosted: 27 Dec 2013, 03:47
by Auria
Hi,

I've installed STK on my new computer and had the same issue. After quite a lot of googling, I think I finally found it: some libraries in our dependency pack depend on visual studio 2008 c++ ! Possibly wiiuse, which would explain why excluding wiiuse makes it work. Once VS 2008 is installed, I can build STK with visual studio 2012/2013 just fine, VS 2008 just must be there to provide a specific DLL. I'll perhaps talk with Joerg to see if we can fix that, or at least avoid people falling into that trap...

Re: bulid vs2012 svn 14727, conont Run,I have Solve

PostPosted: 30 Dec 2013, 00:15
by Funto
Maybe Dependency Walker can help verify your hypothesis?

Re: bulid vs2012 svn 14727, conont Run,I have Solve

PostPosted: 07 Jan 2014, 08:03
by hiker
Auria {l Wrote}:I've installed STK on my new computer and had the same issue. After quite a lot of googling, I think I finally found it: some libraries in our dependency pack depend on visual studio 2008 c++ ! Possibly wiiuse, which would explain why excluding wiiuse makes it work. Once VS 2008 is installed, I can build STK with visual studio 2012/2013 just fine, VS 2008 just must be there to provide a specific DLL. I'll perhaps talk with Joerg to see if we can fix that, or at least avoid people falling into that trap...

Can you try to activate building of wiiuse (WIIUSE_BUILD) - it's an advanced field, so you need to make them visible in cmake gui. If this is enabled, VS should link in the self-compiled library (please verify that), and not the one from the dependency package.

Cheers,
Joerg

Re: bulid vs2012 svn 14727, conont Run,I have Solve

PostPosted: 07 Jan 2014, 23:49
by Auria
Similar problem in viewtopic.php?f=18&t=5212 , seems like it's indeed related to wiiuse


hiker: maybe we could switch to self-build by default to avoid issues, and you can manually switch it when making the binaries

Re: bulid vs2012 svn 14727, conont Run,I have Solve

PostPosted: 08 Jan 2014, 00:35
by hiker
Auria {l Wrote}:Similar problem in viewtopic.php?f=18&t=5212 , seems like it's indeed related to wiiuse


hiker: maybe we could switch to self-build by default to avoid issues, and you can manually switch it when making the binaries

We can, but then we can't use VS 2008 (and maybe 2010) anymore, we would require 2012 or later. This would imply (atm) that we can't support XP anymore ... unless there is a 2012 redistributable that works on XP (which might be worth checking, update 4 states that it supports XP). I think I still have XP at home somewhere, I can try.

Cheers,
Joerg

Re: bulid vs2012 svn 14727, conont Run,I have Solve

PostPosted: 08 Jan 2014, 15:50
by acme_pjz
hiker {l Wrote}:We can, but then we can't use VS 2008 (and maybe 2010) anymore, we would require 2012 or later. This would imply (atm) that we can't support XP anymore ... unless there is a 2012 redistributable that works on XP (which might be worth checking, update 4 states that it supports XP). I think I still have XP at home somewhere, I can try.


As fas as I know there is a vc110_xp compile option in VS2012 (but I don't have VS2012, it requires Win7 :( )

Re: bulid vs2012 svn 14727, conont Run,I have Solve

PostPosted: 08 Jan 2014, 23:27
by hiker
acme_pjz {l Wrote}:As fas as I know there is a vc110_xp compile option in VS2012 (but I don't have VS2012, it requires Win7 :( )

Yes, with update ... can't remember which one, XP support was added to VS, but the problem is that the VS 2012 redistributable can't be installed on XP :( I will test if Microsoft has fixed this by now

Cheers,
Joerg