Premium Adrian2 16 Posted March 12, 2017 Premium Share Posted March 12, 2017 (edited) Hello there, could someone help me to fix this simple error?. Thanks <3 Spoiler Edited September 3, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
Vanilla 1456 Posted March 13, 2017 Share Posted March 13, 2017 check your Makefile and change your g++ to a compiler that's actually present in the system. g++ is from older systems where gnu cc was the standard compiler. Now we have clang and there you'd use c++ or install a compiler manually. This way you can also install and use gcc but you shouldn't use "g++" as your compiler in your Makefile. 1 We are the tortured. We're not your friends. As long as we're not visible. We are unfixable. Link to comment Share on other sites More sharing options...
Premium Adrian2 16 Posted March 13, 2017 Author Premium Share Posted March 13, 2017 Ah thanks. So from g++ make file change to Clang? Thanks Link to comment Share on other sites More sharing options...
Vanilla 1456 Posted March 13, 2017 Share Posted March 13, 2017 you can simply replace the g++ with c++ but if the source isn't adapted you may run into some problems when compiling with clang. You'll have to make some changes to the source. We are the tortured. We're not your friends. As long as we're not visible. We are unfixable. Link to comment Share on other sites More sharing options...
Premium Adrian2 16 Posted March 13, 2017 Author Premium Share Posted March 13, 2017 Even after installing GCC manually, it doesn't recognise it After remaking all MAKEFILES (yeah, those in libs didn't wanted work too LOL) same error saying G++ not found. Tried using your core, same stuff happens. Link to comment Share on other sites More sharing options...
Premium tierrilopes 452 Posted March 13, 2017 Premium Share Posted March 13, 2017 53 minutes ago, Adrian2 said: Even after installing GCC manually, it doesn't recognise it After remaking all MAKEFILES (yeah, those in libs didn't wanted work too LOL) same error saying G++ not found. Tried using your core, same stuff happens. cd /usr/ports/lang/gcc49/ && make -DBATCH install clean cd /usr/ports/devel/gmake/ && make -DBATCH install clean (will most likelly say its already installed, ignore if so) Makefiles: CC=gcc49 CXX=g++49 1 Link to comment Share on other sites More sharing options...
Premium Adrian2 16 Posted March 15, 2017 Author Premium Share Posted March 15, 2017 (edited) On 3/13/2017 at 9:44 PM, tierrilopes said: cd /usr/ports/lang/gcc49/ && make -DBATCH install clean cd /usr/ports/devel/gmake/ && make -DBATCH install clean (will most likelly say its already installed, ignore if so) Makefiles: CC=gcc49 CXX=g++49 Not working, After changing every makefile, different error pops up, so basically your solution is working but not fully. Spoiler Edited September 3, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
Premium tierrilopes 452 Posted March 15, 2017 Premium Share Posted March 15, 2017 Thats no issue with the gcc now but with makefile configs Check makefile settings and path for those Link to comment Share on other sites More sharing options...
Premium Adrian2 16 Posted March 15, 2017 Author Premium Share Posted March 15, 2017 (edited) 2 hours ago, tierrilopes said: Thats no issue with the gcc now but with makefile configs it couldnt find the any reference for "clean" inside liblua/src and config inside "liblua/src" Check makefile settings and path for those Everything seems fine for me in those two, there's no clean in liblua/src its only included in makefile that is located in liblua/src. Got those makefiles from Tibunau(da-noob-proof tutorial) // Do you maybe mind providing me with a "ready" made MAKEFILES? Edited March 15, 2017 by Adrian2 Link to comment Share on other sites More sharing options...
Premium tierrilopes 452 Posted March 15, 2017 Premium Share Posted March 15, 2017 Sure, send me by pm Link to comment Share on other sites More sharing options...
Premium Adrian2 16 Posted March 17, 2017 Author Premium Share Posted March 17, 2017 help. Link to comment Share on other sites More sharing options...
Premium Adrian2 16 Posted March 18, 2017 Author Premium Share Posted March 18, 2017 Bump. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now