Re: Fwd: Compiling torcs on mac lion

Bernhard Wymann <[email protected]> Thu, 16 Feb 2012 14:49:55 +0100
Newsgroups gmane.games.torcs.devel
Organization wytec
Message-ID <[email protected]>
Hi Tobias

Hmm, no idea. But here some pointers:

- Did you run ./configure to set up everything (does this exist on Mac 
OS X)?
- With ./configure you can use --prefix=/home/you/torcs_bin to have 
everything "local" without polluting your system.
- Maybe the linker cannot find the libs during the build, does something 
like LD_LIBRARY_PATH exist on the mac, then you could try setting this 
according my description http://berniw.org/torcs/install/torcs-setup.html.

Somebody out there has set up an xcode project for 1.3.1, maybe you want 
try this:
https://github.com/camillol/MacTorcs

I am interested in updating/integrating this later into the standard 
package, so in case you got this working let me know about your experience.

Best regards

Bernhard

On 02/16/2012 12:49 PM, Tobias Siems wrote:
>> Hi, I'm on my way to make a build of torcs on mac lion x86_64. I
>> ripped down plibsl to make a build without sound.
>>
>> It should be a 64bit build.
>>
>> Im running into problems now:
>>
>> ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>>
>> g++ -shared -o libconfscreens.so controlconfig.o graphconfig.o
>> mouseconfig.o driverconfig.o joystickconfig.o simuconfig.o
>> soundconfig.o openglconfig.o
>> -L/Users/siems/trash/torcs-1.3.2/export/lib -L/opt/local/lib
>> -lvorbisfile -L/usr/lib -lplibjs
>> Undefined symbols for architecture x86_64:
>> "GfuiMenuScreenCreate(char const*)", referenced from:
>> GraphMenuInit(void*) in graphconfig.o
>> "GfuiGrButtonCreate(void*, char const*, char const*, char const*, char
>> const*, int, int, int, int, void*, void (*)(void*), void*, void
>> (*)(void*), void (*)(void*))", referenced from:
>> GraphMenuInit(void*) in graphconfig.o
>> TorcsDriverMenuInit(void*) in driverconfig.o
>> SimuMenuInit(void*) in simuconfig.o
>> SoundMenuInit(void*) in soundconfig.o
>> OpenGLMenuInit(void*) in openglconfig.o
>> "GfuiLabelSetColor(void*, int, float*)", referenced from:
>> GraphMenuInit(void*) in graphconfig.o
>> TorcsDriverMenuInit(void*) in driverconfig.o
>> SimuMenuInit(void*) in simuconfig.o
>> SoundMenuInit(void*) in soundconfig.o
>> OpenGLMenuInit(void*) in openglconfig.o
>> "GfParmReleaseHandle(void*)", referenced from:
>> GraphMenuInit(void*) in graphconfig.o
>> SaveGraphicOptions(void*) in graphconfig.o
>> GenCarsInfo() in driverconfig.o
>> GenDrvList() in driverconfig.o
>> SaveDrvList(void*) in driverconfig.o
>> ReadSimuCfg() in simuconfig.o
>> SaveSimuVersion(void*) in simuconfig.o
>> ...
>> "GfuiLabelSetText(void*, int, char const*)", referenced from:
>> changeWheelDetailState(void*) in graphconfig.o
>> onActivate2(void*) in mouseconfig.o
>> Idle2() in mouseconfig.o
>> refreshEditVal() in driverconfig.o
>>
>> ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>>
>> I can find these Symbols in for example
>> src/libs/tgfclient/screen.cpp
>>
>> but there is no lib compiled already, which i could link. executing
>> make in src/libs ends with:
>>
>> make: *** No targets. Stop.
>>
>> any ideas?
>
>> greets Tobias
>
>
>
> ------------------------------------------------------------------------------
> Virtualization&  Cloud Management Using Capacity Planning
> Cloud computing makes use of virtualization - but cloud computing
> also focuses on allowing computing to be delivered as a service.
> http://www.accelacomm.com/jaw/sfnl/114/51521223/
>
>
>
> _______________________________________________
> Torcs-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/torcs-devel


------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/