Closed ESui2 closed 8 months ago
@ESui2 I created a branch with a quick fix. Can you please test it before I merge it? I don't have MSVS to test it myself.. what CMake version are you using ?
Within the examples\c\main.c file the lines "int readinput()" and "int main()" had the word "int" on a separate line, which tripped up the initial parsing of this file on my build. After this and with your branch implementation i got 1 definite error as shown underneath.
I am working with CMake 3.28.1
PS C:\Users\320237572\Documents\openGJK> cmake --build build
Microsoft (R) Build Engine version 16.9.0+57a23d249 for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.
obj_openGJK.vcxproj -> C:\Users\320237572\Documents\openGJK\build\obj_openGJK.dir\Debug\obj_openGJK.lib
LINK : fatal error LNK1104: cannot open file 'm.lib' [C:\Users\320237572\Documents\openGJK\build\examples\c\example_lib_opengjk_ce.vcxpro
j]
Auto build dll exports
opengjk_ce.vcxproj -> C:\Users\320237572\Documents\openGJK\build\Debug\opengjk_ce.dll
@ESui2 could you please try again? I don't understand why I left the link to the math library not guarded, but that causes you link error
Please let me know
@ESui2 i pushed new charges for you to test, pull the latest version and let me know. Thanks
Hi,
I seem to have a similar problem as been stated before. However instead of the /Wunused-macros I solely have a /Wunused invalid argument. I cloned the repository on my windows system and ran CMake in MSVS that returned the following error:
Full output of all steps are:
Does anyone happen to know what the problem could be? Perhaps I missed a step?