Open TombstoneTumbleweedArt opened 6 years ago
Most probable.
On windows 10 and VS2015, when building using the .bat file, I ran into weird stuff at compilation: in line with this: https://stackoverflow.com/questions/30412951/unresolved-external-symbol-imp-fprintf-and-imp-iob-func-sdl2 Maybe I would have saved time by fixing the script, do not know...
Just before giving up, I made it work by: a) recompiling SDL-1.2.15 for x64 using VS20xx. b) explicitly map SDL lib paths in CMake GUI. (forget the env_var stuff) c) specify none for TARGET_ARCHITECTURE (my arch was not accepted/recognized) d) generate the solution for VS 20xx and not trying to upgrade the 2013 version. (Cmake takes care of it by default. That's the whole point as we just want a state of compilation where things stop breaking)
I hope it may help.
p.s.1: Also the whole shebang is outputting any input params error in a text file but stays silent at the prompt. At first, I really though it was a dead baby. p.s.2: One exemplary cmd is misleading as there is no .ply in the models folder AND the whole point of this ply file is to "build-er" an .oct file, then digestable by the sparse octree internals which can be "view-er" p.s.3: Else it works great, powerful stuff.
Sweet! I'll try this out - thank you very much!
Get Outlook for Androidhttps://aka.ms/ghei36
From: ohenley notifications@github.com Sent: Wednesday, January 10, 2018 5:01:57 PM To: tunabrain/sparse-voxel-octrees Cc: TombstoneTumbleweedArt; Author Subject: Re: [tunabrain/sparse-voxel-octrees] Win 10 Compiling Issues (#20)
Most probable.
On windows 10 and VS2015, when building using the .bat file, I ran into weird stuff at compilation: in line with this: https://stackoverflow.com/questions/30412951/unresolved-external-symbol-imp-fprintf-and-imp-iob-func-sdl2 Maybe I would have saved time by fixing the script, do not know...
Just before giving up, I made it work by: a) recompiling SDL-1.2.15 for x64 using VS2015. b) explicitly map SDL lib paths in CMake GUI. (forget the env_var stuff) c) specify none for TARGET_ARCHITECTURE (my arch was not accepted/recognized) d) generate the solution for VS 2015 and not trying to upgrade the 2013 version. (Cmake takes care of it by default. That's the whole point as we just want a state of compilation where things stop breaking)
I hope it may help.
p.s.1: Also the whole shebang is outputting any input params error in a text file but stays silent at the prompt. p.s.2: One exemplary cmd is misleading as there is no .ply in the models folder AND the whole point of this ply file is to "build-er" an .oct file, then digestable by the sparse octree internals which can be "view-er" p.s.3: Else it works great, powerful stuff.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/tunabrain/sparse-voxel-octrees/issues/20#issuecomment-356779133, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AXkqlMUUCmkwlPYNPpG1j6PBxMGUonXhks5tJU91gaJpZM4RRs-E.
I followed all the instructions in the post but CMake outputs the following:
WARNING: Target "sparse-voxel-octrees" requests linking to directory "E:\CPP\TunaBrain\SDL-1.2.15". Targets may link only to libraries. CMake is dropping the item. WARNING: Target "sparse-voxel-octrees" requests linking to directory "E:\CPP\TunaBrain\SDL-1.2.15\lib\x86". Targets may link only to libraries. CMake is dropping the item. WARNING: Target "sparse-voxel-octrees" requests linking to directory "E:\CPP\TunaBrain\SDL-1.2.15". Targets may link only to libraries. CMake is dropping the item. WARNING: Target "sparse-voxel-octrees" requests linking to directory "E:\CPP\TunaBrain\SDL-1.2.15\lib\x86". Targets may link only to libraries. CMake is dropping the item. WARNING: Target "sparse-voxel-octrees" requests linking to directory "E:\CPP\TunaBrain\SDL-1.2.15". Targets may link only to libraries. CMake is dropping the item. WARNING: Target "sparse-voxel-octrees" requests linking to directory "E:\CPP\TunaBrain\SDL-1.2.15\lib\x86". Targets may link only to libraries. CMake is dropping the item. WARNING: Target "sparse-voxel-octrees" requests linking to directory "E:\CPP\TunaBrain\SDL-1.2.15". Targets may link only to libraries. CMake is dropping the item. WARNING: Target "sparse-voxel-octrees" requests linking to directory "E:\CPP\TunaBrain\SDL-1.2.15\lib\x86". Targets may link only to libraries. CMake is dropping the item
I'm using VS2017 but have not yet tried recompiling SDL 1.2 - perhaps that?