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

core.exception.AssertError@src/sdc/sdc.d(79): filenotfoundmalheur ! /object.d #53

Closed
timotheecour opened this issue May 24, 2014 · 4 comments

Comments

@timotheecour
Copy link
Contributor

on mac, after running make I get:
core.exception.AssertError@src/sdc/sdc.d(79): filenotfoundmalheur ! /object.d

it happens in:
obj/rt/%.o: $(LIBSDRT_ROOT)/src/d/rt/%.d $(LIBSDRT_SRC) $(LIBSDRT_EXTRA_DEPS)
@mkdir -p obj/rt
$(SDC) -c -o $@ $< $(LIBSDRT_IMPORTS)

indeed there's no object.d in libsdrt/src/

it goes away after adding -Ilibs

@deadalnix
Copy link
Contributor

OK there is actually 2 things to fix here.

The first one is to give a proper error message, and some some assertion failure with meaningless message.

The second one is to add instruction on how to define sdc.conf . In the meantime, you can adapt mine:

$ cat bin/sdc.conf
{
"includePath": ["/home/deadalnix/d/SDC/libs", "."],
"libPath": ["/home/deadalnix/d/SDC/lib"],
}

@timotheecour
Copy link
Contributor Author

ya i ended up adding a sdc.conf...
on import file error, would be nice to spit out include path as done in dmd

@NCrashed
Copy link

Same on 3.14.7-200.fc20.x86_64, fixed by providing sdc.conf.

@deadalnix
Copy link
Contributor

Fixed via 7756f4b

deadalnix added a commit that referenced this issue Apr 6, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants