- Issue with convimg?
- 28 Apr 2020 06:15:33 pm
- Last edited by KaluW_ on 28 Apr 2020 06:18:04 pm; edited 1 time in total
I think I found an issue with convimg. In CEdev/examples/combined/appvar_tilemap, there's, well, an example usage for tilemap appvars. When given the already made 'vargfx.c' and 'vargfx.h' in src/gfx/, the program compiles fine. However, if you open cmd and run 'convimg.exe' inside the 'gfx' directory, the code will no longer compile and will complain about vargfx.c. Upon closer inspection:
Original code in 'vargfx.c' in CEdev/examples/combined/appvar_tilemap/src/gfx:
https://pastebin.com/9dEp88Ti
Code in "vargfx.c" when recompiling gfx using comvimg:
https://pastebin.com/SMyujAyM
Besides the spacing in the second document, I don't see any difference between the two code-wise. However when trying to compile the code, I get a syntax error at line (170,3).... which is a blank line.
I found this out while I tried creating my own tilemap appvar for a game, and the compiler was complaining about a blank line in "<appvar>.c" I then went to the examples in the toolchain and ran this experiment.
Original code in 'vargfx.c' in CEdev/examples/combined/appvar_tilemap/src/gfx:
https://pastebin.com/9dEp88Ti
Code in "vargfx.c" when recompiling gfx using comvimg:
https://pastebin.com/SMyujAyM
Besides the spacing in the second document, I don't see any difference between the two code-wise. However when trying to compile the code, I get a syntax error at line (170,3).... which is a blank line.
I found this out while I tried creating my own tilemap appvar for a game, and the compiler was complaining about a blank line in "<appvar>.c" I then went to the examples in the toolchain and ran this experiment.