diff --git a/ConsoleApplication3/.vs/ConsoleApplication3/FileContentIndex/9aa181bc-426a-45a9-9a0e-f83ffc2acb33.vsidx b/ConsoleApplication3/.vs/ConsoleApplication3/FileContentIndex/9aa181bc-426a-45a9-9a0e-f83ffc2acb33.vsidx new file mode 100644 index 0000000..f1d2901 Binary files /dev/null and b/ConsoleApplication3/.vs/ConsoleApplication3/FileContentIndex/9aa181bc-426a-45a9-9a0e-f83ffc2acb33.vsidx differ diff --git a/ConsoleApplication3/.vs/ConsoleApplication3/v17/.suo b/ConsoleApplication3/.vs/ConsoleApplication3/v17/.suo new file mode 100644 index 0000000..93a7154 Binary files /dev/null and b/ConsoleApplication3/.vs/ConsoleApplication3/v17/.suo differ diff --git a/ConsoleApplication3/.vs/ConsoleApplication3/v17/Browse.VC.db b/ConsoleApplication3/.vs/ConsoleApplication3/v17/Browse.VC.db new file mode 100644 index 0000000..5f0dfc9 Binary files /dev/null and b/ConsoleApplication3/.vs/ConsoleApplication3/v17/Browse.VC.db differ diff --git a/ConsoleApplication3/.vs/ConsoleApplication3/v17/DocumentLayout.backup.json b/ConsoleApplication3/.vs/ConsoleApplication3/v17/DocumentLayout.backup.json new file mode 100644 index 0000000..288a062 --- /dev/null +++ b/ConsoleApplication3/.vs/ConsoleApplication3/v17/DocumentLayout.backup.json @@ -0,0 +1,37 @@ +{ + "Version": 1, + "WorkspaceRootPath": "E:\\DataFile\\ProjectX\\TalkingWeb\\ConsoleApplication3\\", + "Documents": [ + { + "AbsoluteMoniker": "D:0:0:{CCA6B3FC-0982-4E23-9318-78BFD3A93243}|ConsoleApplication3.vcxproj|E:\\DataFile\\ProjectX\\TalkingWeb\\ConsoleApplication3\\main.cpp||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}", + "RelativeMoniker": "D:0:0:{CCA6B3FC-0982-4E23-9318-78BFD3A93243}|ConsoleApplication3.vcxproj|solutionrelative:main.cpp||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}" + } + ], + "DocumentGroupContainers": [ + { + "Orientation": 0, + "VerticalTabListWidth": 256, + "DocumentGroups": [ + { + "DockedWidth": 200, + "SelectedChildIndex": 0, + "Children": [ + { + "$type": "Document", + "DocumentIndex": 0, + "Title": "main.cpp", + "DocumentMoniker": "E:\\DataFile\\ProjectX\\TalkingWeb\\ConsoleApplication3\\main.cpp", + "RelativeDocumentMoniker": "main.cpp", + "ToolTip": "E:\\DataFile\\ProjectX\\TalkingWeb\\ConsoleApplication3\\main.cpp*", + "RelativeToolTip": "main.cpp*", + "ViewState": "AgIAAAAAAAAAAAAAAADwvwUAAAAwAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000677|", + "WhenOpened": "2025-02-16T16:03:02.248Z", + "EditorCaption": "" + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/ConsoleApplication3/.vs/ConsoleApplication3/v17/DocumentLayout.json b/ConsoleApplication3/.vs/ConsoleApplication3/v17/DocumentLayout.json new file mode 100644 index 0000000..53040e5 --- /dev/null +++ b/ConsoleApplication3/.vs/ConsoleApplication3/v17/DocumentLayout.json @@ -0,0 +1,37 @@ +{ + "Version": 1, + "WorkspaceRootPath": "E:\\DataFile\\ProjectX\\TalkingWeb\\ConsoleApplication3\\", + "Documents": [ + { + "AbsoluteMoniker": "D:0:0:{CCA6B3FC-0982-4E23-9318-78BFD3A93243}|ConsoleApplication3.vcxproj|E:\\DataFile\\ProjectX\\TalkingWeb\\ConsoleApplication3\\main.cpp||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}", + "RelativeMoniker": "D:0:0:{CCA6B3FC-0982-4E23-9318-78BFD3A93243}|ConsoleApplication3.vcxproj|solutionrelative:main.cpp||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}" + } + ], + "DocumentGroupContainers": [ + { + "Orientation": 0, + "VerticalTabListWidth": 256, + "DocumentGroups": [ + { + "DockedWidth": 200, + "SelectedChildIndex": 0, + "Children": [ + { + "$type": "Document", + "DocumentIndex": 0, + "Title": "main.cpp", + "DocumentMoniker": "E:\\DataFile\\ProjectX\\TalkingWeb\\ConsoleApplication3\\main.cpp", + "RelativeDocumentMoniker": "main.cpp", + "ToolTip": "E:\\DataFile\\ProjectX\\TalkingWeb\\ConsoleApplication3\\main.cpp", + "RelativeToolTip": "main.cpp", + "ViewState": "AgIAAAAAAAAAAAAAAADwvwgAAAABAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000677|", + "WhenOpened": "2025-02-16T16:03:02.248Z", + "EditorCaption": "" + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/Server/.vs/Server/v17/ipch/AutoPCH/f9938b2980a05e9d/MAIN.ipch b/ConsoleApplication3/.vs/ConsoleApplication3/v17/ipch/AutoPCH/81627db9d2113038/MAIN.ipch similarity index 61% rename from Server/.vs/Server/v17/ipch/AutoPCH/f9938b2980a05e9d/MAIN.ipch rename to ConsoleApplication3/.vs/ConsoleApplication3/v17/ipch/AutoPCH/81627db9d2113038/MAIN.ipch index 3a5a66a..5db7221 100644 Binary files a/Server/.vs/Server/v17/ipch/AutoPCH/f9938b2980a05e9d/MAIN.ipch and b/ConsoleApplication3/.vs/ConsoleApplication3/v17/ipch/AutoPCH/81627db9d2113038/MAIN.ipch differ diff --git a/ConsoleApplication3/ConsoleApplication3.sln b/ConsoleApplication3/ConsoleApplication3.sln new file mode 100644 index 0000000..a97fb60 --- /dev/null +++ b/ConsoleApplication3/ConsoleApplication3.sln @@ -0,0 +1,48 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.12.35506.116 d17.12 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ConsoleApplication3", "ConsoleApplication3.vcxproj", "{CCA6B3FC-0982-4E23-9318-78BFD3A93243}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|ARM = Debug|ARM + Debug|ARM64 = Debug|ARM64 + Debug|x64 = Debug|x64 + Debug|x86 = Debug|x86 + Release|ARM = Release|ARM + Release|ARM64 = Release|ARM64 + Release|x64 = Release|x64 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {CCA6B3FC-0982-4E23-9318-78BFD3A93243}.Debug|ARM.ActiveCfg = Debug|ARM + {CCA6B3FC-0982-4E23-9318-78BFD3A93243}.Debug|ARM.Build.0 = Debug|ARM + {CCA6B3FC-0982-4E23-9318-78BFD3A93243}.Debug|ARM.Deploy.0 = Debug|ARM + {CCA6B3FC-0982-4E23-9318-78BFD3A93243}.Debug|ARM64.ActiveCfg = Debug|ARM64 + {CCA6B3FC-0982-4E23-9318-78BFD3A93243}.Debug|ARM64.Build.0 = Debug|ARM64 + {CCA6B3FC-0982-4E23-9318-78BFD3A93243}.Debug|ARM64.Deploy.0 = Debug|ARM64 + {CCA6B3FC-0982-4E23-9318-78BFD3A93243}.Debug|x64.ActiveCfg = Debug|x64 + {CCA6B3FC-0982-4E23-9318-78BFD3A93243}.Debug|x64.Build.0 = Debug|x64 + {CCA6B3FC-0982-4E23-9318-78BFD3A93243}.Debug|x64.Deploy.0 = Debug|x64 + {CCA6B3FC-0982-4E23-9318-78BFD3A93243}.Debug|x86.ActiveCfg = Debug|x86 + {CCA6B3FC-0982-4E23-9318-78BFD3A93243}.Debug|x86.Build.0 = Debug|x86 + {CCA6B3FC-0982-4E23-9318-78BFD3A93243}.Debug|x86.Deploy.0 = Debug|x86 + {CCA6B3FC-0982-4E23-9318-78BFD3A93243}.Release|ARM.ActiveCfg = Release|ARM + {CCA6B3FC-0982-4E23-9318-78BFD3A93243}.Release|ARM.Build.0 = Release|ARM + {CCA6B3FC-0982-4E23-9318-78BFD3A93243}.Release|ARM.Deploy.0 = Release|ARM + {CCA6B3FC-0982-4E23-9318-78BFD3A93243}.Release|ARM64.ActiveCfg = Release|ARM64 + {CCA6B3FC-0982-4E23-9318-78BFD3A93243}.Release|ARM64.Build.0 = Release|ARM64 + {CCA6B3FC-0982-4E23-9318-78BFD3A93243}.Release|ARM64.Deploy.0 = Release|ARM64 + {CCA6B3FC-0982-4E23-9318-78BFD3A93243}.Release|x64.ActiveCfg = Release|x64 + {CCA6B3FC-0982-4E23-9318-78BFD3A93243}.Release|x64.Build.0 = Release|x64 + {CCA6B3FC-0982-4E23-9318-78BFD3A93243}.Release|x64.Deploy.0 = Release|x64 + {CCA6B3FC-0982-4E23-9318-78BFD3A93243}.Release|x86.ActiveCfg = Release|x86 + {CCA6B3FC-0982-4E23-9318-78BFD3A93243}.Release|x86.Build.0 = Release|x86 + {CCA6B3FC-0982-4E23-9318-78BFD3A93243}.Release|x86.Deploy.0 = Release|x86 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Server/Server/Server.vcxproj b/ConsoleApplication3/ConsoleApplication3.vcxproj similarity index 88% rename from Server/Server/Server.vcxproj rename to ConsoleApplication3/ConsoleApplication3.vcxproj index 9657d26..bf7dcc8 100644 --- a/Server/Server/Server.vcxproj +++ b/ConsoleApplication3/ConsoleApplication3.vcxproj @@ -35,9 +35,9 @@ - {f7f5f172-c830-4db9-9307-dbe16489b023} + {cca6b3fc-0982-4e23-9318-78bfd3a93243} Linux - Server + ConsoleApplication3 15.0 Linux 1.0 @@ -59,7 +59,8 @@ true - ~/ProjectX/Server + /root/ProjectCpp + $(RemoteRootDir)/$(ProjectName) false @@ -82,8 +83,11 @@ - c++17 + /usr/include;%(AdditionalIncludeDirectories) + + /usr/lib;%(AdditionalLibraryDirectories) + diff --git a/Server/Server/Server.vcxproj.user b/ConsoleApplication3/ConsoleApplication3.vcxproj.user similarity index 65% rename from Server/Server/Server.vcxproj.user rename to ConsoleApplication3/ConsoleApplication3.vcxproj.user index 41bd62f..acd82cf 100644 --- a/Server/Server/Server.vcxproj.user +++ b/ConsoleApplication3/ConsoleApplication3.vcxproj.user @@ -1,7 +1,7 @@  - gdbserver + $(RemoteRootDir)/$(ProjectName)/bin/$(Platform)/$(Configuration)/$(Targetname).out LinuxDebugger \ No newline at end of file diff --git a/ConsoleApplication3/bin/x64/Debug/ConsoleApplication3.out b/ConsoleApplication3/bin/x64/Debug/ConsoleApplication3.out new file mode 100644 index 0000000..4d8cbbf Binary files /dev/null and b/ConsoleApplication3/bin/x64/Debug/ConsoleApplication3.out differ diff --git a/ConsoleApplication3/main.cpp b/ConsoleApplication3/main.cpp new file mode 100644 index 0000000..3c5c112 --- /dev/null +++ b/ConsoleApplication3/main.cpp @@ -0,0 +1,9 @@ +#include +#include +using namespace std; +int main() +{ + cout << "你好,这是我的第一个在Linux上部署调试的CPP文件"< E:\DataFile\ProjectX\TalkingWeb\Server\Server\bin\x64\Debug\Server.out + ConsoleApplication3.vcxproj -> E:\DataFile\ProjectX\TalkingWeb\ConsoleApplication3\bin\x64\Debug\ConsoleApplication3.out diff --git a/Server/Server/obj/x64/Debug/LastRemoteTarget.tlog b/ConsoleApplication3/obj/x64/Debug/LastRemoteTarget.tlog similarity index 100% rename from Server/Server/obj/x64/Debug/LastRemoteTarget.tlog rename to ConsoleApplication3/obj/x64/Debug/LastRemoteTarget.tlog diff --git a/ConsoleApplication3/obj/x64/Debug/Local_Remote_Timestamps.xml b/ConsoleApplication3/obj/x64/Debug/Local_Remote_Timestamps.xml new file mode 100644 index 0000000..0b72c78 --- /dev/null +++ b/ConsoleApplication3/obj/x64/Debug/Local_Remote_Timestamps.xml @@ -0,0 +1,5 @@ + + + + {B21E573D-901E-4586-82E4-49C3103B9154} + \ No newline at end of file diff --git a/Server/Server/obj/x64/Debug/iconfig.json b/ConsoleApplication3/obj/x64/Debug/iconfig.json similarity index 96% rename from Server/Server/obj/x64/Debug/iconfig.json rename to ConsoleApplication3/obj/x64/Debug/iconfig.json index 90cb2ca..c40746c 100644 --- a/Server/Server/obj/x64/Debug/iconfig.json +++ b/ConsoleApplication3/obj/x64/Debug/iconfig.json @@ -4,14 +4,12 @@ "cpp_compiler": "g++", "cpp_compiler_defines": { "__DBL_MIN_EXP__": "(-1021)", - "__cpp_nontype_template_parameter_auto": "201606L", "__UINT_LEAST16_MAX__": "0xffff", "__FLT16_HAS_QUIET_NAN__": "1", "__ATOMIC_ACQUIRE": "2", "__FLT128_MAX_10_EXP__": "4932", "__FLT_MIN__": "1.17549435082228750796873653722224568e-38F", "__GCC_IEC_559_COMPLEX": "2", - "__cpp_aggregate_nsdmi": "201304L", "__UINT_LEAST8_TYPE__": "unsigned char", "__SIZEOF_FLOAT80__": "16", "__BFLT16_DENORM_MIN__": "9.18354961579912115600575419704879436e-41BF16", @@ -21,7 +19,7 @@ "__SCHAR_WIDTH__": "8", "__WINT_MAX__": "0xffffffffU", "__FLT32_MIN_EXP__": "(-125)", - "__cpp_static_assert": "201411L", + "__cpp_static_assert": "200410L", "__BFLT16_MIN_10_EXP__": "(-37)", "__ORDER_LITTLE_ENDIAN__": "1234", "__WCHAR_MAX__": "0x7fffffff", @@ -35,33 +33,28 @@ "__cpp_binary_literals": "201304L", "__FLT64_DECIMAL_DIG__": "17", "__CET__": "3", - "__cpp_noexcept_function_type": "201510L", "__GCC_ATOMIC_CHAR32_T_LOCK_FREE": "2", "__cpp_variadic_templates": "200704L", "__UINT_FAST64_MAX__": "0xffffffffffffffffUL", "__SIG_ATOMIC_TYPE__": "int", "__DBL_MIN_10_EXP__": "(-307)", "__FINITE_MATH_ONLY__": "0", - "__cpp_variable_templates": "201304L", "__FLT32X_MAX_EXP__": "1024", "__GCC_HAVE_SYNC_COMPARE_AND_SWAP_1": "1", "__FLT32_HAS_DENORM__": "1", "__UINT_FAST8_MAX__": "0xff", "__cpp_rvalue_reference": "200610L", - "__cpp_nested_namespace_definitions": "201411L", + "__FLT32_MAX_10_EXP__": "38", "__DEC64_MAX_EXP__": "385", "__INT8_C(c)": "c", "__LDBL_HAS_INFINITY__": "1", "__INT_LEAST8_WIDTH__": "8", - "__cpp_variadic_using": "201611L", "__UINT_LEAST64_MAX__": "0xffffffffffffffffUL", "__INT_LEAST8_MAX__": "0x7f", "__cpp_attributes": "200809L", - "__cpp_capture_star_this": "201603L", "__SHRT_MAX__": "0x7fff", "__LDBL_MAX__": "1.18973149535723176502126385303097021e+4932L", "__FLT64X_MAX_10_EXP__": "4932", - "__cpp_if_constexpr": "201606L", "__BFLT16_MAX_10_EXP__": "38", "__BFLT16_MAX_EXP__": "128", "__LDBL_IS_IEC_60559__": "1", @@ -94,12 +87,9 @@ "__INT_LEAST64_MAX__": "0x7fffffffffffffffL", "__FLT32X_MANT_DIG__": "53", "__GCC_ATOMIC_CHAR16_T_LOCK_FREE": "2", - "__cpp_aligned_new": "201606L", - "__FLT32_MAX_10_EXP__": "38", "__FLT64X_EPSILON__": "1.08420217248550443400745280086994171e-19F64x", "__STDC_HOSTED__": "1", "__DEC64_MIN_EXP__": "(-382)", - "__cpp_decltype_auto": "201304L", "__DBL_DIG__": "15", "__FLT_EPSILON__": "1.19209289550781250000000000000000000e-7F", "__GXX_WEAK__": "1", @@ -109,7 +99,6 @@ "__DBL_IS_IEC_60559__": "1", "__DEC32_MAX__": "9.999999E96DF", "__cpp_threadsafe_static_init": "200806L", - "__cpp_enumerator_attributes": "201411L", "__FLT64X_DENORM_MIN__": "3.64519953188247460252840593361941982e-4951F64x", "__FLT32X_HAS_INFINITY__": "1", "__unix__": "1", @@ -124,7 +113,6 @@ "__FLT64_MIN_EXP__": "(-1021)", "__FLT64X_MIN_10_EXP__": "(-4931)", "__LDBL_HAS_QUIET_NAN__": "1", - "__cpp_return_type_deduction": "201304L", "__FLT16_MIN_EXP__": "(-13)", "__FLT64_MANT_DIG__": "53", "__FLT64X_MANT_DIG__": "64", @@ -148,7 +136,6 @@ "__INT64_MAX__": "0x7fffffffffffffffL", "__SIZEOF_FLOAT__": "4", "__HAVE_SPECULATION_SAFE_VALUE": "1", - "__cpp_fold_expressions": "201603L", "__DEC32_MIN_EXP__": "(-94)", "__INTPTR_WIDTH__": "64", "__UINT_LEAST32_MAX__": "0xffffffffU", @@ -159,7 +146,7 @@ "__LDBL_HAS_DENORM__": "1", "__SEG_GS": "1", "__BFLT16_EPSILON__": "7.81250000000000000000000000000000000e-3BF16", - "__cplusplus": "201703L", + "__cplusplus": "201103L", "__cpp_ref_qualifiers": "200710L", "__DEC32_MIN__": "1E-95DF", "__DEPRECATED": "1", @@ -193,7 +180,6 @@ "__INT_FAST64_TYPE__": "long int", "__BFLT16_MAX__": "3.38953138925153547590470800371487867e+38BF16", "__FLT64_DENORM_MIN__": "4.94065645841246544176568792868221372e-324F64", - "__cpp_template_auto": "201606L", "__FLT16_DENORM_MIN__": "5.96046447753906250000000000000000000e-8F16", "__FLT128_EPSILON__": "1.92592994438723585305597794258492732e-34F128", "__FLT64X_NORM_MAX__": "1.18973149535723176502126385303097021e+4932F64x", @@ -220,7 +206,7 @@ "__LDBL_DECIMAL_DIG__": "21", "__VERSION__": "\"13.3.0\"", "__UINT64_C(c)": "c ## UL", - "__cpp_unicode_characters": "201411L", + "__cpp_unicode_characters": "200704L", "_STDC_PREDEF_H": "1", "__INT_LEAST32_MAX__": "0x7fffffff", "__GCC_ATOMIC_INT_LOCK_FREE": "2", @@ -229,7 +215,6 @@ "__FLOAT_WORD_ORDER__": "__ORDER_LITTLE_ENDIAN__", "__FLT32X_MIN_EXP__": "(-1021)", "__STDC_IEC_60559_COMPLEX__": "201404L", - "__cpp_aggregate_bases": "201603L", "__BFLT16_MIN__": "1.17549435082228750796873653722224568e-38BF16", "__FLT128_HAS_DENORM__": "1", "__FLT32_DECIMAL_DIG__": "9", @@ -249,7 +234,6 @@ "__GNUC_WIDE_EXECUTION_CHARSET_NAME": "\"UTF-32LE\"", "__FLT64X_DIG__": "18", "__INT8_TYPE__": "signed char", - "__cpp_digit_separators": "201309L", "__ELF__": "1", "__GCC_ASM_FLAG_OUTPUTS__": "1", "__UINT32_TYPE__": "unsigned int", @@ -262,7 +246,7 @@ "__k8": "1", "__FLT32X_MIN__": "2.22507385850720138309023271733240406e-308F32x", "__SIG_ATOMIC_MAX__": "0x7fffffff", - "__cpp_constexpr": "201603L", + "__cpp_constexpr": "200704L", "__GCC_ATOMIC_WCHAR_T_LOCK_FREE": "2", "__USER_LABEL_PREFIX__": "", "__STDC_IEC_60559_BFP__": "201404L", @@ -306,30 +290,25 @@ "__INT_LEAST8_TYPE__": "signed char", "__FLT16_MAX__": "6.55040000000000000000000000000000000e+4F16", "__FLT128_MIN__": "3.36210314311209350626267781732175260e-4932F128", - "__cpp_structured_bindings": "201606L", "__SIZEOF_INT__": "4", "__DEC32_MAX_EXP__": "97", "__INT_FAST8_MAX__": "0x7f", "__FLT128_MAX__": "1.18973149535723176508575932662800702e+4932F128", "__INTPTR_MAX__": "0x7fffffffffffffffL", - "__cpp_sized_deallocation": "201309L", - "__cpp_guaranteed_copy_elision": "201606L", "__FLT64_HAS_QUIET_NAN__": "1", "__FLT32_MIN_10_EXP__": "(-37)", "__EXCEPTIONS": "1", "__UINT16_C(c)": "c", "__PTRDIFF_WIDTH__": "64", "__LDBL_MANT_DIG__": "64", - "__cpp_range_based_for": "201603L", + "__cpp_range_based_for": "200907L", "__INT_FAST16_WIDTH__": "64", "__FLT64_HAS_INFINITY__": "1", "__FLT64X_MAX__": "1.18973149535723176502126385303097021e+4932F64x", "__FLT16_HAS_INFINITY__": "1", - "__STDCPP_DEFAULT_NEW_ALIGNMENT__": "16", "__SIG_ATOMIC_MIN__": "(-__SIG_ATOMIC_MAX__ - 1)", "__code_model_small__": "1", "__GCC_ATOMIC_LONG_LOCK_FREE": "2", - "__cpp_nontype_template_args": "201411L", "__DEC32_MANT_DIG__": "7", "__k8__": "1", "__INTPTR_TYPE__": "long int", @@ -345,7 +324,6 @@ "__FLT32_HAS_INFINITY__": "1", "__FLT64X_MAX_EXP__": "16384", "__UINT_FAST64_TYPE__": "long unsigned int", - "__cpp_inline_variables": "201606L", "__BFLT16_MIN_EXP__": "(-125)", "__INT_MAX__": "0x7fffffff", "__linux__": "1", @@ -368,7 +346,6 @@ "__WINT_WIDTH__": "32", "__INT_LEAST64_WIDTH__": "64", "__FLT32X_MAX_10_EXP__": "308", - "__cpp_namespace_attributes": "201411L", "__SIZEOF_INT128__": "16", "__FLT16_MIN__": "6.10351562500000000000000000000000000e-5F16", "__FLT64X_IS_IEC_60559__": "1", @@ -420,7 +397,6 @@ "__CHAR32_TYPE__": "unsigned int", "__FLT_MAX__": "3.40282346638528859811704183484516925e+38F", "__SSE2__": "1", - "__cpp_deduction_guides": "201703L", "__BFLT16_NORM_MAX__": "3.38953138925153547590470800371487867e+38BF16", "__INT32_TYPE__": "int", "__SIZEOF_DOUBLE__": "8", @@ -435,7 +411,6 @@ "__UINTMAX_MAX__": "0xffffffffffffffffUL", "__PIE__": "2", "__FLT32X_DENORM_MIN__": "4.94065645841246544176568792868221372e-324F32x", - "__cpp_template_template_args": "201611L", "__DBL_MAX_10_EXP__": "308", "__LDBL_DENORM_MIN__": "3.64519953188247460252840593361941982e-4951L", "__INT16_C(c)": "c", @@ -446,7 +421,6 @@ "__DEC64_SUBNORMAL_MIN__": "0.000000000000001E-383DD", "__DEC128_MANT_DIG__": "34", "__LDBL_MIN_10_EXP__": "(-4931)", - "__cpp_generic_lambdas": "201304L", "__SSE_MATH__": "1", "__SIZEOF_LONG_LONG__": "8", "__cpp_user_defined_literals": "200809L", @@ -460,7 +434,6 @@ "__SIZE_MAX__": "0xffffffffffffffffUL", "__UINT_FAST8_TYPE__": "unsigned char", "_GNU_SOURCE": "1", - "__cpp_init_captures": "201304L", "__ATOMIC_ACQ_REL": "4", "__ATOMIC_RELEASE": "3" }, diff --git a/Server/.vs/Server/FileContentIndex/d4b97c93-b5f1-48f2-b14d-ee9351a89996.vsidx b/Server/.vs/Server/FileContentIndex/d4b97c93-b5f1-48f2-b14d-ee9351a89996.vsidx deleted file mode 100644 index c9113ad..0000000 Binary files a/Server/.vs/Server/FileContentIndex/d4b97c93-b5f1-48f2-b14d-ee9351a89996.vsidx and /dev/null differ diff --git a/Server/.vs/Server/v17/.suo b/Server/.vs/Server/v17/.suo deleted file mode 100644 index 28aaba8..0000000 Binary files a/Server/.vs/Server/v17/.suo and /dev/null differ diff --git a/Server/.vs/Server/v17/Browse.VC.db b/Server/.vs/Server/v17/Browse.VC.db deleted file mode 100644 index 97d1c79..0000000 Binary files a/Server/.vs/Server/v17/Browse.VC.db and /dev/null differ diff --git a/Server/.vs/Server/v17/DocumentLayout.backup.json b/Server/.vs/Server/v17/DocumentLayout.backup.json deleted file mode 100644 index 4cf2fbb..0000000 --- a/Server/.vs/Server/v17/DocumentLayout.backup.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "Version": 1, - "WorkspaceRootPath": "E:\\DataFile\\ProjectX\\TalkingWeb\\Server\\", - "Documents": [ - { - "AbsoluteMoniker": "D:0:0:{F7F5F172-C830-4DB9-9307-DBE16489B023}|Server\\Server.vcxproj|E:\\DataFile\\ProjectX\\TalkingWeb\\Server\\Server\\main.cpp||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}", - "RelativeMoniker": "D:0:0:{F7F5F172-C830-4DB9-9307-DBE16489B023}|Server\\Server.vcxproj|solutionrelative:Server\\main.cpp||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}" - } - ], - "DocumentGroupContainers": [ - { - "Orientation": 0, - "VerticalTabListWidth": 256, - "DocumentGroups": [ - { - "DockedWidth": 200, - "SelectedChildIndex": 0, - "Children": [ - { - "$type": "Document", - "DocumentIndex": 0, - "Title": "main.cpp", - "DocumentMoniker": "E:\\DataFile\\ProjectX\\TalkingWeb\\Server\\Server\\main.cpp", - "RelativeDocumentMoniker": "Server\\main.cpp", - "ToolTip": "E:\\DataFile\\ProjectX\\TalkingWeb\\Server\\Server\\main.cpp", - "RelativeToolTip": "Server\\main.cpp", - "ViewState": "AgIAAAAAAAAAAAAAAAAAAAUAAAABAAAAAAAAAA==", - "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000677|", - "WhenOpened": "2025-01-03T06:27:49.982Z", - "EditorCaption": "" - } - ] - } - ] - } - ] -} \ No newline at end of file diff --git a/Server/.vs/Server/v17/DocumentLayout.json b/Server/.vs/Server/v17/DocumentLayout.json deleted file mode 100644 index d5ce55e..0000000 --- a/Server/.vs/Server/v17/DocumentLayout.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "Version": 1, - "WorkspaceRootPath": "E:\\DataFile\\ProjectX\\TalkingWeb\\Server\\", - "Documents": [ - { - "AbsoluteMoniker": "D:0:0:{F7F5F172-C830-4DB9-9307-DBE16489B023}|Server\\Server.vcxproj|E:\\DataFile\\ProjectX\\TalkingWeb\\Server\\Server\\main.cpp||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}", - "RelativeMoniker": "D:0:0:{F7F5F172-C830-4DB9-9307-DBE16489B023}|Server\\Server.vcxproj|solutionrelative:Server\\main.cpp||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}" - } - ], - "DocumentGroupContainers": [ - { - "Orientation": 0, - "VerticalTabListWidth": 256, - "DocumentGroups": [ - { - "DockedWidth": 200, - "SelectedChildIndex": 0, - "Children": [ - { - "$type": "Document", - "DocumentIndex": 0, - "Title": "main.cpp", - "DocumentMoniker": "E:\\DataFile\\ProjectX\\TalkingWeb\\Server\\Server\\main.cpp", - "RelativeDocumentMoniker": "Server\\main.cpp", - "ToolTip": "E:\\DataFile\\ProjectX\\TalkingWeb\\Server\\Server\\main.cpp", - "RelativeToolTip": "Server\\main.cpp", - "ViewState": "AgIAAAAAAAAAAAAAAAAAAAQAAAABAAAAAAAAAA==", - "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000677|", - "WhenOpened": "2025-01-03T06:27:49.982Z", - "EditorCaption": "" - } - ] - } - ] - } - ] -} \ No newline at end of file diff --git a/Server/.vs/Server/v17/Solution.VC.db b/Server/.vs/Server/v17/Solution.VC.db deleted file mode 100644 index 3abea8a..0000000 Binary files a/Server/.vs/Server/v17/Solution.VC.db and /dev/null differ diff --git a/Server/Server.sln b/Server/Server.sln deleted file mode 100644 index ce00263..0000000 --- a/Server/Server.sln +++ /dev/null @@ -1,48 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 17 -VisualStudioVersion = 17.12.35506.116 d17.12 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Server", "Server\Server.vcxproj", "{F7F5F172-C830-4DB9-9307-DBE16489B023}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|ARM = Debug|ARM - Debug|ARM64 = Debug|ARM64 - Debug|x64 = Debug|x64 - Debug|x86 = Debug|x86 - Release|ARM = Release|ARM - Release|ARM64 = Release|ARM64 - Release|x64 = Release|x64 - Release|x86 = Release|x86 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {F7F5F172-C830-4DB9-9307-DBE16489B023}.Debug|ARM.ActiveCfg = Debug|ARM - {F7F5F172-C830-4DB9-9307-DBE16489B023}.Debug|ARM.Build.0 = Debug|ARM - {F7F5F172-C830-4DB9-9307-DBE16489B023}.Debug|ARM.Deploy.0 = Debug|ARM - {F7F5F172-C830-4DB9-9307-DBE16489B023}.Debug|ARM64.ActiveCfg = Debug|ARM64 - {F7F5F172-C830-4DB9-9307-DBE16489B023}.Debug|ARM64.Build.0 = Debug|ARM64 - {F7F5F172-C830-4DB9-9307-DBE16489B023}.Debug|ARM64.Deploy.0 = Debug|ARM64 - {F7F5F172-C830-4DB9-9307-DBE16489B023}.Debug|x64.ActiveCfg = Debug|x64 - {F7F5F172-C830-4DB9-9307-DBE16489B023}.Debug|x64.Build.0 = Debug|x64 - {F7F5F172-C830-4DB9-9307-DBE16489B023}.Debug|x64.Deploy.0 = Debug|x64 - {F7F5F172-C830-4DB9-9307-DBE16489B023}.Debug|x86.ActiveCfg = Debug|x86 - {F7F5F172-C830-4DB9-9307-DBE16489B023}.Debug|x86.Build.0 = Debug|x86 - {F7F5F172-C830-4DB9-9307-DBE16489B023}.Debug|x86.Deploy.0 = Debug|x86 - {F7F5F172-C830-4DB9-9307-DBE16489B023}.Release|ARM.ActiveCfg = Release|ARM - {F7F5F172-C830-4DB9-9307-DBE16489B023}.Release|ARM.Build.0 = Release|ARM - {F7F5F172-C830-4DB9-9307-DBE16489B023}.Release|ARM.Deploy.0 = Release|ARM - {F7F5F172-C830-4DB9-9307-DBE16489B023}.Release|ARM64.ActiveCfg = Release|ARM64 - {F7F5F172-C830-4DB9-9307-DBE16489B023}.Release|ARM64.Build.0 = Release|ARM64 - {F7F5F172-C830-4DB9-9307-DBE16489B023}.Release|ARM64.Deploy.0 = Release|ARM64 - {F7F5F172-C830-4DB9-9307-DBE16489B023}.Release|x64.ActiveCfg = Release|x64 - {F7F5F172-C830-4DB9-9307-DBE16489B023}.Release|x64.Build.0 = Release|x64 - {F7F5F172-C830-4DB9-9307-DBE16489B023}.Release|x64.Deploy.0 = Release|x64 - {F7F5F172-C830-4DB9-9307-DBE16489B023}.Release|x86.ActiveCfg = Release|x86 - {F7F5F172-C830-4DB9-9307-DBE16489B023}.Release|x86.Build.0 = Release|x86 - {F7F5F172-C830-4DB9-9307-DBE16489B023}.Release|x86.Deploy.0 = Release|x86 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/Server/Server/bin/x64/Debug/Server.out b/Server/Server/bin/x64/Debug/Server.out deleted file mode 100644 index b04979c..0000000 Binary files a/Server/Server/bin/x64/Debug/Server.out and /dev/null differ diff --git a/Server/Server/main.cpp b/Server/Server/main.cpp deleted file mode 100644 index eba21d8..0000000 --- a/Server/Server/main.cpp +++ /dev/null @@ -1,5 +0,0 @@ -#include -int main() -{ - -} \ No newline at end of file diff --git a/Server/Server/obj/x64/Debug/1622921215.CompileUpToDateFile.tlog b/Server/Server/obj/x64/Debug/1622921215.CompileUpToDateFile.tlog deleted file mode 100644 index 902d8e8..0000000 --- a/Server/Server/obj/x64/Debug/1622921215.CompileUpToDateFile.tlog +++ /dev/null @@ -1 +0,0 @@ -E:\DataFile\ProjectX\TalkingWeb\Server\Server\main.cpp|638715112669389852|/root/ProjectX/Server/Server/||g++ -c -x c++ /root/ProjectX/Server/Server/main.cpp -g2 -gdwarf-2 -o "/root/ProjectX/Server/Server/obj/x64/Debug/main.o" -Wall -Wswitch -W"no-deprecated-declarations" -W"empty-body" -Wconversion -W"return-type" -Wparentheses -W"no-format" -Wuninitialized -W"unreachable-code" -W"unused-function" -W"unused-value" -W"unused-variable" -O0 -fno-strict-aliasing -fno-omit-frame-pointer -fthreadsafe-statics -fexceptions -frtti -std=c++17 diff --git a/Server/Server/obj/x64/Debug/1622921215.CopySourcesUpToDateFile.tlog b/Server/Server/obj/x64/Debug/1622921215.CopySourcesUpToDateFile.tlog deleted file mode 100644 index 2767b91..0000000 --- a/Server/Server/obj/x64/Debug/1622921215.CopySourcesUpToDateFile.tlog +++ /dev/null @@ -1 +0,0 @@ -E:\DataFile\ProjectX\TalkingWeb\Server\Server\main.cpp|638715112669389852|~/ProjectX/Server/Server/| diff --git a/Server/Server/obj/x64/Debug/1622921215.LinkUpToDateFile.tlog b/Server/Server/obj/x64/Debug/1622921215.LinkUpToDateFile.tlog deleted file mode 100644 index 02ae886..0000000 --- a/Server/Server/obj/x64/Debug/1622921215.LinkUpToDateFile.tlog +++ /dev/null @@ -1 +0,0 @@ -cd /root/ProjectX/Server/Server/; g++ -o "/root/ProjectX/Server/Server/bin/x64/Debug/Server.out" -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-z,noexecstack /root/ProjectX/Server/Server/obj/x64/Debug/main.o \ No newline at end of file diff --git a/Server/Server/obj/x64/Debug/1622921215.Local_Remote_PathMapping.tlog b/Server/Server/obj/x64/Debug/1622921215.Local_Remote_PathMapping.tlog deleted file mode 100644 index 87ede0b..0000000 --- a/Server/Server/obj/x64/Debug/1622921215.Local_Remote_PathMapping.tlog +++ /dev/null @@ -1,4 +0,0 @@ -E:\DataFile\ProjectX\TalkingWeb\Server\Server\main.cpp|/root/ProjectX/Server/Server/main.cpp -E:\DataFile\ProjectX\TalkingWeb\Server\Server|/root/ProjectX/Server/Server -@E:\DataFile\ProjectX\TalkingWeb\Server\Server|@/root/ProjectX/Server/Server -E:\DataFile\ProjectX\TalkingWeb\Server\Server\|/root/ProjectX/Server/Server/ diff --git a/Server/Server/obj/x64/Debug/1622921215.RemoteProjectDirFile.tlog b/Server/Server/obj/x64/Debug/1622921215.RemoteProjectDirFile.tlog deleted file mode 100644 index 2936bf4..0000000 --- a/Server/Server/obj/x64/Debug/1622921215.RemoteProjectDirFile.tlog +++ /dev/null @@ -1 +0,0 @@ -~/ProjectX/Server/Server/|/root/ProjectX/Server/Server/ \ No newline at end of file diff --git a/Server/Server/obj/x64/Debug/Server.tlog/Cl.items.tlog b/Server/Server/obj/x64/Debug/Server.tlog/Cl.items.tlog deleted file mode 100644 index d99d99b..0000000 --- a/Server/Server/obj/x64/Debug/Server.tlog/Cl.items.tlog +++ /dev/null @@ -1 +0,0 @@ -E:\DataFile\ProjectX\TalkingWeb\Server\Server\main.cpp;E:\DataFile\ProjectX\TalkingWeb\Server\Server\obj\x64\Debug\main.o diff --git a/Server/Server/obj/x64/Debug/Server.tlog/compile.write.1.tlog b/Server/Server/obj/x64/Debug/Server.tlog/compile.write.1.tlog deleted file mode 100644 index b7da8f3..0000000 Binary files a/Server/Server/obj/x64/Debug/Server.tlog/compile.write.1.tlog and /dev/null differ diff --git a/Server/Server/obj/x64/Debug/Server.tlog/link.write.1.tlog b/Server/Server/obj/x64/Debug/Server.tlog/link.write.1.tlog deleted file mode 100644 index 62cf019..0000000 Binary files a/Server/Server/obj/x64/Debug/Server.tlog/link.write.1.tlog and /dev/null differ diff --git a/Server/readme/images/ArchOptions.gif b/Server/readme/images/ArchOptions.gif deleted file mode 100644 index 1ac4891..0000000 Binary files a/Server/readme/images/ArchOptions.gif and /dev/null differ diff --git a/Server/readme/images/ChangeRemote.gif b/Server/readme/images/ChangeRemote.gif deleted file mode 100644 index 0de4274..0000000 Binary files a/Server/readme/images/ChangeRemote.gif and /dev/null differ diff --git a/Server/readme/images/ManageConnections.gif b/Server/readme/images/ManageConnections.gif deleted file mode 100644 index be6ee98..0000000 Binary files a/Server/readme/images/ManageConnections.gif and /dev/null differ diff --git a/Server/readme/images/OutputTypes.gif b/Server/readme/images/OutputTypes.gif deleted file mode 100644 index 41ccb08..0000000 Binary files a/Server/readme/images/OutputTypes.gif and /dev/null differ diff --git a/Server/readme/images/debuggerexport.png b/Server/readme/images/debuggerexport.png deleted file mode 100644 index 6579d86..0000000 Binary files a/Server/readme/images/debuggerexport.png and /dev/null differ diff --git a/Server/readme/images/firstconnection.png b/Server/readme/images/firstconnection.png deleted file mode 100644 index 71c3591..0000000 Binary files a/Server/readme/images/firstconnection.png and /dev/null differ diff --git a/Server/readme/images/linker.png b/Server/readme/images/linker.png deleted file mode 100644 index ec67688..0000000 Binary files a/Server/readme/images/linker.png and /dev/null differ diff --git a/Server/readme/images/postbuild.png b/Server/readme/images/postbuild.png deleted file mode 100644 index 09a6a77..0000000 Binary files a/Server/readme/images/postbuild.png and /dev/null differ diff --git a/Server/readme/readme.html b/Server/readme/readme.html deleted file mode 100644 index 5b0ef4f..0000000 --- a/Server/readme/readme.html +++ /dev/null @@ -1,77 +0,0 @@ - - - - - - - - 入门 - - - - -
- - - - -
- -
- - - -
-
-

设置用于 Linux 开发的项目

- -

使用此工作负荷,可创作适用于 Linux 服务器、桌面和设备的 C++ 代码。可从 VS 中管理与这些计算机的连接。VS 将自动复制和远程生成源,并可使用调试器启动应用程序。我们的项目系统支持以特定体系结构(包括 ARM)为目标。

- - -

正在连接到 Linux

-

先决条件

-

现在仅支持在 Linux 目标计算机上远程构建。我们不受特定 Linux 发行版的限制,但确实依赖于某些工具的存在。具体说来,我们需要 openssh-server、g++、gdb 和 gdbserver。请使用你喜爱的包管理器安装它们,例如,在基于 Debian 的系统上,可以使用 sudo apt-get install openssh-server g++ gdb gdbserver

- -

第一个连接

-

第一次以 Linux 计算机为目标时,系统将提示你输入连接信息。此操作由生成项目触发。

- - -

添加和删除连接

-

若要添加新连接,请转到“工具”>“选项”并搜索“连接”,连接管理器将显示在“跨平台”下。可从此处添加和移除连接。

- - -

若要更改项目使用的连接,请转到项目属性常规设置并更新“远程生成计算机”选项。

- - -

项目属性

-

控制 C++ 编译所需的所有选项都在项目属性页上公开。我们将具体介绍 Linux 的一些工作原理。在常规设置下,你将看到远程根已默认设置为 ~/projects/,我们要将远程项目目录设置为与该位置的项目名称匹配。

- - -

查看项目的“常规设置”,可以看到输出目录和中间目录的配置情况。此外,还会看到此项目已配置为应用程序,因此可执行文件位于 bin/x64/Debug/ 下,名为 ConsoleApplication1.out。请注意,对于配置类型,我们也支持静态和动态库。

- -

在“链接器”>“输入属性”页上添加其他库依赖项。

- - -

可将额外的预启动命令传递给调试器,以执行在远程 linux 计算机上启动图形应用等操作。

- - -

还可发送生成后事件以控制远程行为,比如在本例中,导出 gpio pin 以便在不要求可执行文件以超级用户身份运行的情况下使用。

- - -
-
-
- -

资源

- -

请查看 VC++ for Linux 开发页,我们将持续发布更新并提供更多深入介绍使用方法的详细信息。

-

给我们提供反馈

-

使用 Visual Studio 中的发送反馈功能,或通过开发人员社区与我们联系

-
-
-
- - diff --git a/Server/readme/stylesheet.css b/Server/readme/stylesheet.css deleted file mode 100644 index eb851aa..0000000 --- a/Server/readme/stylesheet.css +++ /dev/null @@ -1,119 +0,0 @@ -body { - margin: 0; - padding: 0; - border: 0; - color: #1E1E1E; - font-size: 13px; - font-family: "Segoe UI", Helvetica, Arial, sans-serif; - line-height: 1.45; - word-wrap: break-word; -} - -/* General & 'Reset' Stuff */ - - -.container { - width: 1100px; - margin: 0 auto; -} - -section { - display: block; - margin: 0; -} - -h1, h2, h3, h4, h5, h6 { - margin: 0; -} - -table, tr { - width: 1100px; - padding: 0px; - vertical-align: top; - } - -/* Header,
- header - container - h1 - project name - h2 - project description -*/ - -#header { - color: #FFF; - background: #68217a; - position:relative; -} -h1, h2 { - font-family: "Segoe UI Light", "Segoe UI", Helvetica, Arial, sans-serif; - line-height: 1; - margin: 0 18px;; - padding: 0; -} -#header h1 { - font-size: 3.4em; - padding-top: 18px; - font-weight: normal; - margin-left: 15px; -} - -#header h2 { - font-size: 1.5em; - margin-top: 10px; - padding-bottom: 18px; - font-weight: normal; -} - -#main_content { - width: 100%; - display: flex; - flex-direction: row; -} - - -h1, h2, h3, h4, h5, h6 { - font-weight: bolder; -} - -#main_content h1 { - font-size: 1.8em; - margin-top: 34px; -} - - #main_content h1:first-child { - margin-top: 30px; - } - -#main_content h2 { - font-size: 1.8em; -} -p, ul { - margin: 11px 18px; -} - -#main_content a { - color: #06C; - text-decoration: none; -} -ul { - margin-top: 13px; - margin-left: 18px; - padding-left: 0; -} - ul li { - margin-left: 18px; - padding-left: 0; - } -#lpanel { - width: 870px; - float: left; -} -#rpanel ul { - list-style-type: none; -} - #rpanel ul li { - line-height: 1.8em; - } -#rpanel { - background: #e7e7e7; - width: 230px; -}