Coder Social home page Coder Social logo

dynalo's People

Contributors

alex2835 avatar bridgerrholt avatar maddouri avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

dynalo's Issues

Support Mac OS

According to Dynamic_loading#In_C/C++, this should be fairly similar to the Linux implementation. The only thing that migth need to change is dynalo::detail::native::name::extension()

I'll work on that if I have time (though I don't have a Mac to test on) but I'd welcome a PR as well ;)

CMake error while adding dependency from dynalo

Addition of dynalo to target project causes CMake error on Linux:

The CMake use case, version 3.16.2:
add_subdirectory (dynalo)

Result:
CMake Error: Error required internal CMake variable not set, cmake may not be built correctly.
Missing variable is:
CMAKE_C_COMPILE_OBJECT
-- Generating done
CMake Generate step failed. Build files cannot be regenerated correctly.
*** cmake process exited with exit code 1.

Solution:
project language should be specified both for dynalo and test projects as follows:
project(project LANGUAGES CXX)

Make test app and installation of headers optional

Instead of copying of dynalo headers to target project, there is an option when it could be included directly via CMakeLists.txt.

However, dynalo installs both test app (shared library), headers and CMake helper files by default, so it is necessary to perform manual clean up.

Manipulation via CMake variables could help in doing this automatically.

Unknown error with symbol_helper.hpp

I am trying to run the provided example in readme.md but unfortunately, the following error was highlighted by both visual studio code "sense" and CMake.

I used the exact CMakeLists.txt file provided in the test folder of the repo.

C:\Users\me\Documents\toy>cmake --build .
Microsoft (R) Build Engine version 16.7.0+b89cb5fde for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.

  shared.cpp
C:\Users\me\Documents\toy\dynalo\symbol_helper.hpp(63,1): fatal error C1189: #error:  "dynalo/symb
ol_helper.hpp Define either DYNALO_EXPORT_SYMBOLS or DYNALO_IMPORT_SYMBOLS"

Could anyone tell me what is going on here please?

How to get rid of prefix ?

Hi,

First, many thanks for making such a cool library, it makes it really easy to load dynamic libraries. Now, when I try to use

dynalo::to_native_name()

function it adds a prefix lib which I don't want it to add, all of my shared libraries are in plugins folder. How can I remove the prefix?

Thanks

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.