dev232

dev232

I can't compile on OSX (i installed macports, brew, the libs and compilers etc, the object code compiles, won't link)

Installed Mac Ports on OSX High Sierra

sudo port install gcc11 libsdl2 openssl glfw libsdl2_gfx libsdl2_image libsdl2_mixer libsdl2_net libsdl2_ttf

and added the libs to the compile options: and that made the object code finally compile and not error out:

CPUOPTIMIZATIONS?=-fcommon -fno-math-errno -ffinite-math-only -fno-rounding-math -fno-signaling-nans -fno-trapping-math -D_THREAD_SAFE -I/opt/local/include/SDL2 -L/opt/local/lib -lSDL2

But it won’t produce a binary:

Build more but didn’t link:

“_volume”, referenced from:
_M_Draw in menu.o
_M_Menu_Options_AdjustSliders in menu.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [darkplaces-sdl] Error 1
make[1]: *** [bin-debug] Error 2
make: *** [sdl-debug] Error 2

Errors:

apples-Mac-mini:buildforapple r00t$ ./all compileengineonly sdlCompiling - Pastebin.com

Won’t link and won’t thusly create the binary.

This is the makefile.inc:

apples-Mac-mini:buildforapple r00t$ apples-Mac-mini:buildforapple r00t$ appl - Pastebin.com

this is the makefile (no extension)

apples-Mac-mini:buildforapple r00t$ apples-Mac-mini:buildforapple r00t$ appl - Pastebin.com

Can someone help? (Please don’t suggest upgrading the OS, nor buying a new mac)

First Post!

bot

bot

Corresponding tweet for this thread:

Share link for this tweet.

Popular Game Dev topics Top

AstonJ
This was on the UK Dragons Den and I thought it was a neat use of existing technology (Playstation 3 camera which you can buy for about £...
New
AstonJ
This post by @Paradox927 and all the excitement in this thread got me thinking - what kind of game would you make if you got into it?
New
New
New
First poster: bot
Behind the beautiful imagery of the latest animated movie and the realistic environments of popular videogames lie some mysterious algori...
New
AstonJ
Pretty incredible - and I think it gives a good glimpse of what the next gen (PS6 etc) will be able to pull off with ease: ...
New
First poster: CoddyG
Free and open source 2D and 3D game engine. Godot provides a huge set of common tools, so you can just focus on making your game without...
New
Norpoleon
Team JethKo - Knee Deep is a detective adventure with role-playing elements & turn-based combat. What started as a small project tur...
New
Intelligent_Chip_641
I published a game with AdMob monetization back in November, and I was making $35 per day. However, two days ago, I received a notificati...
New
grlnwrld
Founder, Barcelonam Spain I am looking for web game devs with experience in Javascript / React and backend (Dynamo/GraphQL) for a Gamifi...
New

Other popular topics Top

Devtalk
Hello Devtalk World! Please let us know a little about who you are and where you’re from :nerd_face:
New
AstonJ
A thread that every forum needs! Simply post a link to a track on YouTube (or SoundCloud or Vimeo amongst others!) on a separate line an...
New
wolf4earth
@AstonJ prompted me to open this topic after I mentioned in the lockdown thread how I started to do a lot more for my fitness. https://f...
New
AstonJ
SpaceVim seems to be gaining in features and popularity and I just wondered how it compares with SpaceMacs in 2020 - anyone have any thou...
New
Rainer
My first contact with Erlang was about 2 years ago when I used RabbitMQ, which is written in Erlang, for my job. This made me curious and...
New
AstonJ
We have a thread about the keyboards we have, but what about nice keyboards we come across that we want? If you have seen any that look n...
New
foxtrottwist
Here’s our thread for the Keyboardio Atreus. It is a mechanical keyboard based on and a slight update of the original Atreus (Keyboardio ...
New
PragmaticBookshelf
Learn different ways of writing concurrent code in Elixir and increase your application's performance, without sacrificing scalability or...
New
AstonJ
Continuing the discussion from Thinking about learning Crystal, let’s discuss - I was wondering which languages don’t GC - maybe we can c...
New
AstonJ
Was just curious to see if any were around, found this one: I got 51/100: Not sure if it was meant to buy I am sure at times the b...
New

Latest in Game Dev

View all threads ❯