candle
candle copied to clipboard
sample project not functioning windows
I compile the sample project using build.bat ,I then start it and it shows an editor briefly before crashing.Here is the console output
no loader plane no loader round_quad no loader sky no loader venus Window created GL Vendor : NVIDIA Corporation GL Renderer : GeForce GTX 1050 Ti/PCIe/SSE2 GL Version (string) : 4.3.0 NVIDIA 451.67 GLSL Version : 4.30 NVIDIA via Cg compiler 0 1 0 0 0 vs ready candle:quad fetching candle:quad.glsl fetching candle:gbuffer#0.glsl fetching candle:query_mips#0.glsl fetching candle:depth#0.glsl fetching candle:select#0.glsl fetching candle:transparent#0.glsl fetching candle:gbuffer#1.glsl fetching candle:query_mips#1.glsl fetching candle:depth#1.glsl fetching candle:select#1.glsl fetching candle:transparent#1.glsl fetching candle:gbuffer#2.glsl fetching candle:query_mips#2.glsl fetching candle:depth#2.glsl fetching candle:select#2.glsl fetching candle:transparent#2.glsl fetching candle:gbuffer#3.glsl fetching candle:query_mips#3.glsl fetching candle:depth#3.glsl fetching candle:select#3.glsl fetching candle:transparent#3.glsl floor.obj counts 0 0 0 0 end object floor.obj loading tile.mat cloth.obj counts 0 0 0 0 end object cloth.obj 'ailed to fetch texture 'tile_diffuse vs ready model shader 27 ready f:candle:query_mips#0 v:model 1 fetching candle:framebuffer_draw.glsl
Thanks for reporting. This is the twinpeaks project? Could you check if you can find tile_diffuse.tga file in candle/build/data.zip?
it is there under the tile folder.
Can you try to run the exe in debug mode? If you have Visual Studio installed, to know where it's halting? I assume it's the fact it's not being able to find the tile diffuse texture, but I don't know why that would happen...
Okay I will let you know what happens
How can I compile the exe with symbols enabled because I cannot understand anything in assembly when debugging in VS
okay I seperated some of operations and got something,hopefully it helps.
Damn, don't do that, that's way too much work.
You could just try to add the debug flag on the cl command in both build.bat I thought they were already enabled, but it seems I was wrong... Right now I'm not on the windows machine I sometimes compile as debug, If you can't figure out how to add the flags, or you don't think it's worth it, tomorrow I may go into it in more detail.
Thanks for taking the time.
If you update with git pull origin master and git submodule update and remove candle\build and build, does it still happen?
yup still there,updated the submodule and twinpeaks. GL Vendor : NVIDIA Corporation GL Renderer : GeForce GTX 1050 Ti/PCIe/SSE2 GL Version (string) : 4.3.0 NVIDIA 451.67 GLSL Version : 4.30 NVIDIA via Cg compiler floor.obj counts 0 0 0 0 end object floor.obj loading tile.mat cloth.obj counts 0 0 0 0 end object cloth.obj 'ailed to fetch texture 'tile_diffuse Segmentation fault
So I cant even link the resources using the alternate method by changing the candle.c file and the build.bat ,I get OSpooky!
on runtime
What do you mean by "changing the candle.c file"? What are you changing?
// #ifndef EMSCRIPTEN // if (get_archive(&sauces_bytes, &sauces_size)) // { // c_sauces_me_a_zip(c_sauces(&SYS), sauces_bytes, sauces_size); // } // #else c_sauces_index_dir(c_sauces(&SYS), "resauces"); // #endif
just changed it to always use the file directory
Sorry to add more, I'm now trying on my laptop and after updating the submodules and everything im getting: GL Vendor : Intel GL Renderer : Intel(R) UHD Graphics 620 GL Version (string) : 4.3.0 - Build 24.20.100.6286 GLSL Version : 4.30 - Build 24.20.100.6286 Log found for 'candle:quad': ERROR: 0:304: '' : illegal recursive expansion of macro camera ERROR: 0:304: 'camera' : failed to expand macro ERROR: 0:345: '' : illegal recursive expansion of macro camera ERROR: 0:345: 'camera' : failed to expand macro ERROR: 0:467: '' : illegal recursive expansion of macro camera ERROR: 0:467: 'camera' : failed to expand macro ERROR: 0:468: '' : illegal recursive expansion of macro camera ERROR: 0:468: 'camera' : failed to expand macro ERROR: 0:469: '' : illegal recursive expansion of macro camera ERROR: 0:469: 'camera' : failed to expand macro
candle:quad
does this mean the files are loading correctly here atleast?
I tried reproducing it and can't seem to be able to... The camera' : failed to expand macro seems to be driver specific, but I thin I fixed it. Not sure how well it will run on an Intel chip. As to on the nvidia one, could you follow these steps specifically?
cd twinpeaks
rmdir build
cd candle
git pull origin master
rmdir build
cd ..
build.bat
Camera seems fine now on nvidia, Also what platform are you runnning on?