Open Geof23 opened 4 years ago
Hi @Geof23 !
Can you please remove the -L.
part from your command? I believe that by running the command you specified above which has two instances of the -L
argument option, you are overwriting -Llib
, which is the argument option that specifies the path to the libraries that are to be linked (thus the compiler is searching for the libraries in .
, the root directory of the repository, and not on the /lib
directory where it should be looking).
Please try removing the duplicate -L.
option and tell me if that works.
You can have multiple -L args. It’s finding the other libs in lib
On Fri, Apr 10, 2020 at 8:16 AM Ruben Carvalho notifications@github.com wrote:
Hi @Geof23 https://github.com/Geof23 !
Can you please remove the -L. part from your command? I believe that by doing so, you are overwriting -Llib, which is the command that specifies the path to the libraries that are to be linked.
Please try removing the duplicate -L. option and tell me if that works.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Arukiap/Fractal-Xplorer/issues/1#issuecomment-612074027, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABMJOD6VQBK66SONZKEJ3MDRL4Z6LANCNFSM4MFIJHMQ .
Anyway, Ruben, I appreciate you getting back so quickly.
When I use your suggestion, I get the same problem:
clang++ *.cpp -I.\include\ -Llib -lglew32s -lSDL2main -lSDL2 -lOpenGL32 -o fractals.exe
LINK : fatal error LNK1181: cannot open input file 'SDL2main.lib' clang++: error: linker command failed with exit code 1181 (use -v to see invocation)
On Fri, Apr 10, 2020 at 11:00 AM Geof Sawaya geof.sawaya@gmail.com wrote:
You can have multiple -L args. It’s finding the other libs in lib
On Fri, Apr 10, 2020 at 8:16 AM Ruben Carvalho notifications@github.com wrote:
Hi @Geof23 https://github.com/Geof23 !
Can you please remove the -L. part from your command? I believe that by doing so, you are overwriting -Llib, which is the command that specifies the path to the libraries that are to be linked.
Please try removing the duplicate -L. option and tell me if that works.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Arukiap/Fractal-Xplorer/issues/1#issuecomment-612074027, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABMJOD6VQBK66SONZKEJ3MDRL4Z6LANCNFSM4MFIJHMQ .
@Geof23 No problem! I would kindly ask you to try out the gcc g++ compiler instead, for the time being. I had a buddy of mine do a clean installation of this repository using the MINGW compiler and it worked for him on a Windows machine.
Cool, Ruben -- I'll let you know what works
On Fri, Apr 10, 2020 at 1:11 PM Ruben Carvalho notifications@github.com wrote:
@Geof23 https://github.com/Geof23 No problem! I would kindly ask you to try out the gcc g++ compiler instead, for the time being. I had a buddy of mine do a clean installation of this repository using the MINGW compiler and it worked for him on a Windows machine.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Arukiap/Fractal-Xplorer/issues/1#issuecomment-612197228, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABMJODZ2ESMM62BO6PO4A4LRL54P5ANCNFSM4MFIJHMQ .
I followed the instructions for building on Windows in README. What am I missing?