VS2012 VS2010 VTK引入设置
1、C/C++ ---> 附加包含的目录
F:/VTK61/VTK-6.1.0/SLN/Filters/Sources F:/VTK61/VTK-6.1.0/VTK-6.1.0/Filters/Sources F:/VTK61/VTK-6.1.0/SLN/Common/ComputationalGeometry F:/VTK61/VTK-6.1.0/VTK-6.1.0/Common/ComputationalGeometry F:/VTK61/VTK-6.1.0/SLN/Common/DataModel F:/VTK61/VTK-6.1.0/VTK-6.1.0/Common/DataModel F:/VTK61/VTK-6.1.0/SLN/Common/Math F:/VTK61/VTK-6.1.0/VTK-6.1.0/Common/Math F:/VTK61/VTK-6.1.0/SLN/Common/Core F:/VTK61/VTK-6.1.0/VTK-6.1.0/Common/Core F:/VTK61/VTK-6.1.0/SLN/Utilities/KWSys F:/VTK61/VTK-6.1.0/VTK-6.1.0/Utilities/KWSys F:/VTK61/VTK-6.1.0/SLN/Common/Misc F:/VTK61/VTK-6.1.0/VTK-6.1.0/Common/Misc F:/VTK61/VTK-6.1.0/SLN/Common/System F:/VTK61/VTK-6.1.0/VTK-6.1.0/Common/System F:/VTK61/VTK-6.1.0/SLN/Common/Transforms F:/VTK61/VTK-6.1.0/VTK-6.1.0/Common/Transforms F:/VTK61/VTK-6.1.0/SLN/Filters/General F:/VTK61/VTK-6.1.0/VTK-6.1.0/Filters/General F:/VTK61/VTK-6.1.0/SLN/Filters/Core F:/VTK61/VTK-6.1.0/VTK-6.1.0/Filters/Core F:/VTK61/VTK-6.1.0/SLN/Common/ExecutionModel F:/VTK61/VTK-6.1.0/VTK-6.1.0/Common/ExecutionModel F:/VTK61/VTK-6.1.0/SLN/Interaction/Style F:/VTK61/VTK-6.1.0/VTK-6.1.0/Interaction/Style F:/VTK61/VTK-6.1.0/SLN/Filters/Extraction F:/VTK61/VTK-6.1.0/VTK-6.1.0/Filters/Extraction F:/VTK61/VTK-6.1.0/SLN/Filters/Statistics F:/VTK61/VTK-6.1.0/VTK-6.1.0/Filters/Statistics F:/VTK61/VTK-6.1.0/SLN/Imaging/Fourier F:/VTK61/VTK-6.1.0/VTK-6.1.0/Imaging/Fourier F:/VTK61/VTK-6.1.0/SLN/Imaging/Core F:/VTK61/VTK-6.1.0/VTK-6.1.0/Imaging/Core F:/VTK61/VTK-6.1.0/SLN/ThirdParty/alglib F:/VTK61/VTK-6.1.0/VTK-6.1.0/ThirdParty/alglib F:/VTK61/VTK-6.1.0/SLN/Rendering/Core F:/VTK61/VTK-6.1.0/VTK-6.1.0/Rendering/Core F:/VTK61/VTK-6.1.0/SLN/Filters/Geometry F:/VTK61/VTK-6.1.0/VTK-6.1.0/Filters/Geometry F:/VTK61/VTK-6.1.0/SLN/Rendering/OpenGL F:/VTK61/VTK-6.1.0/VTK-6.1.0/Rendering/OpenGL F:/VTK61/VTK-6.1.0/SLN/Imaging/Hybrid F:/VTK61/VTK-6.1.0/VTK-6.1.0/Imaging/Hybrid F:/VTK61/VTK-6.1.0/SLN/IO/Image F:/VTK61/VTK-6.1.0/VTK-6.1.0/IO/Image F:/VTK61/VTK-6.1.0/SLN/Utilities/DICOMParser F:/VTK61/VTK-6.1.0/VTK-6.1.0/Utilities/DICOMParser F:/VTK61/VTK-6.1.0/SLN/IO/Core F:/VTK61/VTK-6.1.0/VTK-6.1.0/IO/Core F:/VTK61/VTK-6.1.0/SLN/ThirdParty/zlib F:/VTK61/VTK-6.1.0/VTK-6.1.0/ThirdParty/zlib F:/VTK61/VTK-6.1.0/SLN/Utilities/MetaIO/vtkmetaio F:/VTK61/VTK-6.1.0/SLN/Utilities/MetaIO F:/VTK61/VTK-6.1.0/VTK-6.1.0/Utilities/MetaIO F:/VTK61/VTK-6.1.0/SLN/ThirdParty/jpeg F:/VTK61/VTK-6.1.0/VTK-6.1.0/ThirdParty/jpeg F:/VTK61/VTK-6.1.0/SLN/ThirdParty/png F:/VTK61/VTK-6.1.0/VTK-6.1.0/ThirdParty/png F:/VTK61/VTK-6.1.0/SLN/ThirdParty/tiff F:/VTK61/VTK-6.1.0/VTK-6.1.0/ThirdParty/tiff F:/VTK61/VTK-6.1.0/SLN/Utilities/ParseOGLExt F:/VTK61/VTK-6.1.0/VTK-6.1.0/Utilities/ParseOGLExt F:/VTK61/VTK-6.1.0/SLN/Utilities/EncodeString F:/VTK61/VTK-6.1.0/VTK-6.1.0/Utilities/EncodeString
2、C/C++ ---> 命令行
/GS /TP /analyze- /W4 /Zc:wchar_t /I"F:/VTK61/VTK-6.1.0/SLN/Filters/Sources" /I"F:/VTK61/VTK-6.1.0/VTK-6.1.0/Filters/Sources" /I"F:/VTK61/VTK-6.1.0/SLN/Common/ComputationalGeometry" /I"F:/VTK61/VTK-6.1.0/VTK-6.1.0/Common/ComputationalGeometry" /I"F:/VTK61/VTK-6.1.0/SLN/Common/DataModel" /I"F:/VTK61/VTK-6.1.0/VTK-6.1.0/Common/DataModel" /I"F:/VTK61/VTK-6.1.0/SLN/Common/Math" /I"F:/VTK61/VTK-6.1.0/VTK-6.1.0/Common/Math" /I"F:/VTK61/VTK-6.1.0/SLN/Common/Core" /I"F:/VTK61/VTK-6.1.0/VTK-6.1.0/Common/Core" /I"F:/VTK61/VTK-6.1.0/SLN/Utilities/KWSys" /I"F:/VTK61/VTK-6.1.0/VTK-6.1.0/Utilities/KWSys" /I"F:/VTK61/VTK-6.1.0/SLN/Common/Misc" /I"F:/VTK61/VTK-6.1.0/VTK-6.1.0/Common/Misc" /I"F:/VTK61/VTK-6.1.0/SLN/Common/System" /I"F:/VTK61/VTK-6.1.0/VTK-6.1.0/Common/System" /I"F:/VTK61/VTK-6.1.0/SLN/Common/Transforms" /I"F:/VTK61/VTK-6.1.0/VTK-6.1.0/Common/Transforms" /I"F:/VTK61/VTK-6.1.0/SLN/Filters/General" /I"F:/VTK61/VTK-6.1.0/VTK-6.1.0/Filters/General" /I"F:/VTK61/VTK-6.1.0/SLN/Filters/Core" /I"F:/VTK61/VTK-6.1.0/VTK-6.1.0/Filters/Core" /I"F:/VTK61/VTK-6.1.0/SLN/Common/ExecutionModel" /I"F:/VTK61/VTK-6.1.0/VTK-6.1.0/Common/ExecutionModel" /I"F:/VTK61/VTK-6.1.0/SLN/Interaction/Style" /I"F:/VTK61/VTK-6.1.0/VTK-6.1.0/Interaction/Style" /I"F:/VTK61/VTK-6.1.0/SLN/Filters/Extraction" /I"F:/VTK61/VTK-6.1.0/VTK-6.1.0/Filters/Extraction" /I"F:/VTK61/VTK-6.1.0/SLN/Filters/Statistics" /I"F:/VTK61/VTK-6.1.0/VTK-6.1.0/Filters/Statistics" /I"F:/VTK61/VTK-6.1.0/SLN/Imaging/Fourier" /I"F:/VTK61/VTK-6.1.0/VTK-6.1.0/Imaging/Fourier" /I"F:/VTK61/VTK-6.1.0/SLN/Imaging/Core" /I"F:/VTK61/VTK-6.1.0/VTK-6.1.0/Imaging/Core" /I"F:/VTK61/VTK-6.1.0/SLN/ThirdParty/alglib" /I"F:/VTK61/VTK-6.1.0/VTK-6.1.0/ThirdParty/alglib" /I"F:/VTK61/VTK-6.1.0/SLN/Rendering/Core" /I"F:/VTK61/VTK-6.1.0/VTK-6.1.0/Rendering/Core" /I"F:/VTK61/VTK-6.1.0/SLN/Filters/Geometry" /I"F:/VTK61/VTK-6.1.0/VTK-6.1.0/Filters/Geometry" /I"F:/VTK61/VTK-6.1.0/SLN/Rendering/OpenGL" /I"F:/VTK61/VTK-6.1.0/VTK-6.1.0/Rendering/OpenGL" /I"F:/VTK61/VTK-6.1.0/SLN/Imaging/Hybrid" /I"F:/VTK61/VTK-6.1.0/VTK-6.1.0/Imaging/Hybrid" /I"F:/VTK61/VTK-6.1.0/SLN/IO/Image" /I"F:/VTK61/VTK-6.1.0/VTK-6.1.0/IO/Image" /I"F:/VTK61/VTK-6.1.0/SLN/Utilities/DICOMParser" /I"F:/VTK61/VTK-6.1.0/VTK-6.1.0/Utilities/DICOMParser" /I"F:/VTK61/VTK-6.1.0/SLN/IO/Core" /I"F:/VTK61/VTK-6.1.0/VTK-6.1.0/IO/Core" /I"F:/VTK61/VTK-6.1.0/SLN/ThirdParty/zlib" /I"F:/VTK61/VTK-6.1.0/VTK-6.1.0/ThirdParty/zlib" /I"F:/VTK61/VTK-6.1.0/SLN/Utilities/MetaIO/vtkmetaio" /I"F:/VTK61/VTK-6.1.0/SLN/Utilities/MetaIO" /I"F:/VTK61/VTK-6.1.0/VTK-6.1.0/Utilities/MetaIO" /I"F:/VTK61/VTK-6.1.0/SLN/ThirdParty/jpeg" /I"F:/VTK61/VTK-6.1.0/VTK-6.1.0/ThirdParty/jpeg" /I"F:/VTK61/VTK-6.1.0/SLN/ThirdParty/png" /I"F:/VTK61/VTK-6.1.0/VTK-6.1.0/ThirdParty/png" /I"F:/VTK61/VTK-6.1.0/SLN/ThirdParty/tiff" /I"F:/VTK61/VTK-6.1.0/VTK-6.1.0/ThirdParty/tiff" /I"F:/VTK61/VTK-6.1.0/SLN/Utilities/ParseOGLExt" /I"F:/VTK61/VTK-6.1.0/VTK-6.1.0/Utilities/ParseOGLExt" /I"F:/VTK61/VTK-6.1.0/SLN/Utilities/EncodeString" /I"F:/VTK61/VTK-6.1.0/VTK-6.1.0/Utilities/EncodeString" /Zi /Gm- /Od /Ob0 /Fd"Cone.dir\Debug\vc110.pdb" /fp:precise /D "WIN32" /D "_WINDOWS" /D "_DEBUG" /D "_CRT_SECURE_NO_DEPRECATE" /D "_CRT_NONSTDC_NO_DEPRECATE" /D "_CRT_SECURE_NO_WARNINGS" /D "_SCL_SECURE_NO_DEPRECATE" /D "_SCL_SECURE_NO_WARNINGS" /D "VTK_IN_VTK" /D "vtkRenderingCore_INCLUDE=\"F:/VTK61/VTK-6.1.0/SLN/CMakeFiles/vtkRenderingCore_AUTOINIT_vtkInteractionStyle_vtkRenderingOpenGL.h\"" /D "CMAKE_INTDIR=\"Debug\"" /D "_MBCS" /errorReport:prompt /WX- /Zc:forScope /RTC1 /GR /Gd /Oy- /MDd /Fa"Debug/" /EHsc /nologo /Fo"Cone.dir\Debug\" /Fp"Cone.dir\Debug\Cone.pch"
3、链接器--->输入--->附加依赖项
kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib F:\VTK61\VTK-6.1.0\SLN\lib\Debug\vtkFiltersSources-6.1.lib F:\VTK61\VTK-6.1.0\SLN\lib\Debug\vtkCommonComputationalGeometry-6.1.lib F:\VTK61\VTK-6.1.0\SLN\lib\Debug\vtkCommonDataModel-6.1.lib F:\VTK61\VTK-6.1.0\SLN\lib\Debug\vtkCommonMath-6.1.lib F:\VTK61\VTK-6.1.0\SLN\lib\Debug\vtkCommonCore-6.1.lib F:\VTK61\VTK-6.1.0\SLN\lib\Debug\vtksys-6.1.lib F:\VTK61\VTK-6.1.0\SLN\lib\Debug\vtkCommonMisc-6.1.lib F:\VTK61\VTK-6.1.0\SLN\lib\Debug\vtkCommonSystem-6.1.lib F:\VTK61\VTK-6.1.0\SLN\lib\Debug\vtkCommonTransforms-6.1.lib F:\VTK61\VTK-6.1.0\SLN\lib\Debug\vtkFiltersGeneral-6.1.lib F:\VTK61\VTK-6.1.0\SLN\lib\Debug\vtkFiltersCore-6.1.lib F:\VTK61\VTK-6.1.0\SLN\lib\Debug\vtkCommonExecutionModel-6.1.lib F:\VTK61\VTK-6.1.0\SLN\lib\Debug\vtkInteractionStyle-6.1.lib F:\VTK61\VTK-6.1.0\SLN\lib\Debug\vtkFiltersExtraction-6.1.lib F:\VTK61\VTK-6.1.0\SLN\lib\Debug\vtkFiltersStatistics-6.1.lib F:\VTK61\VTK-6.1.0\SLN\lib\Debug\vtkImagingFourier-6.1.lib F:\VTK61\VTK-6.1.0\SLN\lib\Debug\vtkImagingCore-6.1.lib F:\VTK61\VTK-6.1.0\SLN\lib\Debug\vtkalglib-6.1.lib F:\VTK61\VTK-6.1.0\SLN\lib\Debug\vtkRenderingCore-6.1.lib F:\VTK61\VTK-6.1.0\SLN\lib\Debug\vtkFiltersGeometry-6.1.lib F:\VTK61\VTK-6.1.0\SLN\lib\Debug\vtkRenderingOpenGL-6.1.lib F:\VTK61\VTK-6.1.0\SLN\lib\Debug\vtkImagingHybrid-6.1.lib F:\VTK61\VTK-6.1.0\SLN\lib\Debug\vtkIOImage-6.1.lib F:\VTK61\VTK-6.1.0\SLN\lib\Debug\vtkDICOMParser-6.1.lib F:\VTK61\VTK-6.1.0\SLN\lib\Debug\vtkIOCore-6.1.lib F:\VTK61\VTK-6.1.0\SLN\lib\Debug\vtkzlib-6.1.lib F:\VTK61\VTK-6.1.0\SLN\lib\Debug\vtkmetaio-6.1.lib F:\VTK61\VTK-6.1.0\SLN\lib\Debug\vtkjpeg-6.1.lib F:\VTK61\VTK-6.1.0\SLN\lib\Debug\vtkpng-6.1.lib F:\VTK61\VTK-6.1.0\SLN\lib\Debug\vtktiff-6.1.lib ws2_32.lib Psapi.lib glu32.lib opengl32.lib
或者
在链接器---》常规---》添加库目录 引入Lib文件夹
然后在 链接器--->输入--->附加依赖项 直接输入库文件名称
如下:
vtkFiltersSources-6.1.lib
vtkCommonComputationalGeometry-6.1.lib
vtkCommonDataModel-6.1.lib
vtkCommonMath-6.1.lib
vtkCommonCore-6.1.lib
vtksys-6.1.lib
vtkCommonMisc-6.1.lib
vtkCommonSystem-6.1.lib
vtkCommonTransforms-6.1.lib
vtkFiltersGeneral-6.1.lib
vtkFiltersCore-6.1.lib
vtkCommonExecutionModel-6.1.lib
vtkInteractionStyle-6.1.lib
vtkFiltersExtraction-6.1.lib
vtkFiltersStatistics-6.1.lib
vtkImagingFourier-6.1.lib
vtkImagingCore-6.1.lib
vtkalglib-6.1.lib
vtkRenderingCore-6.1.lib
vtkFiltersGeometry-6.1.lib
vtkRenderingOpenGL-6.1.lib
vtkImagingHybrid-6.1.lib
vtkIOImage-6.1.lib
vtkDICOMParser-6.1.lib
vtkIOCore-6.1.lib
vtkzlib-6.1.lib
vtkmetaio-6.1.lib
vtkjpeg-6.1.lib
vtkpng-6.1.lib
vtktiff-6.1.lib
ws2_32.lib
Psapi.lib
glu32.lib
opengl32.lib
4、链接器--->输入--->命令行
/OUT:"F:\VTK\DevCode\Step1-VS2012\Cxx\Debug\Cone.exe" /MANIFEST /NXCOMPAT /PDB:"F:/VTK61/VTK-6.1.0/SLN/bin/Debug/Cone.pdb" /DYNAMICBASE "kernel32.lib" "user32.lib" "gdi32.lib" "winspool.lib" "shell32.lib" "ole32.lib" "oleaut32.lib" "uuid.lib" "comdlg32.lib" "advapi32.lib" "F:\VTK61\VTK-6.1.0\SLN\lib\Debug\vtkFiltersSources-6.1.lib" "F:\VTK61\VTK-6.1.0\SLN\lib\Debug\vtkCommonComputationalGeometry-6.1.lib" "F:\VTK61\VTK-6.1.0\SLN\lib\Debug\vtkCommonDataModel-6.1.lib" "F:\VTK61\VTK-6.1.0\SLN\lib\Debug\vtkCommonMath-6.1.lib" "F:\VTK61\VTK-6.1.0\SLN\lib\Debug\vtkCommonCore-6.1.lib" "F:\VTK61\VTK-6.1.0\SLN\lib\Debug\vtksys-6.1.lib" "F:\VTK61\VTK-6.1.0\SLN\lib\Debug\vtkCommonMisc-6.1.lib" "F:\VTK61\VTK-6.1.0\SLN\lib\Debug\vtkCommonSystem-6.1.lib" "F:\VTK61\VTK-6.1.0\SLN\lib\Debug\vtkCommonTransforms-6.1.lib" "F:\VTK61\VTK-6.1.0\SLN\lib\Debug\vtkFiltersGeneral-6.1.lib" "F:\VTK61\VTK-6.1.0\SLN\lib\Debug\vtkFiltersCore-6.1.lib" "F:\VTK61\VTK-6.1.0\SLN\lib\Debug\vtkCommonExecutionModel-6.1.lib" "F:\VTK61\VTK-6.1.0\SLN\lib\Debug\vtkInteractionStyle-6.1.lib" "F:\VTK61\VTK-6.1.0\SLN\lib\Debug\vtkFiltersExtraction-6.1.lib" "F:\VTK61\VTK-6.1.0\SLN\lib\Debug\vtkFiltersStatistics-6.1.lib" "F:\VTK61\VTK-6.1.0\SLN\lib\Debug\vtkImagingFourier-6.1.lib" "F:\VTK61\VTK-6.1.0\SLN\lib\Debug\vtkImagingCore-6.1.lib" "F:\VTK61\VTK-6.1.0\SLN\lib\Debug\vtkalglib-6.1.lib" "F:\VTK61\VTK-6.1.0\SLN\lib\Debug\vtkRenderingCore-6.1.lib" "F:\VTK61\VTK-6.1.0\SLN\lib\Debug\vtkFiltersGeometry-6.1.lib" "F:\VTK61\VTK-6.1.0\SLN\lib\Debug\vtkRenderingOpenGL-6.1.lib" "F:\VTK61\VTK-6.1.0\SLN\lib\Debug\vtkImagingHybrid-6.1.lib" "F:\VTK61\VTK-6.1.0\SLN\lib\Debug\vtkIOImage-6.1.lib" "F:\VTK61\VTK-6.1.0\SLN\lib\Debug\vtkDICOMParser-6.1.lib" "F:\VTK61\VTK-6.1.0\SLN\lib\Debug\vtkIOCore-6.1.lib" "F:\VTK61\VTK-6.1.0\SLN\lib\Debug\vtkzlib-6.1.lib" "F:\VTK61\VTK-6.1.0\SLN\lib\Debug\vtkmetaio-6.1.lib" "F:\VTK61\VTK-6.1.0\SLN\lib\Debug\vtkjpeg-6.1.lib" "F:\VTK61\VTK-6.1.0\SLN\lib\Debug\vtkpng-6.1.lib" "F:\VTK61\VTK-6.1.0\SLN\lib\Debug\vtktiff-6.1.lib" "ws2_32.lib" "Psapi.lib" "glu32.lib" "opengl32.lib" /IMPLIB:"F:/VTK61/VTK-6.1.0/SLN/lib/Debug/Cone.lib" /DEBUG /MACHINE:X86 /SAFESEH /INCREMENTAL /PGD:"F:\VTK\DevCode\Step1-VS2012\Cxx\Debug\Cone.pgd" /SUBSYSTEM:CONSOLE /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /ManifestFile:"Cone.dir\Debug\Cone.exe.intermediate.manifest" /ERRORREPORT:PROMPT /NOLOGO /TLBID:1
VS2012 VS2010 VTK引入设置的更多相关文章
- vs2012 vs2010 opencv2.4.7配置
http://blog.csdn.net/xiaohanstu/article/details/45309149?utm_source=tuicool <pre name=.7配置 .配置 () ...
- vs2010中如何设置Visual Assist方便地使用现成的代码编辑器风格
风格setting可以在下面网站上获取: http://studiostyl.es/ 在VS2010+VA直接使用会有2个显著的问题: 1,有些符号颜色太深,与黑色背景几乎融为一体: 2,光标落入大小 ...
- [0day]微软VS全版本DLL却持漏洞(VS2015 VS2013 VS2012 VS2010 VS2008)
<无敌破坏王>大师兄说的 "我不是针对谁,而是在座的各位,都是垃圾"前几天在国外论坛看到一个VS2010 DLL却持漏洞 测试发现是全版本 实际上2014年在某越南黑客 ...
- VS2012 快捷键 VS Resharper 设置
原文 http://www.cnblogs.com/skyangell/archive/2013/03/24/2979835.html 一直用Resharper插件,最近发现Ctrl+E,C快捷见被R ...
- 【MATLAB】matlabR2010a与vs2010联合编译设置
在matlab中编译C++程序,首先要配置编译器>> mex -setupPlease choose your compiler for building external interfa ...
- VS2012,VS2010无法生成dll程序集的解决办法
在我们做项目的时候总会遇到dll程序集无法生成导致各种问题. 通常我们的做法就是清理项目,然后重新生成,或者直接到bin目录下删除所有dll,然后重新生成. 有时候某几个dll就是不生成. 这时候就需 ...
- VS2010主题设置及插件推荐
本文主要写了个人使用 VS2010 的一些配置及实用插件,从而打造一个符合个人风格的开发环境. 基础设置 安装 Visual Assist X 在 VS2010 中若不安装 Visual Assist ...
- VS2012项目中使用CocoStudio相关文件的设置
开发环境说明: win7 vs2012 coco2d-x 3.0 alpha1 cocos2d-x 3.0 alpha 1搭配CocoStudio使用,效果更佳.CocoStudio包含了游戏开发 ...
- VS2010+Opencv+SIFT以及出现的问题-关于代码sift_3_c的说明
http://blog.sina.com.cn/s/blog_a6b913e30101dvrt.html 一.前提 安装Opencv,因该版本的SIFT是基于Opencv的. 下载SIFT源码,见Ro ...
随机推荐
- Linux虚拟环境配置(安装python包,连接至jupyter notebook)
在Linux虚拟环境下安装python包 方法一:使用下载包 由于实验室下载速度较慢,因此采用传输下载包的形式安装包. 首先导入python包至指定文件夹(任意文件夹,记住地址即可)并解压. 进入虚拟 ...
- 在Gridview 中 对日期格式的控制
在数据库中保存日期格式的时候,我们需要在客户端的显示有自己的要求 这就需要对 datatime 类型的数据进行控制,使之显示为你需要的格式 数据库中 如果不对其进行控制,显示的格式为 当在前端页面上进 ...
- npm与yarn命令
npm 1. 查看npm版本 node -v npm -v 2. 更新npm至最新版 npm install npm@latest -g 3. npm install:安装依赖 # 在本地node_m ...
- js获取当前时间,格式YYYY-MM-DD
//获取当前时间,格式YYYY-MM-DD function getNowFormatDate() { var date = new Date(); var seperator1 = "-& ...
- 虚拟机CentOS创建/使用快照
快照 1.什么是快照 说的直白一点,就是创建一个备份.当执行了不可逆的错误操作后,可以通过快照用来恢复系统 2.创建快照的三种模式 挂载状态下创建快照 开机状态下创建快照 关机状态下创建快照 3.如何 ...
- 关于nslookup以及dig命令的研究报告
我们在日常上网时都是用域名访问网路,如www.baidu.com,而在实际寻址过程中,是使用IP地址,如180.101.49.11,域名到IP地址的解析是通过DNS服务器来实现的,系统中我们可以用一些 ...
- MySQL8.0 下载安装启动(Windows10)
2019年6月13日20:13:21 MySQL8.0 下载安装启动(Windows10) 下载 下载地址:https://dev.mysql.com/downloads/mysql/8.0.html ...
- 阿里云主机centos7系统创建SWAP区,并启动挂载(适合无SWAP区虚拟化平台)
以root用户登录建立交换区文件: fallocate -l 2G /swapfile /swapfile //赋予仅root用户的权限,确保安全 mkswap /swapfile swapon /s ...
- ABP(ASP.NET Boilerplate Project)学习总结
ABP(ASP.NET Boilerplate Project),现下比较流行的一种web框架,因为公司新项目准备使用这种框架,所以写下这篇文章记录下自己一步一步搭建的过程,就当做是对学习的一个总结与 ...
- mysql存储过程简单例子
1.之前经常在oracle数据库中使用存储过程,换到mysql后用的不多,但是有时候也用,大致记录一下,基本和oracle的一样. CREATE DEFINER = `root`@`%` PROCED ...