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

Build #24

Open
ViPErCZ opened this issue Sep 3, 2022 · 13 comments
Open

Build #24

ViPErCZ opened this issue Sep 3, 2022 · 13 comments

Comments

@ViPErCZ
Copy link

ViPErCZ commented Sep 3, 2022

Please help,
I wanted to try the app, but I can't build >

[100%] Linking C executable ../../../../bin/glewinfo
/usr/bin/ld: CMakeFiles/glewinfo.dir///src/glewinfo.c.o: in function glewCreateContext': glewinfo.c:(.text+0x32209): undefined reference to glXQueryExtension'

demo build... but not execute

first error
tesselation.tcs: 0:608(38): error: no matching function for call to `getVertexNormal(int)'; candidates are:
0:608(38): error: vec3 getVertexNormal(uint)

if i fix then,

error: Input block `_vertex_data' is not an output of the previous stage

Thanks.

PS: your build same fail > https://github.com/hotstreams/limitless-engine/runs/6991541476?check_suite_focus=true

@ViPErCZ
Copy link
Author

ViPErCZ commented Jul 2, 2023

And today version has new error...
limitless-engine/include/limitless/instances/instanced_instance.hpp:83:28: error: conflicting return type specified for ‘virtual Limitless::InstancedInstanceLimitless::ModelInstance* Limitless::InstancedInstanceLimitless::ModelInstance::clone()’
83 | InstancedInstance* clone() noexcept override {

and tess_control_input.glsl has wrong on runtime error
tesselation.tcs: 0:621(38): error: no matching function for call to `getVertexNormal(int)'; candidates are:
0:621(38): error: vec3 getVertexNormal(uint)

@hotstreams
Copy link
Owner

hotstreams commented Jul 2, 2023

Yeah, Sorry for that, definitely my bad.

tesselation.tcs: 0:621(38): error: no matching function for call to `getVertexNormal(int)'; candidates are:
0:621(38): error: vec3 getVertexNormal(uint)

There was something about implicit casts from int to uint, should be fixed now at f858540

@ViPErCZ
Copy link
Author

ViPErCZ commented Jul 2, 2023

Not completed.... getVertexNormal must be to int type... by call
_out_data[gl_InvocationID].normal = getVertexNormal(gl_InvocationID);

gl_InvocationID is int type

terminate called after throwing an instance of 'Limitless::ms::material_compilation_error'
what(): tesselation_samplefailed to compile /home/viper/Plocha/limitless-engine/assets/../shaders/tesselation/tesselation.tcs: 0:621(38): error: no matching function for call to getVertexNormal(int)'; candidates are: 0:621(38): error: vec3 getVertexNormal(uint) 0:624(46): error: no matching function for call to getVertexPosition(int)'; candidates are:
0:624(46): error: vec3 getVertexPosition(uint)
0:625(34): error: no matching function for call to `getVertexUV(int)'; candidates are:
0:625(34): error: vec2 getVertexUV(uint)

@DWR-CMQ
Copy link

DWR-CMQ commented Feb 8, 2024

@ViPErCZ Hi, Can you run the project sucessfully?I find the demo does not include files "Textures"

@DWR-CMQ
Copy link

DWR-CMQ commented Feb 8, 2024

for example
image
image

@ViPErCZ
Copy link
Author

ViPErCZ commented Feb 8, 2024

78b6d5a

assets removed. I have old function commit e24fe45
I have no head checkout. This is maybe bug. ;-)

@DWR-CMQ
Copy link

DWR-CMQ commented Feb 8, 2024

Thanks for your reply ,I have found from https://github.com/Tehsapper/graphics-engine

@ViPErCZ
Copy link
Author

ViPErCZ commented Feb 8, 2024

Yes, using fork is solution... ;-)

@DWR-CMQ
Copy link

DWR-CMQ commented Feb 8, 2024

Not completed.... getVertexNormal must be to int type... by call _out_data[gl_InvocationID].normal = getVertexNormal(gl_InvocationID);

gl_InvocationID is int type

terminate called after throwing an instance of 'Limitless::ms::material_compilation_error' what(): tesselation_samplefailed to compile /home/viper/Plocha/limitless-engine/assets/../shaders/tesselation/tesselation.tcs: 0:621(38): error: no matching function for call to getVertexNormal(int)'; candidates are: 0:621(38): error: vec3 getVertexNormal(uint) 0:624(46): error: no matching function for call to getVertexPosition(int)'; candidates are: 0:624(46): error: vec3 getVertexPosition(uint) 0:625(34): error: no matching function for call to `getVertexUV(int)'; candidates are: 0:625(34): error: vec2 getVertexUV(uint)

@ViPErCZ hi, have you solved the issue,I encounter the same problem
image

@ViPErCZ
Copy link
Author

ViPErCZ commented Feb 9, 2024

yes... uint not match int in argument this getVertexUV func... you must fix... ideal when this bug fix owner this repository

@DWR-CMQ
Copy link

DWR-CMQ commented Feb 9, 2024

I took a shortcut and deleted the tcs file,I built it sucessfully finally,and run the project normally

@DWR-CMQ
Copy link

DWR-CMQ commented Feb 9, 2024

@DWR-CMQ
Copy link

DWR-CMQ commented Feb 9, 2024

I want change it from glew to glad,and create a special effects library based on this

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