Comments (8)
Issue #74 is submitted in dlangui project.
Some fixes are made. Could you please check if latest version still has problems.
It would be great if you can provide logs.
from dlangide.
could you please check latest version?
(dub upgrade --force-remove)
If you still see black screen, could you post app logs here?
from dlangide.
I just ran it with a fresh git clone with not having run it before on this laptop: Still a black screen: Here is the log:
$ dub run
Fetching libdparse ~master (getting selected version)...
Placing libdparse ~master to /Users/hendriki/.dub/packages/...
Fetching dlib ~master (getting selected version)...
Placing dlib ~master to /Users/hendriki/.dub/packages/...
Fetching derelict-ft 1.0.2 (getting selected version)...
Placing derelict-ft 1.0.2 to /Users/hendriki/.dub/packages/...
Fetching derelict-util 1.9.1 (getting selected version)...
Placing derelict-util 1.9.1 to /Users/hendriki/.dub/packages/...
Fetching dlangui ~master (getting selected version)...
Placing dlangui ~master to /Users/hendriki/.dub/packages/...
Fetching derelict-sdl2 1.9.4 (getting selected version)...
Placing derelict-sdl2 1.9.4 to /Users/hendriki/.dub/packages/...
Fetching derelict-gl3 1.0.12 (getting selected version)...
Placing derelict-gl3 1.0.12 to /Users/hendriki/.dub/packages/...
WARNING: A deprecated branch based version specification is used for the dependency libdparse. Please use numbered versions instead. Also note that you can still use the dub.selections.json file to override a certain dependency to use a branch instead.
WARNING: A deprecated branch based version specification is used for the dependency dlangui. Please use numbered versions instead. Also note that you can still use the dub.selections.json file to override a certain dependency to use a branch instead.
Building libdparse ~master configuration "library", build type debug.
Running dmd...
Building dlib ~master configuration "library", build type debug.
Running dmd...
Building derelict-util 1.9.1 configuration "library", build type debug.
Running dmd...
Building derelict-ft 1.0.2 configuration "library", build type debug.
Running dmd...
Building derelict-sdl2 1.9.4 configuration "library", build type debug.
Running dmd...
Building derelict-gl3 1.0.12 configuration "library", build type debug.
Running dmd...
Building dlangui ~master configuration "library", build type debug.
Running dmd...
Building dlangide 0.3.4 configuration "application", build type debug.
Compiling using dmd...
Linking...
Running ./bin/dlangide
2015-03-20 09:11:12.692 W Only hardcoded paths to TTF fonts are supported under linux so far. TODO: implement fontconfig support.
2015-03-20 09:11:12.692 D FreeTypeFontManager.registerFont /Library/Fonts/Arial.ttf SansSerif Arial italic=false weight=400
2015-03-20 09:11:12.698 D FreeTypeFontManager.registerFont /Library/Fonts/Arial Bold.ttf SansSerif Arial italic=false weight=800
2015-03-20 09:11:12.701 D FreeTypeFontManager.registerFont /Library/Fonts/Arial Italic.ttf SansSerif Arial italic=true weight=400
2015-03-20 09:11:12.704 D FreeTypeFontManager.registerFont /Library/Fonts/Arial Bold Italic.ttf SansSerif Arial italic=true weight=800
2015-03-20 09:11:12.707 D FreeTypeFontManager.registerFont /Library/Fonts/Arial Narrow.ttf SansSerif Arial Narrow italic=false weight=400
2015-03-20 09:11:12.709 D FreeTypeFontManager.registerFont /Library/Fonts/Arial Narrow Bold.ttf SansSerif Arial Narrow italic=false weight=800
2015-03-20 09:11:12.711 D FreeTypeFontManager.registerFont /Library/Fonts/Arial Narrow Italic.ttf SansSerif Arial Narrow italic=true weight=400
2015-03-20 09:11:12.712 D FreeTypeFontManager.registerFont /Library/Fonts/Arial Narrow Bold Italic.ttf SansSerif Arial Narrow italic=true weight=800
2015-03-20 09:11:12.714 D FreeTypeFontManager.registerFont /Library/Fonts/Courier New.ttf MonoSpace Courier New italic=false weight=400
2015-03-20 09:11:12.716 D FreeTypeFontManager.registerFont /Library/Fonts/Courier New Bold.ttf MonoSpace Courier New italic=false weight=800
2015-03-20 09:11:12.718 D FreeTypeFontManager.registerFont /Library/Fonts/Courier New Italic.ttf MonoSpace Courier New italic=true weight=400
2015-03-20 09:11:12.719 D FreeTypeFontManager.registerFont /Library/Fonts/Courier New Bold Italic.ttf MonoSpace Courier New italic=true weight=800
2015-03-20 09:11:12.722 D FreeTypeFontManager.registerFont /Library/Fonts/Georgia.ttf SansSerif Georgia italic=false weight=400
2015-03-20 09:11:12.724 D FreeTypeFontManager.registerFont /Library/Fonts/Georgia Bold.ttf SansSerif Georgia italic=false weight=800
2015-03-20 09:11:12.726 D FreeTypeFontManager.registerFont /Library/Fonts/Georgia Italic.ttf SansSerif Georgia italic=true weight=400
2015-03-20 09:11:12.729 D FreeTypeFontManager.registerFont /Library/Fonts/Georgia Bold Italic.ttf SansSerif Georgia italic=true weight=800
2015-03-20 09:11:12.731 D FreeTypeFontManager.registerFont /Library/Fonts/Georgia.ttf SansSerif Georgia italic=false weight=400
2015-03-20 09:11:12.731 D FreeTypeFontManager.registerFont /Library/Fonts/Georgia Bold.ttf SansSerif Georgia italic=false weight=800
2015-03-20 09:11:12.731 D FreeTypeFontManager.registerFont /Library/Fonts/Georgia Italic.ttf SansSerif Georgia italic=true weight=400
2015-03-20 09:11:12.731 D FreeTypeFontManager.registerFont /Library/Fonts/Georgia Bold Italic.ttf SansSerif Georgia italic=true weight=800
2015-03-20 09:11:12.732 D Creating default theme
2015-03-20 09:11:12.785 I Applying loaded theme ide_theme_default
2015-03-20 09:11:12.785 D Loading string resources from file @Embedded@/std_en.ini
2015-03-20 09:11:12.785 D Loading string resources from file @Embedded@/en.ini
2015-03-20 09:11:12.785 D Creating SDL window
2015-03-20 09:11:12.814 I Trying to create OpenGL 3.2 context
2015-03-20 09:11:13.292 E GLSupport programs are not initialized
2015-03-20 09:11:13.292 E GLSupport programs are not initialized
2015-03-20 09:11:13.292 D compileShader glsl=4.10 type:GL_VERTEX_SHADER code:
#version 410
in vec4 vertex;
in vec4 colAttr;
in vec4 texCoord;
out vec4 col;
out vec4 texc;
uniform mat4 matrix;
void main(void)
{
gl_Position = matrix * vertex;
col = colAttr;
texc = texCoord;
}
2015-03-20 09:11:13.294 D compileShader glsl=4.10 type:GL_FRAGMENT_SHADER code:
#version 410
uniform sampler2D texture;
in vec4 col;
in vec4 texc;
out vec4 outColor;
void main(void)
{
outColor = texture(texture, texc.st) * col;
}
2015-03-20 09:11:13.295 D Shader compilation error: ERROR: 0:9: Invalid call of 'texture' (not a function or subroutine uniform)
2015-03-20 09:11:13.302 E SDL2: Failed to create renderer
2015-03-20 09:11:13.304 D Loading image from file @Embedded@/btn_disabled.9.png
2015-03-20 09:11:13.304 D Loading image from file @Embedded@/btn_pressed.9.png
2015-03-20 09:11:13.304 D Loading image from file @Embedded@/btn_normal.9.png
2015-03-20 09:11:13.305 D creating color drawable #E04040FF
2015-03-20 09:11:13.307 E dcd-server executable is not found
2015-03-20 09:11:13.307 D Saving default shortcuts
2015-03-20 09:11:13.307 D Loading image from file @Embedded@/dlangui-logo1.png
2015-03-20 09:11:13.311 D SDLWindow.show()
2015-03-20 09:11:13.323 D MainMenu: updateActionState
2015-03-20 09:11:13.324 I entering message loop
2015-03-20 09:11:13.380 D need layout: APP_FRAME
2015-03-20 09:11:13.380 D Loading image from file @Embedded@/scrollbar_btn_left.png
2015-03-20 09:11:13.380 D Loading image from file @Embedded@/btn_default.9.png
2015-03-20 09:11:13.380 D Loading image from file @Embedded@/btn_hover.9.png
2015-03-20 09:11:13.381 D Loading image from file @Embedded@/scrollbar_btn_right.png
2015-03-20 09:11:13.381 D Loading image from file @Embedded@/scrollbar_indicator_horizontal.png
2015-03-20 09:11:13.381 D Loading image from file @Embedded@/main_menu_item_background_selected.9.png
2015-03-20 09:11:13.381 D Loading image from file @Embedded@/main_menu_item_background_hover.9.png
2015-03-20 09:11:13.381 D Loading image from file @Embedded@/toolbar_background.9.png
2015-03-20 09:11:13.382 D Loading image from file @Embedded@/document-open.png
2015-03-20 09:11:13.382 D Loading image from file @Embedded@/toolbar_button_hover.9.png
2015-03-20 09:11:13.382 D Loading image from file @Embedded@/toolbar_button_pressed.9.png
2015-03-20 09:11:13.382 D Loading image from file @Embedded@/document-save.png
2015-03-20 09:11:13.383 D Loading image from file @Embedded@/toolbar_separator.png
2015-03-20 09:11:13.383 D Loading image from file @Embedded@/debug-run.png
2015-03-20 09:11:13.383 D Loading image from file @Embedded@/toolbar_control_disabled.9.png
2015-03-20 09:11:13.383 D Loading image from file @Embedded@/toolbar_control_normal.9.png
2015-03-20 09:11:13.383 D Loading image from file @Embedded@/scrollbar_btn_down.png
2015-03-20 09:11:13.384 D Loading image from file @Embedded@/run-build.png
2015-03-20 09:11:13.384 D Loading image from file @Embedded@/edit-copy.png
2015-03-20 09:11:13.384 D Loading image from file @Embedded@/edit-paste.png
2015-03-20 09:11:13.384 D Loading image from file @Embedded@/edit-cut.png
2015-03-20 09:11:13.384 D Loading image from file @Embedded@/edit-undo.png
2015-03-20 09:11:13.385 D Loading image from file @Embedded@/edit-redo.png
2015-03-20 09:11:13.385 D Loading image from file @Embedded@/edit-indent.png
2015-03-20 09:11:13.385 D Loading image from file @Embedded@/edit-unindent.png
2015-03-20 09:11:13.385 D Loading image from file @Embedded@/tab_up_background_dark_focused.9.png
2015-03-20 09:11:13.385 D Loading image from file @Embedded@/tab_up_background_dark_normal.9.png
2015-03-20 09:11:13.386 D Loading image from file @Embedded@/tab_more.png
2015-03-20 09:11:13.386 D Loading image from file @Embedded@/tab_btn_dark_up_focused_selected.9.png
2015-03-20 09:11:13.386 D Loading image from file @Embedded@/tab_btn_dark_up_focused.9.png
2015-03-20 09:11:13.386 D Loading image from file @Embedded@/tab_btn_dark_up_selected.9.png
2015-03-20 09:11:13.387 D Loading image from file @Embedded@/tab_btn_dark_up_hover.9.png
2015-03-20 09:11:13.387 D Loading image from file @Embedded@/tab_btn_dark_up_normal.9.png
2015-03-20 09:11:13.387 D Loading image from file @Embedded@/close.png
2015-03-20 09:11:13.387 D Loading image from file @Embedded@/editbox_background_disabled_focus.9.png
2015-03-20 09:11:13.387 D Loading image from file @Embedded@/editbox_background_focus.9.png
2015-03-20 09:11:13.387 D Loading image from file @Embedded@/editbox_background_disabled.9.png
2015-03-20 09:11:13.388 D Loading image from file @Embedded@/editbox_background_normal.9.png
2015-03-20 09:11:13.388 D Loading image from file @Embedded@/scrollbar_btn_up.png
2015-03-20 09:11:13.388 D Loading image from file @Embedded@/scrollbar_indicator_vertical.png
2015-03-20 09:11:13.389 D Loading image from file @Embedded@/applications-internet.png
2015-03-20 09:11:13.390 D Loading image from file @Embedded@/project-development.png
2015-03-20 09:11:13.390 D Loading image from file @Embedded@/tab_down_background_dark_focused.9.png
2015-03-20 09:11:13.390 D Loading image from file @Embedded@/tab_down_background_dark_normal.9.png
2015-03-20 09:11:13.391 D Loading image from file @Embedded@/tab_btn_dark_down_focused_selected.9.png
2015-03-20 09:11:13.391 D Loading image from file @Embedded@/tab_btn_dark_down_focused.9.png
2015-03-20 09:11:13.391 D Loading image from file @Embedded@/tab_btn_dark_down_selected.9.png
2015-03-20 09:11:13.391 D Loading image from file @Embedded@/tab_btn_dark_down_hover.9.png
2015-03-20 09:11:13.391 D Loading image from file @Embedded@/tab_btn_dark_down_normal.9.png
2015-03-20 09:11:25.479 D need layout: DOCK_HOST
2015-03-20 09:11:54.070 D Hover left_resizer
2015-03-20 09:11:54.223 D Leave left_resizer
from dlangide.
I've got this version of sdl2 installed:
$ brew install sdl2
Warning: sdl2-2.0.3 already installed
from dlangide.
I've submitted fix replacing texture() with texture2D().
Could you please try once again
from dlangide.
still got the same problem :( after doing:
git pull origin master
dub upgrade --force-remove
from dlangide.
I think the same error but with texture2D:
2015-03-21 09:36:19.415 D Loading string resources from file @Embedded@/en.ini
2015-03-21 09:36:19.415 D Creating SDL window
2015-03-21 09:36:19.448 I Trying to create OpenGL 3.2 context
2015-03-21 09:36:19.490 E GLSupport programs are not initialized
2015-03-21 09:36:19.491 E GLSupport programs are not initialized
2015-03-21 09:36:19.491 D compileShader glsl=4.10 type:GL_VERTEX_SHADER code:
#version 410
in vec4 vertex;
in vec4 colAttr;
in vec4 texCoord;
out vec4 col;
out vec4 texc;
uniform mat4 matrix;
void main(void)
{
gl_Position = matrix * vertex;
col = colAttr;
texc = texCoord;
}
2015-03-21 09:36:19.498 D compileShader glsl=4.10 type:GL_FRAGMENT_SHADER code:
#version 410
uniform sampler2D texture;
in vec4 col;
in vec4 texc;
out vec4 outColor;
void main(void)
{
outColor = texture2D(texture, texc.st) * col;
}
2015-03-21 09:36:19.499 D Shader compilation error: ERROR: 0:9: Invalid call of undeclared identifier 'texture2D'
from dlangide.
fixed
from dlangide.
Related Issues (20)
- 0.8.17 Build fails with DMD on Windows 10 HOT 3
- "Try DlangIDE" very long building time and unsuccessful every time. HOT 3
- latest d failed to compile on win 64 bits HOT 2
- It's time to upgrade the code
- Project template "DlangUI hellow world app" does not compile under ubuntu 18.04 HOT 1
- linking failed , Windows 7 ,32bit HOT 9
- Linking problem with sdl2
- Any tutorial on how to use this IDE in Windows ?
- Can't build dlangide with dmd 2.090.1 HOT 1
- Updates
- Command `dub run --build=release dlangide` failed entirelly! HOT 5
- `dub run --build=release dlangide` has compile-time errors. HOT 6
- MacOS Monterey - build failed
- Color Rendering on FreeBSD PowerPC64 (Big Endian) HOT 1
- build error on dmd-2.099.1 HOT 2
- MacOS Ventura Build Failed HOT 3
- sharedLog = new NullLogger() 64bit build compile error with dlangui0.10.2+dmd2.103 under win10 HOT 3
- source editor cann't input utf8 charactor HOT 5
- CTRL + s doesn't save HOT 3
- Error: unable to read module `icontheme` when building default DlangUI hello world
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 dlangide.