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.
It doesn't like the semicolon at the end.
Fix by recompiling convimg.

See https://github.com/mateoconlechuga/convimg/issues/49
Thank you.
  
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
Page 1 of 1
» All times are UTC - 5 Hours
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

 

Advertisement