About Store Forum Documentation Contact



Post Reply 
Mac Undefined Symbols i386
Author Message
luigiman_13 Offline
Member

Post: #1
Mac Undefined Symbols i386
Hello,

I am relatively new to the Esenthel Engine and i am getting the hang of it quite well. Yet, i am recieving an error when i try to compile a program. The error is "Undefined symbol for architecture i386;" I have not made many alterations to the basic files so I am not understanding why i get an error so early in the process. Any help would be greatly be appreciated. smile
11-21-2014 10:25 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #2
RE: Mac Undefined Symbols i386
Hello and welcome to the forum! smile

Could you try compiling for x86_64 (64-bit) platform?
I think only 64-bit version is supported for Mac/Linux at the moment. (Windows has both 32-64 bits).
11-22-2014 03:50 AM
Find all posts by this user Quote this message in a reply
luigiman_13 Offline
Member

Post: #3
RE: Mac Undefined Symbols i386
So sorry for the late reply.

Not sure if I did it right but i removed I386 from list of valid architectures. I get this error code.

"No architectures to compile for (ARCHS=i386, VALID_ARCHS=x86_64)."

EDIT: And i almost get this warning no matter what i do.

"ld: warning: ignoring file /Users/96codcar25991/VideoGame/Esenthel/Bin/EsenthelEngine.a, file was built for archive which is not the architecture being linked (i386): /Users/96codcar25991/VideoGame/Esenthel/Bin/EsenthelEngine.a"
(This post was last modified: 12-01-2014 08:06 PM by luigiman_13.)
12-01-2014 08:00 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #4
RE: Mac Undefined Symbols i386
Hello!

Perhaps your Mac OS is 32-bit?
Please try installing Mac OS 64-bit version.
12-02-2014 12:27 AM
Find all posts by this user Quote this message in a reply
luigiman_13 Offline
Member

Post: #5
RE: Mac Undefined Symbols i386
The Mac has an intel i5 which i think means it is running a 64 bit os.
12-04-2014 09:44 PM
Find all posts by this user Quote this message in a reply
Seba Offline
Member

Post: #6
RE: Mac Undefined Symbols i386
For what device you build application?
12-04-2014 10:45 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #7
RE: Mac Undefined Symbols i386
Having a 64 bit CPU is not enough - you still can have only 32 bit OS installed, limiting your cpu to 32 bits only.
12-05-2014 01:01 AM
Find all posts by this user Quote this message in a reply
Post Reply