bulid vs2012 svn 14727, conont Run,I have Solve

bulid vs2012 svn 14727, conont Run,I have Solve

Postby freeyun » 17 Dec 2013, 09:56

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.
Last edited by freeyun on 25 Dec 2013, 10:15, edited 2 times in total.
freeyun
 
Posts: 4
Joined: 17 Dec 2013, 09:41

Re: bulid vs2012 svn 14727, conont Run

Postby Funto » 17 Dec 2013, 21:26

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...
Funto
 
Posts: 459
Joined: 09 Dec 2009, 13:47
Location: Bordeaux, France

Re: bulid vs2012 svn 14727, conont Run

Postby freeyun » 18 Dec 2013, 02:54

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.
freeyun
 
Posts: 4
Joined: 17 Dec 2013, 09:41

Re: bulid vs2012 svn 14727, conont Run

Postby hiker » 20 Dec 2013, 02:37

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
hiker
 
Posts: 1435
Joined: 07 Dec 2009, 12:15
Location: Melbourne, Australia

Re: bulid vs2012 svn 14727, conont Run

Postby freeyun » 20 Dec 2013, 03:05

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
freeyun
 
Posts: 4
Joined: 17 Dec 2013, 09:41

Re: bulid vs2012 svn 14727, conont Run

Postby Funto » 21 Dec 2013, 14:15

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?
Funto
 
Posts: 459
Joined: 09 Dec 2009, 13:47
Location: Bordeaux, France

Re: bulid vs2012 svn 14727, conont Run

Postby freeyun » 25 Dec 2013, 03:00

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
freeyun
 
Posts: 4
Joined: 17 Dec 2013, 09:41

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

Postby Auria » 27 Dec 2013, 03:47

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...
Image
User avatar
Auria
STK Moderator
 
Posts: 2976
Joined: 07 Dec 2009, 03:52

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

Postby Funto » 30 Dec 2013, 00:15

Maybe Dependency Walker can help verify your hypothesis?
Funto
 
Posts: 459
Joined: 09 Dec 2009, 13:47
Location: Bordeaux, France

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

Postby hiker » 07 Jan 2014, 08:03

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
hiker
 
Posts: 1435
Joined: 07 Dec 2009, 12:15
Location: Melbourne, Australia

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

Postby Auria » 07 Jan 2014, 23:49

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
Image
User avatar
Auria
STK Moderator
 
Posts: 2976
Joined: 07 Dec 2009, 03:52

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

Postby hiker » 08 Jan 2014, 00:35

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
hiker
 
Posts: 1435
Joined: 07 Dec 2009, 12:15
Location: Melbourne, Australia

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

Postby acme_pjz » 08 Jan 2014, 15:50

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 :( )
Some of my open source games on GitHub
User avatar
acme_pjz
 
Posts: 665
Joined: 10 Dec 2009, 15:32
Location: PeeKing, China

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

Postby hiker » 08 Jan 2014, 23:27

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
hiker
 
Posts: 1435
Joined: 07 Dec 2009, 12:15
Location: Melbourne, Australia

Who is online

Users browsing this forum: No registered users and 1 guest