GithubHelp home page GithubHelp logo

Comments (5)

cadaver avatar cadaver commented on May 2, 2024

By using defaults (just running cmake_vs2012.bat) I cannot reproduce this on a Win8 / VS2012 Express setup. Also on another machine running Win7 / VS2010 Express, I'm not seeing vc100.pdb files as mentioned in the stackoverflow post.

Are you giving the cmake_vs2012.bat any CMake options?

from urho3d.

LuisAntonRebollo avatar LuisAntonRebollo commented on May 2, 2024

No CMake options, double click on cmake_vs2013.bat

In compiler command line i see this: /Fd"Urho3D_lib.dir\Debug\vc120.pdb"

Configuration Properties -> C/C++ ->Command line

/GS /TP /analyze- /W3 /Zc:wchar_t /I"C:/Program Files (x86)/Microsoft DirectX SDK (June 2010)/Include" 
/I"D:/Programacion/Urho3D/Build/Engine" 
/I"D:/Programacion/Urho3D/Source/ThirdParty/SDL/include" 
/I"D:/Programacion/Urho3D/Source/Engine/../ThirdParty/AngelScript/include" 
/I"D:/Programacion/Urho3D/Source/Engine/../ThirdParty/Bullet/src" 
/I"D:/Programacion/Urho3D/Source/Engine/../ThirdParty/Civetweb/include" 
/I"D:/Programacion/Urho3D/Source/Engine/../ThirdParty/Detour/include" 
/I"D:/Programacion/Urho3D/Source/Engine/../ThirdParty/FreeType/include" 
/I"D:/Programacion/Urho3D/Source/Engine/../ThirdParty/JO" /I"D:/Programacion/Urho3D/Source/Engine/../ThirdParty/LZ4" 
/I"D:/Programacion/Urho3D/Source/Engine/../ThirdParty/PugiXml/src" 
/I"D:/Programacion/Urho3D/Source/Engine/../ThirdParty/Recast/include" 
/I"D:/Programacion/Urho3D/Source/Engine/../ThirdParty/STB" 
/I"D:/Programacion/Urho3D/Source/Engine/../ThirdParty/StanHull" 
/I"D:/Programacion/Urho3D/Source/Engine/../ThirdParty/kNet/include" 
/I"D:/Programacion/Urho3D/Source/Engine/../ThirdParty/LibCpuId/src" 
/I"D:/Programacion/Urho3D/Source/Engine/Audio" /I"D:/Programacion/Urho3D/Source/Engine/Container" 
/I"D:/Programacion/Urho3D/Source/Engine/Core" /I"D:/Programacion/Urho3D/Source/Engine/Engine" 
/I"D:/Programacion/Urho3D/Source/Engine/Graphics" /I"D:/Programacion/Urho3D/Source/Engine/IO" 
/I"D:/Programacion/Urho3D/Source/Engine/Input" /I"D:/Programacion/Urho3D/Source/Engine/Math" 
/I"D:/Programacion/Urho3D/Source/Engine/Navigation" /I"D:/Programacion/Urho3D/Source/Engine/Network" 
/I"D:/Programacion/Urho3D/Source/Engine/Physics" /I"D:/Programacion/Urho3D/Source/Engine/Resource" 
/I"D:/Programacion/Urho3D/Source/Engine/Scene" /I"D:/Programacion/Urho3D/Source/Engine/Script" 
/I"D:/Programacion/Urho3D/Source/Engine/UI" /Zi /Gm- /Od /Ob0 /Fd"Urho3D_lib.dir\Debug\vc120.pdb" 
/fp:precise /D "WIN32" /D "_WINDOWS" /D "_DEBUG" /D "ENABLE_SSE" /D "ENABLE_MINIDUMPS" 
/D "ENABLE_FILEWATCHER" /D "ENABLE_PROFILING" /D "ENABLE_LOGGING" /D "URHO3D_STATIC_DEFINE" /D 
"_CRT_SECURE_NO_WARNINGS" /D "HAVE_STDINT_H" /D "CMAKE_INTDIR=\"Debug\"" /D "_MBCS" /errorReport:prompt 
/WX- /Zc:forScope /RTC1 /GR /arch:SSE /Gd /Oy- /MDd /Fa"Debug/" /EHsc /nologo 
/Fo"Urho3D_lib.dir\Debug\" /Fp"Urho3D_lib.dir\Debug\Urho3D_d.pch" 

from urho3d.

cadaver avatar cadaver commented on May 2, 2024

I see /Fd"C:/Lasse/Urho3D/Build/Engine/Debug/Urho3D_d.pdb" instead, which looks like an option generated by CMake, overriding the default. What's your CMake version?

from urho3d.

LuisAntonRebollo avatar LuisAntonRebollo commented on May 2, 2024

CMake 2.8.12

From http://www.cmake.org/Wiki/CMake_2.8.12_Docs

PDB_NAME
       Output name for MS debug symbols .pdb file from linker.

       Set the base name for debug symbols file created for an executable or
       shared library target.  If not set, the logical target name is used by
       default.

       This property is not implemented by the Visual Studio 6 generator.

  PDB_NAME_<CONFIG>
       Per-configuration name for MS debug symbols .pdb file.

       This is the configuration-specific version of PDB_NAME.

       This property is not implemented by the Visual Studio 6 generator.

from urho3d.

cadaver avatar cadaver commented on May 2, 2024

It seems like they've broken the option, because now it's not setting the logical target name by default.

In CMake 2.8.11 the option still worked as expected.

As a temporary workaround I recommend either downgrading CMake or commenting out the command to copy the pdb.

from urho3d.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.