zf8848 / libjingle

Automatically exported from code.google.com/p/libjingle
0 stars 0 forks source link

scon mode=opt build error with visual studio 2010 #145

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

hammer --mode=opt

=======================================================
________Creating library build\opt\obj\libsrtp.lib
Install file: "build\opt\obj\libsrtp.lib" as "build\opt\lib\libsrtp.lib"
________Linking build\opt\obj\login.exe
LINK : fatal error LNK1117: 'PDBPATH:none' 옵션에 구문 오류가 
있습니다.(*1)
scons: *** [build\opt\obj\login.exe] Error 1117
scons: building terminated because of errors.
=======================================================
(*1)statement error in option(Korean)

What is the expected output? What do you see instead?

build complete

What version of the product are you using? On what operating system?

1. scon 2.0.1 production
2. visual studio 2010
3. windows vista platform sdk

Please provide any additional information below.

solution

http://codereview.chromium.org/6031015/

add this option to main scon file

LINKFLAGS_OPTIMIZED=['/PDBALTPATH:%_PDB%

Original issue reported on code.google.com by nikes...@gmail.com on 15 Mar 2011 at 5:11

GoogleCodeExporter commented 9 years ago
modify C:\swtoolkit\site_scons\site_tools\target_platform_windows.py

LINKFLAGS_OPTIMIZED=['/PDBPATH:none']
to
LINKFLAGS_OPTIMIZED=['/PDBALTPATH:%_PDB%']

Original comment by anng...@gmail.com on 4 Jun 2011 at 12:59

GoogleCodeExporter commented 9 years ago
Just comment out "LINKFLAGS_OPTIMIZED=['/PDBPATH:none']" in the 
target_platform_windows.py. That works in my machine.

Original comment by triaphoo on 22 Oct 2011 at 11:20

GoogleCodeExporter commented 9 years ago

Original comment by jun...@google.com on 17 Nov 2011 at 12:31