Giter Club home page Giter Club logo

catpanelbackend's People

Contributors

juzi5201314 avatar

Watchers

 avatar  avatar

catpanelbackend's Issues

librocksdb-sys与libv8冲突

暂时禁用rocksdb,直到找到解决办法。

error: linking with `rust-lld.exe` failed: exit code: 1
  |
  = note: "rust-lld.exe" "-flavor" "link" "/NOLOGO" "C:\\Users\\soeur\\AppData\\Local\\Temp\\rustcRm0Q0F\\symbols.o" (省略) "C:\\Users\\soeur\\.rustup\\toolchains\\nightly-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\libcore-798bc7c2d986ac97.rlib" "C:\\Users\\soeur\\.rustup\\toolchains\\nightly-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\libcompiler_builtins-a1b071fff6cb8f9b.rlib" "snmallocshim-rust.lib" "mincore.lib" "iphlpapi.lib" "windows.lib" "advapi32.lib" "winmm.lib" "dbghelp.lib" "msvcprt.lib" "rpcrt4.lib" "shlwapi.lib" "legacy_stdio_definitions.lib" "ntdll.lib" "kernel32.lib" "advapi32.lib" "cfgmgr32.lib" "credui.lib" "dbghelp.lib" "fwpuclnt.lib" "gdi32.lib" "iphlpapi.lib" "kernel32.lib" "msimg32.lib" "mswsock.lib" "netapi32.lib" "ntdll.lib" "ole32.lib" "oleaut32.lib" "opengl32.lib" "pdh.lib" "powrprof.lib" "psapi.lib" "runtimeobject.lib" "secur32.lib" "shell32.lib" "shlwapi.lib" "synchronization.lib" "user32.lib" "winspool.lib" "ws2_32.lib" "ntdll.lib" "windows.lib" "bcrypt.lib" "kernel32.lib" "advapi32.lib" "userenv.lib" "kernel32.lib" "ws2_32.lib" "bcrypt.lib" "msvcrt.lib" "legacy_stdio_definitions.lib" "/NXCOMPAT" "/LIBPATH:C:\\Users\\soeur\\.rustup\\toolchains\\nightly-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib" "/OUT:C:\\Users\\soeur\\CLionProjects\\CatPanelBackend\\target\\debug\\deps\\cat_panel_backend.exe" "/OPT:REF,NOICF" "/DEBUG" "/NATVIS:C:\\Users\\soeur\\.rustup\\toolchains\\nightly-x86_64-pc-windows-msvc\\lib\\rustlib\\etc\\intrinsic.natvis" "/NATVIS:C:\\Users\\soeur\\.rustup\\toolchains\\nightly-x86_64-pc-windows-msvc\\lib\\rustlib\\etc\\liballoc.natvis" "/NATVIS:C:\\Users\\soeur\\.rustup\\toolchains\\nightly-x86_64-pc-windows-msvc\\lib\\rustlib\\etc\\libcore.natvis" "/NATVIS:C:\\Users\\soeur\\.rustup\\toolchains\\nightly-x86_64-pc-windows-msvc\\lib\\rustlib\\etc\\libstd.natvis"
  = note: rust-lld: error: duplicate symbol: public: __cdecl std::exception_ptr::exception_ptr(void)
          >>> defined at C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.34.31933\include\exception:218
          >>>            liblibrocksdb_sys-c0cf2e8c87fa4587.rlib(backup_engine.o)
          >>> defined at libv8-bc4e352cb66dca9f.rlib(exception.obj)
          
          rust-lld: error: duplicate symbol: public: __cdecl std::exception_ptr::exception_ptr(class std::exception_ptr const &)
          >>> defined at C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.34.31933\include\exception:230
          >>>            liblibrocksdb_sys-c0cf2e8c87fa4587.rlib(backup_engine.o)
          >>> defined at libv8-bc4e352cb66dca9f.rlib(exception.obj)
          
          rust-lld: error: duplicate symbol: public: class std::exception_ptr & __cdecl std::exception_ptr::operator=(class std::exception_ptr const &)
          >>> defined at C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.34.31933\include\exception:234
          >>>            liblibrocksdb_sys-c0cf2e8c87fa4587.rlib(backup_engine.o)
          >>> defined at libv8-bc4e352cb66dca9f.rlib(exception.obj)
          
          rust-lld: error: duplicate symbol: public: __cdecl std::exception_ptr::~exception_ptr(void)
          >>> defined at C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.34.31933\include\exception:226
          >>>            liblibrocksdb_sys-c0cf2e8c87fa4587.rlib(backup_engine.o)
          >>> defined at libv8-bc4e352cb66dca9f.rlib(exception.obj)
          
          rust-lld: error: duplicate symbol: public: bool __cdecl std::exception_ptr::operator bool(void) const
          >>> defined at C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.34.31933\include\exception:245
          >>>            liblibrocksdb_sys-c0cf2e8c87fa4587.rlib(backup_engine.o)
          >>> defined at libv8-bc4e352cb66dca9f.rlib(exception.obj)
          
          rust-lld: error: duplicate symbol: void __cdecl std::rethrow_exception(class std::exception_ptr)
          >>> defined at C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.34.31933\include\exception:311
          >>>            liblibrocksdb_sys-c0cf2e8c87fa4587.rlib(backup_engine.o)
          >>> defined at libv8-bc4e352cb66dca9f.rlib(exception.obj)
          

跟踪脚本分支#6

该分支使用deno为cp添加组件/应用安装脚本支持。#6
由于一开始没整理好代码提交,导致多个更改堆积,先在这里列出更改内容。

  • 禁用了session储存的rocksdb后端,因为librocksdb-sys与deno依赖的libv8冲突。#3
  • 添加了一个子crate cp_macros,用于存放过程宏。
  • 添加了一个功能cp_macros::test,包装tokio::test并自动初始化环境(init_environment)。
  • fork了sqlx,因为seaorm依赖的sqlx使用的libsqlite3-sys版本落后于deno-runtime依赖的rusqlite3依赖的libsqlite3-sys版本。#4
  • 完成了一个嵌入式kv储存的抽象kv::KVStore和一个基于persy的实现。
  • 将初始化日志记录器移动到初始化环境(init_environment)中。
  • 为日志记录器添加了环境变量控制是否写入到文件。统一文件和stdout控制日志等级控制的环境变量。
  • 添加了一项配置项app_path,用于指定cp储存本地文件的目录。

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.