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

Not able to build on Linux #11

Open
adlingepa opened this issue Dec 3, 2023 · 2 comments
Open

Not able to build on Linux #11

adlingepa opened this issue Dec 3, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@adlingepa
Copy link

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

@orzel7
Copy link

orzel7 commented Feb 6, 2024

Me too...
Most notable problem is include some windows stuff: "Engine/Platform/win32/Win32Window.h"
After commentig out i see a lot of compilation errors like

In file included from /usr/include/X11/Xlib.h:44,
from /usr/include/SDL2/SDL_syswm.h:69,
from /home/eugene/Downloads/assimp/assimp_view/src/main.cpp:28:
/home/eugene/Downloads/assimp/assimp_view/contrib/osre/contrib/cppcore/include/cppcore/Container/TArray.h:66:9: error: expected identifier before numeric constant
66 | Unsorted, ///< No sorting performed.
| ^~~~~~~~

@orzel7
Copy link

orzel7 commented Feb 6, 2024

Additionaly, HelloWorld crashes:

./HelloWorld
====================================================================================================
New OSRE run. ( 02.06.2024 15:57:15 )
====================================================================================================
Info: Platform plugin created for Linux. (/home/eugene/Downloads/assimp/assimp_view/contrib/osre/src/Engine/Platform/PlatformInterface.cpp, 210)( PlatformInterface ) ( 02.06.2024 15:57:15 )
SDL2RenderContext::onCreate(AbstractWindow *window)
Info: Creation finished. (/home/eugene/Downloads/assimp/assimp_view/contrib/osre/samples/00_HelloWorld/HelloWorld.cpp, 97)( HelloWorldApp ) ( 02.06.2024 15:57:15 )
Info: OpenGL renderer initiated. (/home/eugene/Downloads/assimp/assimp_view/contrib/osre/src/Engine/Platform/sdl2/SDL2OGLRenderContext.cpp, 62)( SDL2RenderContext ) ( 02.06.2024 15:57:15 )
Info: Version : 4.6 (Compatibility Profile) Mesa 23.0.4-0ubuntu122.04.1 (/home/eugene/Downloads/assimp/assimp_view/contrib/osre/src/Engine/Platform/sdl2/SDL2OGLRenderContext.cpp, 63)( SDL2RenderContext ) ( 02.06.2024 15:57:15 )
Info: Intel (/home/eugene/Downloads/assimp/assimp_view/contrib/osre/src/Engine/RenderBackend/OGLRenderer/OGLRenderBackend.cpp, 181)( OGLRenderBackend ) ( 02.06.2024 15:57:15 )
Info: Mesa Intel(R) Graphics (ADL GT2) (/home/eugene/Downloads/assimp/assimp_view/contrib/osre/src/Engine/RenderBackend/OGLRenderer/OGLRenderBackend.cpp, 186)( OGLRenderBackend ) ( 02.06.2024 15:57:15 )
Info: 4.6 (Compatibility Profile) Mesa 23.0.4-0ubuntu1
22.04.1 (/home/eugene/Downloads/assimp/assimp_view/contrib/osre/src/Engine/RenderBackend/OGLRenderer/OGLRenderBackend.cpp, 191)( OGLRenderBackend ) ( 02.06.2024 15:57:15 )
Link log:
error: linking with uncompiled/unspecialized shadererror: linking with uncompiled/unspecialized shader
( 02.06.2024 15:57:15 )
Err: Error while linking shader (/home/eugene/Downloads/assimp/assimp_view/contrib/osre/src/Engine/RenderBackend/OGLRenderer/OGLRenderBackend.cpp, 611)( OGLRenderBackend ) ( 02.06.2024 15:57:15 )
====================================================================================================
OSRE run ended. ( 02.06.2024 15:57:18 )
====================================================================================================

@kimkulling kimkulling added the bug Something isn't working label Mar 7, 2024
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

3 participants