{"id":178,"date":"2020-12-11T22:59:54","date_gmt":"2020-12-11T22:59:54","guid":{"rendered":"https:\/\/devlog.oakcityit.net\/?p=178"},"modified":"2020-12-17T17:20:08","modified_gmt":"2020-12-17T17:20:08","slug":"dwarf-error","status":"publish","type":"post","link":"https:\/\/devlog.oakcityit.net\/dwarf-error\/","title":{"rendered":"Dwarf error"},"content":{"rendered":"\n

Jumping back in with troubleshooting on the Makefile and build process in my game engine project in hopes of being able to:<\/p>\n\n\n\n

  1. Build on the target device (ClockworkPi GameShell)<\/li>
  2. Migrate to KDevelop for my new main IDE<\/li><\/ol>\n\n\n\n

    I’ve come across a curious DWARF error.<\/p>\n\n\n\n

    No not one of these guys:<\/p>\n\n\n\n

    \"\"<\/figure>\n\n\n\n

    DWARF errors are simply the format that GCC debugger uses. User tuxdev on linuxquestions<\/a> says that you should clean your project, check the includes and dependencies and then rebuild. <\/p>\n\n\n\n

    \"\"<\/figure>\n\n\n\n
    \/usr\/bin\/ld: .\/src\/main.o: in function `main':\n\/home\/ayoungblood\/Git\/sdl2-engine\/Debug\/..\/src\/main.cpp:32: undefined reference to `cJSON_Parse'<\/code><\/pre>\n\n\n\n

    Well wouldn’t you know it, but if I look in the build directory at the objects that compiled there’s a certain piece of source code that is not there.<\/p>\n\n\n\n

    ~\/Git\/sdl2-engine\/Debug master*\n\u276f ls src      \nAssetManager.d  Collision.d  ECS     Game.o        GameObject.o  main.o  Map.o           MusicManager.o  TextureManager.d  UINineSlice.d  UIText.d  Vector2D.d\nAssetManager.o  Collision.o  Game.d  GameObject.d  main.d        Map.d   MusicManager.d  subdir.mk       TextureManager.o  UINineSlice.o  UIText.o  Vector2D.o<\/code><\/pre>\n\n\n\n

    Next steps will be figuring out how to compile the cJSON libraries which are simply a single .c and .h file.<\/p>\n","protected":false},"excerpt":{"rendered":"

    Jumping back in with troubleshooting on the Makefile and build process in my game engine project in hopes of being able to: Build on the target device (ClockworkPi GameShell) Migrate to KDevelop for my new main IDE I’ve come across a curious DWARF error. No not one of these guys: DWARF errors are simply the… Read More »Dwarf error<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"neve_meta_sidebar":"","neve_meta_container":"","neve_meta_enable_content_width":"","neve_meta_content_width":0,"neve_meta_title_alignment":"","neve_meta_author_avatar":"","neve_post_elements_order":"","neve_meta_disable_header":"","neve_meta_disable_footer":"","neve_meta_disable_title":"","_ti_tpc_template_sync":false,"_ti_tpc_template_id":""},"categories":[17],"tags":[21,24,26,23,20],"_links":{"self":[{"href":"https:\/\/devlog.oakcityit.net\/wp-json\/wp\/v2\/posts\/178"}],"collection":[{"href":"https:\/\/devlog.oakcityit.net\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devlog.oakcityit.net\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devlog.oakcityit.net\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/devlog.oakcityit.net\/wp-json\/wp\/v2\/comments?post=178"}],"version-history":[{"count":0,"href":"https:\/\/devlog.oakcityit.net\/wp-json\/wp\/v2\/posts\/178\/revisions"}],"wp:attachment":[{"href":"https:\/\/devlog.oakcityit.net\/wp-json\/wp\/v2\/media?parent=178"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devlog.oakcityit.net\/wp-json\/wp\/v2\/categories?post=178"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devlog.oakcityit.net\/wp-json\/wp\/v2\/tags?post=178"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}