Skip to content

Linking failure at device compiler with std (math?) library #11

@SimeonEhrig

Description

@SimeonEhrig

Input

cling -xcuda

#include <random>
std::random_device dev;
std::mt19937 rng(dev());
std::uniform_real_distribution<> dist(0.f, 10.f);
dist(rng)

Message

IncrementalExecutor::executeFunction: symbol '_ZSt3loge' unresolved while linking function '__cuda_module_ctor_cling_module_5'!
You are probably missing the definition of std::log(long double)
Maybe you need to load the corresponding shared library?
(double) 0.35010155

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions