Can't build the game

Hey,

If I try to build the game with "x64 native tools command prompt for vs2019" I get serveral compile errors like this:

Source\handmade\code\handmade_world_mode.cpp(59,117): error C2665: "AddPiece": Durch keine der 2 Überladungen konnten alle Argumenttypen konvertiert werden. [...]Source\handmade\code\handmade_room_gen.h(15,32): note: kann "entity_visible_piece *AddPiece(entity *,asset_tag_hash,f32,v3,v4,u32)" sein

In english:
none of the 2 overloads can convert parameter from type ...



Edited by nandi on Reason: Initial post
If you are talking about source code from latest day (620) then Casey is in middle of a lot of changes and he left it half-finished. So errors are expected. You can either fix them manually yourself, or simply use source from previous days.
thank you, i finally was able to build 610..

now I cannot start the game because no assets where found. i've done the subst thing so the directorys look the same. but /data remains empty.

A very hard start if the readme is obsolete and the current version contains compile errors
The readme seems to be up to date for day 610.

It sounds like you are getting the message box "WARNING: No assets found. Ensure the starting directory is correct.", is that correct?

After following step 1 your directory structure should look like:
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
w:\handmade>dir /A:D /S /B
w:\handmade\code
w:\handmade\ctime
w:\handmade\data
w:\handmade\debug
w:\handmade\dota
w:\handmade\misc
w:\handmade\ray
w:\handmade\retired
w:\handmade\sources
w:\handmade\tags
w:\handmade\test
w:\handmade\timer
w:\handmade\debug\handmade_nsight
w:\handmade\sources\base_game
w:\handmade\sources\developer
w:\handmade\sources\intro_cutscene
w:\handmade\sources\renderer_test
w:\handmade\sources\templates
w:\handmade\sources\base_game\art
w:\handmade\sources\base_game\fonts
w:\handmade\sources\base_game\music
w:\handmade\sources\base_game\sound
w:\handmade\sources\developer\fonts
w:\handmade\sources\intro_cutscene\art
w:\handmade\sources\intro_cutscene\music
w:\handmade\sources\intro_cutscene\sound
w:\handmade\tags\fonts


And as step 3 says, you must launch w:\build\win32_handmade.exe with the working directory set to w:\handmade.

One way to do that would be to navigate to w:\handmade in the command prompt and do:
1
w:\handmade>w:\build\win32_handmade.exe
You're right, thank you!

I missunterstood that the wd must be handmade. sorry

Edited by nandi on