mystor / rust-cpp

Embed C++ directly inside your rust code!
Apache License 2.0
795 stars 44 forks source link

undefined reference to `std::__throw_bad_array_new_length()' #102

Open StHagel opened 2 years ago

StHagel commented 2 years ago

I have some code, which uses the cpp! Macro. Trying to compile it, I get the following error messages during the linking: https://pastebin.com/gC65PeZy

Just running cargo check' does not show any errors or warnings, but when trying tocargo build` it, the linking fails. Any idea on what may be causing this?