Code Monkey home page Code Monkey logo

derelictfi's People

Contributors

kapps avatar mdparker avatar mrsmith33 avatar p0nce avatar

Stargazers

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

Watchers

 avatar  avatar  avatar

derelictfi's Issues

Please make a tag

This is one of the dependency left that I have which are still ~master.
Version of translated library is 3.15

Program crashing on DerelictFI.load()

I'm working on a 64x Linux Mint 17 computer and I've been having trouble getting any branch of DerelictFI to work, it'd just crash whenever I tried to run a program that loaded it.

I got it working after commenting out the following in freeimage.d:

myBindFunc( FreeImage_GetMemorySize, "FreeImage_GetMemorySize");
myBindFunc( FreeImage_ConvertFromRawBitsEx, "FreeImage_ConvertFromRawBitsEx" );
myBindFunc( FreeImage_ConvertToRGBAF, "FreeImage_ConvertToRGBAF" );
myBindFunc( FreeImage_ConvertToRGBAF, "FreeImage_ConvertToRGBAF" );
myBindFunc( FreeImage_SetMetadataKeyValue, "FreeImage_SetMetadataKeyValue" );
myBindFunc( FreeImage_JPEGTransformFromHandle, "FreeImage_JPEGTransformFromHandle" );
myBindFunc( FreeImage_JPEGTransformCombined, "FreeImage_JPEGTransformCombined" );
myBindFunc( FreeImage_JPEGTransformCombinedU, "FreeImage_JPEGTransformCombinedU" );
myBindFunc( FreeImage_JPEGTransformCombinedFromMemory, "FreeImage_JPEGTransformCombinedFromMemory" );
myBindFunc( FreeImage_RescaleRect, "FreeImage_RescaleRect" );
myBindFunc( FreeImage_CreateView, "FreeImage_CreateView" );

All of the above were throwing exceptions like: No symbol "FreeImage_RescaleRect" in current context.

Build Error

freeImageTest ~master: building configuration "application"...
source\app.d(2,8): Error: module freeimage is in file 'derelict\freeimage\freeimage.d' which cannot be read
import path[0] = source
import path[1] = C:\D\dmd2\windows\bin\..\..\src\phobos
import path[2] = C:\D\dmd2\windows\bin\..\..\src\druntime\import
dmd failed with exit code 1.

That's it. I can't build them.
I used DMD32 D Compiler v2.071.1 and code is here:

import std.stdio;
import derelict.freeimage.freeimage;
void main(string[] args)
{
    DerelictFI.load();  `
}
{
    "name": "miniapp",
    "authors": [
        "dummy"
    ],
    "description": "A minimal D application.",
    "copyright": "Copyright © 2016, dummy",
    "license": "proprietary",
    "derelict-fi": "~>2.0.2"
}

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.