![]() ![]() I tried to make them as simple as possible. Maybe some of the instructions could be made similar or simplified more. I spent over a week researching and documenting everything I did to get this computer ready so that you can follow along and learn from what I’ve discovered. This is the show notes page and here you’ll find the detailed step-by-step instructions that I promised in the podcast. Listen to the audio podcast to hear my story about how and why I decided to buy an 11 inch Lenovo ideapad 120S. Installing Linux, GCC, GDB, Git, CMake, LLVM, Clang, Boost, SFML, CodeLite, Sublime Text 3, And Dropbox On a $140 Lenovo ideapad 120S makes an ultra portable C++ programming laptop. Subscribe: Apple Podcasts | Google Podcasts | Podbean | Stitcher I apologize for posting all of this information so late I still don't quite understand too much, but I hope this gives some more information for aid.Download file | Play in new window | Duration: 11:27 | Recorded on September 16, 2018 $(MAKE) -f CMakeFiles/Makefile2 sfml_project The next line is 118 for the make error. The make error is as follows, Error 2: # Build rule for target. PHONY : CMakeFiles/sfml_project.dir/rule $(CMAKE_COMMAND) -E cmake_progress_start /home/user/CLionProjects/sfml_project/CMakeFiles 0 $(MAKE) -f CMakeFiles/Makefile2 CMakeFiles/sfml_project.dir/all The next line is 83 for which make occurs. $(CMAKE_COMMAND) -E cmake_progress_start /home/user/CLionProjects/sfml_project/CMakeFiles 2 $(MAKE) -f CMakeFiles/sfml_project.dir/build.make -E cmake_echo_color -switch=$(COLOR) -progress-dir=/home/user/CLionProjects/sfml_project/CMakeFiles -progress-num=1,2 "Built target sfml_project"įor make, Error 2: # Build rule for subdir invocation for target.ĬMakeFiles/sfml_project.dir/rule: cmake_check_build_system The next line is line 76 for which error 2 occurs with make. $(MAKE) -f CMakeFiles/sfml_project.dir/build.make CMakeFiles/sfml_project.dir/depend $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/sfml_project.dir/link.txt -verbose=$(VERBOSE)įor make, Error 2: # All Build rule for target. Line #88 is the next one which the error refers to. Sfml_project: -E cmake_echo_color -switch=$(COLOR) -green -bold -progress-dir=/home/user/CLionProjects/sfml_project/CMakeFiles -progress-num=$(CMAKE_PROGRESS_2) "Linking CXX executable sfml_project" Sfml_project: /home/user/Development/sfmlbuild/lib/libsfml-system.so Sfml_project: /home/user/Development/sfmlbuild/lib/libsfml-window.so Sfml_project: /home/user/Development/sfmlbuild/lib/libsfml-graphics.so Sfml_project: /home/user/Development/sfmlbuild/lib/libsfml-audio.so Sfml_project: CMakeFiles/sfml_project.dir/build.make Sfml_project: CMakeFiles/sfml_project.dir/ I suppose I should've put what the errors were exactly as well, so I'll add them here too.įor make: Error 1 # External object files for target sfml_project I furthermore apologize as this is my first time utilizing this website to ask for any questions, so if this is a question poorly done, I accept my inexperience, and I hope to do better next time. If anyone can provide me feedback, small or large, then I would greatly appreciate it and try to get back as fast as I can with responses on whether or not I've done certain things. Maybe those have to do with something that's wrong, but I'm honestly unsure what to do from here. ![]() As for the build, execution, and development part of the CLion program, I have the Toolchains to detect the Make, C compiler, and C++ compiler where I also left the profile that's available to default. ![]() And my sfmlbuild which contains the Linux version of SFML, downloaded from the suit, is in a separate folder which is where the libsfml-audio.so is located inside of. I set my CMake application to the folder where I have my sfml_project. I'm unsure what to do from here, or if there's anything wrong in particular with how I have my CLion setup. This is what I have in my CMakeLists.txt as well, which I assume locates most of the SFML files, so CLion can use them. usr/bin/ld: attempted static link of dynamic object `/home/user/Development/sfmlbuild/lib/libsfml-audio.so'Ĭollect2: error: ld returned 1 exit status The problem in particular that I'm encountering is when I decide to run my file. I'm currently using a Debian GNU/Linux bullseye/sid(copied straight from what I saw), so if there's anything specific about that, that'd be nice to know too. When tasked to install CLion along with SFML and CMake, I've come into a lot of problems figuring out how to make them work. I'm pretty new to installing, rearranging files, and somewhat writing code on Linux. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |