-  [WT]  [PS]  [Home] [Manage]

[Return]
Posting mode: Reply
  1.   (reply to 5036)
  2. (for post and file deletion)
/pr/ - Programming
  • Supported file types are: C, CSS, DOC, DOCX, GIF, H, JAVA, JPG, PDF, PNG, SVG, SWF, TXT, WEBM
  • Maximum file size allowed is 10000 KB.
  • Images greater than 200x200 pixels will be thumbnailed.
  • Currently 400 unique user posts. View catalog

  • Blotter updated: 2011-01-12 Show/Hide Show All

There's a new /777/ up, it's /Trump/ - Make America Great Again! Check it out. Suggest new /777/s here.

Movies & TV 24/7 via Channel7: Web Player, .m3u file. Music via Radio7: Web Player, .m3u file.

WebM is now available sitewide! Please check this thread for more info.

Neckbearded Basement Dweller 17/04/08(Sat)10:39 No. 5036

Hey /pr/ first time getting into programming a debug mode for brogue and I'm gonna learn to do some miscellaneous programming, but I want to make brogue into a debug form, but when I try to do so, I get this:

||=== Build: Debug in Brogue (compiler: GNU GCC Compiler) ===|
C:\Users\Zenheart47981\Desktop\brogue debug folder\Brogue-windows-v1.7.4\Brogue-windows-v1.7.4\Brogue Source\PlatformCode\main.c||In function 'main':|
C:\Users\Zenheart47981\Desktop\brogue debug folder\Brogue-windows-v1.7.4\Brogue-windows-v1.7.4\Brogue Source\PlatformCode\main.c|77|error: 'cursesConsole' undeclared (first use in this function)|
C:\Users\Zenheart47981\Desktop\brogue debug folder\Brogue-windows-v1.7.4\Brogue-windows-v1.7.4\Brogue Source\PlatformCode\main.c|77|note: each undeclared identifier is reported only once for each function it appears in|
||=== Build failed: 1 error(s), 0 warning(s) (0 minute(s), 0 second(s)) ===|
||=== Run: Debug in Brogue (compiler: GNU GCC Compiler) ===|


The curses console is undeclared, but how do I declare it?


>>
Neckbearded Basement Dweller 17/04/09(Sun)06:20 No. 5037

>>5036

Have you looked specifically in all files you've imported?

When I first attempted to do this on my own I get a different error, cursesConsole is undeclared, you have to declare it in a specific file?

Have you found any references for cursesConsole in different files?

Add this in codeblocks:

extern struct brogueConsole cursesConsole; in file platform.h.




Delete post []
Password  
Report post
Reason