-
-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
exam_05 #174
Comments
I'm having the same problem /usr/bin/ld: /tmp/main-91a814.o: in function Little reminder: Here you must have a Warlock.cpp & Warlock.hpp files. I'm running on a github codespace |
I am having the same problem: /usr/bin/ld: /tmp/main-4e32cc.o: in function Little reminder: Here you must have a Warlock.cpp & Warlock.hpp files. Here's my CPU's related info: |
the issue is related to the #include in the main file used for testing. |
Could you provide more details on how you solved it? I couldn't fully understand... If you could give details about the steps and so on, that would be great. |
i found a solution in a pull request that solves our problem: |
The first exercice won't pass while my code pass in real exam. It doesn't compile :
/usr/bin/ld : /tmp/main-9fadc3.o : dans la fonction « main » :
main.cpp:(.text+0x99) : référence indéfinie vers « Warlock::Warlock(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&) »
/usr/bin/ld : main.cpp:(.text+0x237) : référence indéfinie vers « Warlock::Warlock(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&) »
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
<-------------- OUR OUTPUT ------------>
Compilation Error stop.
Little reminder: Here you must have a Warlock.cpp & Warlock.hpp files.
Otherwise, the cheat code don't work too.
The text was updated successfully, but these errors were encountered: