Comments (10)
You're right, but it's still a known problem - putting the package names in front of the module name seems to do it. But I guess this will be done with duplicate modules names only (to save command line argument space for further included obj files)
from mono-d.
Well I can still work so it's not an entire downer really. Also I'm quite new to D but I find the language amazing. So keep up the good work so I can become more in love with this language ;)
from mono-d.
it's been trivial, indeed - it should be working now. Just reinstall Mono-D and it'll be fixed, hopefully :D
from mono-d.
Aaaaaw yeah! It works! Perfect! <3
I just wish I had more time on my hands so I could work more with D ^^
from mono-d.
Seems like this issue isn't entirely solved. It failed just now for me. I'm including a link to a picture just to be sure.
[Linkage](http://www.sfmluploads.org/cache/pics/193_d linkage.png)
Tried to rebuild several times and still same result. Changing my other Graphics.d to ExtGraphics.d solves the problem yet again. When looking into the objs directory before when it worked I noticed that only ONE file was being given the package prefix.
Ymir.External.SFML.Graphics.d -> Ymir.External.SFML.Graphics.obj
Ymir.Graphics.d -> Graphics.obj
I got it to work again temporarily by reinstalling the addin again but it might come back again?
So just letting you know that there might be a bug.
UPDATE: Actually it was quite easy to reproduce, remove the Ymir.External.SFML.Graphics.obj manually, do a rebuild and the same problem comes up.
from mono-d.
It is known that duplicates will have the package name in their obj path only. So one graphics.obj without a package in front of its name is totally correct behaviour! After building the project once it'll also take the previous obj names. So no renaming when there's no need for it. So what is it doing wrong then anyway? Is there an object file not linked in? Could you dump the build log please?
edit: Fixed. :D
from mono-d.
Build output dump: http://www.sfmluploads.org/code/115
I tried installing the new version but it still happens. The problem seems like it doesn't identify when to rename properly? Because I still only have one "Graphics.obj" file instead of two. The build log comes from a similar setup as in the picture I included but more code have been added(thus more linkage problem as more functions and classes are missing)
Also here is an image on the outputted object files: [Object Files](http://www.sfmluploads.org/cache/pics/194_d linkage obj files.png)
UPDATE: Nevermind, seems like the update wasn't properly installed or something? I kept trying reinstalling it so many times but did one more time now after posting and it worked now like a charm. Now I disabled the addin first, uninstalled, installed and then enabled it again and that seemed to have worked.
from mono-d.
Ok, I see the error
dmd -L/NOLOGO -gc -debug -of"C:\Users\Groogy\Documents\Projects\SFML\SFML\bin\Debug\SFML.exe" "objs\main.obj" "objs\Exceptions.obj" "objs\Utilities.obj" "objs\Interface.obj" "objs\GUI.obj" "objs\Window.obj" "objs\System.obj" "objs\Graphics.obj" "C:\Users\Groogy\Documents\Projects\SFML\SFML\objs\Graphics.obj" "phobos.lib"
-- you see the last Graphics.obj? It's not renamed, somehow..ok, I hope I can solve that problem.
from mono-d.
No I think it is solved now. It's just that monodevelop didn't want to install the version 0.2.7 properly because of some reason. I can't recreate the bug any more.
from mono-d.
It still has been buggy though. There's a new upload now. I corrected the path naming behaviour. It's also resetting the lastly used object file paths when cleaning the project - so new obj file name creation is enforced, at least on rebuilding obj files.
from mono-d.
Related Issues (20)
- cannot open dub project HOT 5
- Debian 8.3 install MonoDevelop's D language binding failed! HOT 3
- Illegal Token HOT 3
- Error opening dub.json project [v2.14.2]
- error opening dub.json project Illegal Token for windows monod ver 2.14.2 HOT 6
- xamarin 6.0 not supported HOT 52
- Configuration Error: Compiler is not properly called HOT 14
- CMake support HOT 5
- Incorrect parsing dub project HOT 3
- Hovering over method call crashes XS. HOT 1
- Multiple tabs in menu
- version parsing from dub file
- Can't run a dub project. (dub exited with code: 1) HOT 2
- Mono-D not available/working for Xamarin Studio Community 6.1 HOT 7
- Xamarin Studio hungs during opening vibe.d HOT 2
- Can't install on OSX because of missing dependencies HOT 3
- The repository '*/Debian_8.0 Release' is not signed. HOT 1
- Bugs on extra compiler option
- indentation of multiline string literal concatenation
- Not works with Monodevelop 7.5 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mono-d.