Register
4coder»Forums»Can't build 4coder_casey.cpp
Hampus Johansson
2 posts
Can't build 4coder_casey.cpp
4 months, 1 week ago Edited by Hampus Johansson on Dec. 29, 2020, 11:39 a.m.
Hello. I get a bunch of errors when trying to build 4coder_casey.cpp with buildsuper_x64-win.bat:

buildsuper_x64-win.bat ..\4coder_casey.cpp

4coder_casey.cpp
4coder_metadata_generator.cpp
metadata_generator C:\Users\hampa\Desktop\4coder\custom\bin\4coder_command_metadata.i
4coder_casey.cpp
C:\Users\hampa\Desktop\4coder\custom\4coder_casey.cpp(111): error C3646: 'target_file_name': unknown override specifier
C:\Users\hampa\Desktop\4coder\custom\4coder_casey.cpp(111): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
C:\Users\hampa\Desktop\4coder\custom\4coder_casey.cpp(292): error C2065: 'String': undeclared identifier
C:\Users\hampa\Desktop\4coder\custom\4coder_casey.cpp(292): error C2146: syntax error: missing ')' before identifier 'extension'
C:\Users\hampa\Desktop\4coder\custom\4coder_casey.cpp(293): error C2143: syntax error: missing ';' before '{'
C:\Users\hampa\Desktop\4coder\custom\4coder_casey.cpp(293): error C2447: '{': missing function header (old-style formal list?)
C:\Users\hampa\Desktop\4coder\custom\4coder_casey.cpp(302): error C2065: 'String': undeclared identifier
C:\Users\hampa\Desktop\4coder\custom\4coder_casey.cpp(302): error C2146: syntax error: missing ')' before identifier 'extension'
C:\Users\hampa\Desktop\4coder\custom\4coder_casey.cpp(303): error C2143: syntax error: missing ';' before '{'
C:\Users\hampa\Desktop\4coder\custom\4coder_casey.cpp(303): error C2447: '{': missing function header (old-style formal list?)
C:\Users\hampa\Desktop\4coder\custom\4coder_casey.cpp(312): error C2065: 'String': undeclared identifier
C:\Users\hampa\Desktop\4coder\custom\4coder_casey.cpp(312): error C2146: syntax error: missing ')' before identifier 'extension'
C:\Users\hampa\Desktop\4coder\custom\4coder_casey.cpp(313): error C2143: syntax error: missing ';' before '{'
C:\Users\hampa\Desktop\4coder\custom\4coder_casey.cpp(313): error C2447: '{': missing function header (old-style formal list?)
C:\Users\hampa\Desktop\4coder\custom\4coder_casey.cpp(320): error C2065: 'String': undeclared identifier
C:\Users\hampa\Desktop\4coder\custom\4coder_casey.cpp(320): error C2146: syntax error: missing ')' before identifier 'extension'
C:\Users\hampa\Desktop\4coder\custom\4coder_casey.cpp(321): error C2143: syntax error: missing ';' before '{'
C:\Users\hampa\Desktop\4coder\custom\4coder_casey.cpp(321): error C2447: '{': missing function header (old-style formal list?)
C:\Users\hampa\Desktop\4coder\custom\4coder_casey.cpp(332): error C2065: 'String': undeclared identifier
C:\Users\hampa\Desktop\4coder\custom\4coder_casey.cpp(332): error C2146: syntax error: missing ')' before identifier 'extension'
C:\Users\hampa\Desktop\4coder\custom\4coder_casey.cpp(333): error C2143: syntax error: missing ';' before '{'
C:\Users\hampa\Desktop\4coder\custom\4coder_casey.cpp(333): error C2447: '{': missing function header (old-style formal list?)
C:\Users\hampa\Desktop\4coder\custom\4coder_casey.cpp(340): error C2065: 'String': undeclared identifier
C:\Users\hampa\Desktop\4coder\custom\4coder_casey.cpp(340): error C2146: syntax error: missing ')' before identifier 'extension'
C:\Users\hampa\Desktop\4coder\custom\4coder_casey.cpp(341): error C2143: syntax error: missing ';' before '{'
C:\Users\hampa\Desktop\4coder\custom\4coder_casey.cpp(341): error C2447: '{': missing function header (old-style formal list?)
C:\Users\hampa\Desktop\4coder\custom\4coder_casey.cpp(348): error C2065: 'String': undeclared identifier
C:\Users\hampa\Desktop\4coder\custom\4coder_casey.cpp(348): error C2146: syntax error: missing ')' before identifier 'extension'
C:\Users\hampa\Desktop\4coder\custom\4coder_casey.cpp(349): error C2143: syntax error: missing ';' before '{'
C:\Users\hampa\Desktop\4coder\custom\4coder_casey.cpp(349): error C2447: '{': missing function header (old-style formal list?)
C:\Users\hampa\Desktop\4coder\custom\4coder_casey.cpp(356): error C2065: 'String': undeclared identifier
C:\Users\hampa\Desktop\4coder\custom\4coder_casey.cpp(356): error C2146: syntax error: missing ')' before identifier 'extension'
C:\Users\hampa\Desktop\4coder\custom\4coder_casey.cpp(357): error C2143: syntax error: missing ';' before '{'
C:\Users\hampa\Desktop\4coder\custom\4coder_casey.cpp(357): error C2447: '{': missing function header (old-style formal list?)
C:\Users\hampa\Desktop\4coder\custom\4coder_casey.cpp(364): error C2065: 'String': undeclared identifier
C:\Users\hampa\Desktop\4coder\custom\4coder_casey.cpp(364): error C2146: syntax error: missing ')' before identifier 'extension'
C:\Users\hampa\Desktop\4coder\custom\4coder_casey.cpp(365): error C2143: syntax error: missing ';' before '{'
C:\Users\hampa\Desktop\4coder\custom\4coder_casey.cpp(365): error C2447: '{': missing function header (old-style formal list?)
C:\Users\hampa\Desktop\4coder\custom\4coder_casey.cpp(372): error C2065: 'String': undeclared identifier
C:\Users\hampa\Desktop\4coder\custom\4coder_casey.cpp(372): error C2146: syntax error: missing ')' before identifier 'extension'
C:\Users\hampa\Desktop\4coder\custom\4coder_casey.cpp(373): error C2143: syntax error: missing ';' before '{'
C:\Users\hampa\Desktop\4coder\custom\4coder_casey.cpp(373): error C2447: '{': missing function header (old-style formal list?)
C:\Users\hampa\Desktop\4coder\custom\4coder_casey.cpp(380): error C2065: 'String': undeclared identifier
C:\Users\hampa\Desktop\4coder\custom\4coder_casey.cpp(380): error C2146: syntax error: missing ')' before identifier 'extension'
C:\Users\hampa\Desktop\4coder\custom\4coder_casey.cpp(381): error C2143: syntax error: missing ';' before '{'
C:\Users\hampa\Desktop\4coder\custom\4coder_casey.cpp(381): error C2447: '{': missing function header (old-style formal list?)
C:\Users\hampa\Desktop\4coder\custom\4coder_casey.cpp(388): error C2065: 'String': undeclared identifier
C:\Users\hampa\Desktop\4coder\custom\4coder_casey.cpp(388): error C2146: syntax error: missing ')' before identifier 'extension'
C:\Users\hampa\Desktop\4coder\custom\4coder_casey.cpp(389): error C2143: syntax error: missing ';' before '{'
C:\Users\hampa\Desktop\4coder\custom\4coder_casey.cpp(389): error C2447: '{': missing function header (old-style formal list?)
C:\Users\hampa\Desktop\4coder\custom\4coder_casey.cpp(396): error C2065: 'String': undeclared identifier
C:\Users\hampa\Desktop\4coder\custom\4coder_casey.cpp(396): error C2146: syntax error: missing ')' before identifier 'extension'
C:\Users\hampa\Desktop\4coder\custom\4coder_casey.cpp(397): error C2143: syntax error: missing ';' before '{'
C:\Users\hampa\Desktop\4coder\custom\4coder_casey.cpp(397): error C2447: '{': missing function header (old-style formal list?)
C:\Users\hampa\Desktop\4coder\custom\4coder_casey.cpp(405): error C3861: 'exec_command': identifier not found
C:\Users\hampa\Desktop\4coder\custom\4coder_casey.cpp(406): error C2065: 'cmdid_interactive_open_or_new': undeclared identifier
C:\Users\hampa\Desktop\4coder\custom\4coder_casey.cpp(406): error C3861: 'exec_command': identifier not found
C:\Users\hampa\Desktop\4coder\custom\4coder_casey.cpp(411): error C3861: 'exec_command': identifier not found
C:\Users\hampa\Desktop\4coder\custom\4coder_casey.cpp(412): error C2065: 'eol_nixify': undeclared identifier
C:\Users\hampa\Desktop\4coder\custom\4coder_casey.cpp(412): error C3861: 'exec_command': identifier not found
C:\Users\hampa\Desktop\4coder\custom\4coder_casey.cpp(413): error C2065: 'cmdid_save': undeclared identifier
C:\Users\hampa\Desktop\4coder\custom\4coder_casey.cpp(413): error C3861: 'exec_command': identifier not found
C:\Users\hampa\Desktop\4coder\custom\4coder_casey.cpp(422): error C2065: 'View_Summary': undeclared identifier
C:\Users\hampa\Desktop\4coder\custom\4coder_casey.cpp(422): error C2146: syntax error: missing ';' before identifier 'view'
C:\Users\hampa\Desktop\4coder\custom\4coder_casey.cpp(422): error C2065: 'view': undeclared identifier
C:\Users\hampa\Desktop\4coder\custom\4coder_casey.cpp(422): error C2065: 'AccessProtected': undeclared identifier
C:\Users\hampa\Desktop\4coder\custom\4coder_casey.cpp(423): error C2065: 'Buffer_Summary': undeclared identifier
C:\Users\hampa\Desktop\4coder\custom\4coder_casey.cpp(423): error C2146: syntax error: missing ';' before identifier 'buffer'
C:\Users\hampa\Desktop\4coder\custom\4coder_casey.cpp(423): error C2065: 'buffer': undeclared identifier
C:\Users\hampa\Desktop\4coder\custom\4coder_casey.cpp(423): error C2065: 'view': undeclared identifier
C:\Users\hampa\Desktop\4coder\custom\4coder_casey.cpp(423): error C2065: 'AccessProtected': undeclared identifier
C:\Users\hampa\Desktop\4coder\custom\4coder_casey.cpp(423): error C3861: 'get_buffer': identifier not found
C:\Users\hampa\Desktop\4coder\custom\4coder_casey.cpp(425): error C2065: 'buffer': undeclared identifier
C:\Users\hampa\Desktop\4coder\custom\4coder_casey.cpp(425): error C2065: 'AccessProtected': undeclared identifier
C:\Users\hampa\Desktop\4coder\custom\4coder_casey.cpp(426): error C3861: 'exec_command': identifier not found
C:\Users\hampa\Desktop\4coder\custom\4coder_casey.cpp(429): error C2065: 'write_character': undeclared identifier
C:\Users\hampa\Desktop\4coder\custom\4coder_casey.cpp(429): error C3861: 'exec_command': identifier not found
C:\Users\hampa\Desktop\4coder\custom\4coder_casey.cpp(430): error C2065: 'auto_tab_line_at_cursor': undeclared identifier
C:\Users\hampa\Desktop\4coder\custom\4coder_casey.cpp(430): error C3861: 'exec_command': identifier not found
C:\Users\hampa\Desktop\4coder\custom\4coder_casey.cpp(436): error C3861: 'exec_command': identifier not found
C:\Users\hampa\Desktop\4coder\custom\4coder_casey.cpp(437): error C2065: 'cmdid_interactive_open_or_new': undeclared identifier
C:\Users\hampa\Desktop\4coder\custom\4coder_casey.cpp(437): error C3861: 'exec_command': identifier not found
C:\Users\hampa\Desktop\4coder\custom\4coder_casey.cpp(442): error C3861: 'exec_command': identifier not found
C:\Users\hampa\Desktop\4coder\custom\4coder_casey.cpp(443): error C2065: 'cmdid_interactive_switch_buffer': undeclared identifier
C:\Users\hampa\Desktop\4coder\custom\4coder_casey.cpp(443): error C3861: 'exec_command': identifier not found
C:\Users\hampa\Desktop\4coder\custom\4coder_casey.cpp(449): error C2065: 'AccessOpen': undeclared identifier
C:\Users\hampa\Desktop\4coder\custom\4coder_casey.cpp(450): error C2065: 'View_Summary': undeclared identifier
C:\Users\hampa\Desktop\4coder\custom\4coder_casey.cpp(450): error C2146: syntax error: missing ';' before identifier 'view'
C:\Users\hampa\Desktop\4coder\custom\4coder_casey.cpp(450): error C2065: 'view': undeclared identifier
C:\Users\hampa\Desktop\4coder\custom\4coder_casey.cpp(452): error C2065: 'view': undeclared identifier
C:\Users\hampa\Desktop\4coder\custom\4coder_casey.cpp(454): error C2065: 'view': undeclared identifier
C:\Users\hampa\Desktop\4coder\custom\4coder_casey.cpp(454): error C3861: 'refresh_view': identifier not found
C:\Users\hampa\Desktop\4coder\custom\4coder_casey.cpp(455): error C2065: 'view': undeclared identifier
C:\Users\hampa\Desktop\4coder\custom\4coder_casey.cpp(457): error C2065: 'Range': undeclared identifier
C:\Users\hampa\Desktop\4coder\custom\4coder_casey.cpp(457): error C2146: syntax error: missing ';' before identifier 'range'
C:\Users\hampa\Desktop\4coder\custom\4coder_casey.cpp(457): error C2065: 'range': undeclared identifier
C:\Users\hampa\Desktop\4coder\custom\4coder_casey.cpp(457): error C3861: 'make_range': identifier not found
C:\Users\hampa\Desktop\4coder\custom\4coder_casey.cpp(459): error C2065: 'Buffer_Summary': undeclared identifier
C:\Users\hampa\Desktop\4coder\custom\4coder_casey.cpp(459): error C2146: syntax error: missing ';' before identifier 'buffer'
C:\Users\hampa\Desktop\4coder\custom\4coder_casey.cpp(459): error C2065: 'buffer': undeclared identifier
C:\Users\hampa\Desktop\4coder\custom\4coder_casey.cpp(459): error C2065: 'view': undeclared identifier
C:\Users\hampa\Desktop\4coder\custom\4coder_casey.cpp(459): error C3861: 'get_buffer': identifier not found
C:\Users\hampa\Desktop\4coder\custom\4coder_casey.cpp(459): fatal error C1003: error count exceeds 100; stopping compilation
Could Not Find C:\Users\hampa\Desktop\4coder\custom\bin\*.exp
Could Not Find C:\Users\hampa\Desktop\4coder\custom\bin\*.lib
Simon Anciaux
984 posts
Can't build 4coder_casey.cpp
4 months, 1 week ago
The file in the handmade hero source archive is for old versions of 4coder (before 4.1). But even with 4.0.x versions it might not compile out of the box. I don't know if Casey's current custom layer is available. I think he said at one point that he would give his modification to Ryan Fleury and that those might be merged in Ryan's custom layer.
Hampus Johansson
2 posts
Can't build 4coder_casey.cpp
4 months, 1 week ago
Okay! I will try out Ryan Fleury's instead then. Thanks for the help! :)