Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't builds on Linux #1

Closed
Zardoz89 opened this issue May 12, 2021 · 10 comments
Closed

Don't builds on Linux #1

Zardoz89 opened this issue May 12, 2021 · 10 comments
Labels
Bug Something isn't working

Comments

@Zardoz89
Copy link

inochi-creator ~main: building configuration "posix"...
source/creator/widgets/controller.d(247,24): Error: undefined identifier `ParameterBinding`
source/creator/widgets/controller.d(274,5): Error: undefined identifier `ParameterBinding`
/usr/bin/dmd failed with exit code 1.

DUB version 1.23.0, built on Sep 27 2020
DMD64 D Compiler v2.096.1

@LunaTheFoxgirl
Copy link
Member

LunaTheFoxgirl commented May 12, 2021

Inochi2D has undergone massive fundamental changes, Inochi Creator hasn't yet been updated to reflect those changes yet, as I am still working on solidifying the base spec.
I'll go back to working on Inochi Creator soon, though.

@LunaTheFoxgirl
Copy link
Member

It should build on Linux now, do let me know if you have issues.
I'll close this issue in the meantime @Zardoz89

@Zardoz89
Copy link
Author

Zardoz89 commented Jun 6, 2021

Well...

dub build
Unresolvable dependencies to package bindbc-imgui:
  inochi-creator 0.5.0-beta.1 depends on bindbc-imgui ~>1.0.0

I try to change it to point to the latest version of bindbc-imgui (0.6), and then I get this :

dub build
Unresolvable dependencies to package inochi2d:
  inochi-creator 0.5.0-beta.1 depends on inochi2d ~>1.0.0

I "fix it", using dub add-local to a fresh clone of inochi2d : dub add-local ../inochi2d/ 1.0.0
And trying again :

 ref @safe inout(int)()` is not accessible from module `packer`
source/creator/utils/packer.d(218,38): Deprecation: Function `gl3n.linalg.Vector!(int, 2).Vector.get_!'y'.get_` of type `inout pure nothrow @nogc @property ref @safe inout(int)()` is not accessible from module `packer`
source/creator/windows/about.d(40,71): Error: undefined identifier `IN_VERSION`, did you mean variable `INC_VERSION`?
/usr/bin/dmd failed with exit code 1.

dmd --version
DMD64 D Compiler v2.097.0
Copyright (C) 1999-2021 by The D Language Foundation, All Rights Reserved written by Walter Bright

dub --version
DUB version 1.23.0, built on Sep 27 2020

@LunaTheFoxgirl
Copy link
Member

LunaTheFoxgirl commented Jun 6, 2021

@Zardoz89 I've pushed some things I forgot, should work now
You'll also have to build cimgui from source and have the .so file for it in system dirs or nearby the exe

@LunaTheFoxgirl LunaTheFoxgirl reopened this Jun 6, 2021
@Zardoz89
Copy link
Author

Zardoz89 commented Jun 6, 2021

Ok, I will try later.

@Zardoz89
Copy link
Author

Zardoz89 commented Jun 6, 2021

Well, now builds, But I get a segfault. I have build cimgui and copy the .so file next to the executable :

~/repos/dlang/inochi-creator/out$ ls
cimgui.so  inochi-creator
~/repos/dlang/inochi-creator/out$ LC_ALL=C ./inochi-creator 
Violación de segmento (`core' generado)

@LunaTheFoxgirl
Copy link
Member

LunaTheFoxgirl commented Jun 6, 2021

Do you use an Intel iGPU? If you have switchable graphics you can try running it on the beefier graphics processing.
Otherwise you'll have to wait for BindBC/bindbc-opengl#26 to be resolved.

inochi creator also depends on SDL2, so you'll need that installed as well

@Zardoz89
Copy link
Author

Zardoz89 commented Jun 6, 2021

I have a RX580 on a desktop.

@LunaTheFoxgirl
Copy link
Member

There appears to be some imgui binding problems on Linux we're looking in to will keep you updated.

@LunaTheFoxgirl
Copy link
Member

We have functioning AppImage builds for Linux now, I will close this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants