Picon
Favicon
Gravatar

Re: Symbol not found: _TclFreeObj on 64-bit builds


On Jan 30, 2012, at 3:01 PM, Michael Schlenker wrote:

> 
> Am 30.01.2012 um 05:14 schrieb Hans-Christoph Steiner:
> 
>> 
>> We have an odd error in our app Pd-extended.  Its a media programming environment that we recently added
the ability to write objects in Tcl.  This is done using swig to wrap the Pd C API for Tcl.  That's working
great, but we have this odd error:
>> 
>> On 32-bit builds, everything works fine, they are currently built on 10.5.8 and seem to run fine on 10.5 -
10.7.  For the 64-bit builds, when the 'tclpd' library is loaded, it throws this error:
>> 
>> Symbol not found: _TclFreeObj
>> 
>> The 64-bit builds are built on 10.6.8 and I'm running it on 10.6.8.  Both of these apps are using a custom
build of plain vanilla Tcl/Tk 8.5.10.
> 
> TclFreeObj() should be an internal symbol from the name, which is only exposed due to the Tcl_DecRefCount
macro, but is actually defined in the Stubs Table slot 30, so it should be visible for a stubs enabled build
at least.
> 
> Are you using stubs or linking directly?
> 
> Michael

I don't quite understand the question.  So tclpd.pd_darwin is a bundle/plugin that is linking to the Tcl
framework using "-framework Tcl"  That Tcl 8.5.10 framework is built using:

(Continue reading)

Picon
Favicon
Gravatar

Symbol not found: _TclFreeObj on 64-bit builds


We have an odd error in our app Pd-extended.  Its a media programming environment that we recently added the
ability to write objects in Tcl.  This is done using swig to wrap the Pd C API for Tcl.  That's working great,
but we have this odd error:

On 32-bit builds, everything works fine, they are currently built on 10.5.8 and seem to run fine on 10.5 -
10.7.  For the 64-bit builds, when the 'tclpd' library is loaded, it throws this error:

Symbol not found: _TclFreeObj

The 64-bit builds are built on 10.6.8 and I'm running it on 10.6.8.  Both of these apps are using a custom build
of plain vanilla Tcl/Tk 8.5.10.

.hc

----------------------------------------------------------------------------

"[T]he greatest purveyor of violence in the world today [is] my own government." - Martin Luther King, Jr.

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
xi0n0ix | 25 Oct 15:56
Picon
Favicon
Gravatar

kCGErrorIllegalArgument: CGSRegisterCursorWithImages


Hello,

I am contributing to an application being developed which is being
re-written from tk/tcl -> tk/cocoa.

I am receiving this error:

 kCGErrorIllegalArgument: CGSRegisterCursorWithImages: Invalid hot spot
 (outside of size)

I am wondering if this error is familiar to anyone or if I can be pointed in
the right direction. Google reveals next to nothing for this error.

Thanks
x
--

-- 
View this message in context: http://old.nabble.com/kCGErrorIllegalArgument%3A-CGSRegisterCursorWithImages-tp32717573p32717573.html
Sent from the tcl-mac mailing list archive at Nabble.com.

------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning <at> Cisco Self-Assessment and learn 
about Cisco certifications, training, and career opportunities. 
http://p.sf.net/sfu/cisco-dev2dev
Kevin Walzer | 20 Oct 16:15
Favicon

Growl and Tcl

Hi all,

I'm posting this here because a few of the list members make use of the 
Growl notification system (http://growl.info) in their apps.

Growl has just released a new version that makes significant changes in 
its API--these changes are for compatibility with Mac App Store 
requirements and also to put the system on firmer developmental footing 
moving forward. Unfortunately, these changes also break many of the 
third-party language bindings for Growl.

I've been informally maintaining two separate Tcl-Growl integration 
packages--one, macgrowl, is of my own creation and is a Tcl wrapper for 
Growl's AppleScript interface. The other, tclgrowl, was a "native" 
Objective-C library developed by the Growl team itself but was largely 
abandoned (I cobbled a TEA-compliant package out of it and host it at my 
SVN repo at SF). Neither package works with the new version of Growl.

Since many of my commercial Tcl/Tk apps support Growl, I'm going to be 
putting together some sort of new package for Growl integration with 
Tcl, but I haven't yet decided how to proceed. Growl's "native" 
notification system uses a new network protocol that is completely 
incompatible with the old system. Its new AppleScript API requires fewer 
changes, but may not play nice with Apple's new "sandboxing" 
requirements in Lion and the Mac App Store.

I don't yet have a timeline for implementing a new Growl package; it 
partly depends on how much work will be involved. I've asked the Growl 
team for some guidance on this. In the meantime, once I do have 
something ready, it will be released open-source somewhere, and I'll 
(Continue reading)

Kevin Walzer | 17 Oct 02:51
Favicon

snackAmp for OS X

Hi all,

I've scratched a long-standing personal itch by porting snackAmp to OS 
X. SnackAmp is a multi-platform music player with normal music player 
abilities, multi-user support, integrated web server, and a powerful 
AutoPlaylist feature.

snackAmp for OS X is based on the original snackAmp by Tom Wilkason at 
http://snackamp.sourceforge.net/. The Mac version incorporates some 
enhancements to make the program a good Mac OS X citizen. It requires 
Mac OS X 10.7 (Lion) to run.

snackAmp is licensed under the GPL. The snackAmp application is deployed 
as a standard Mac application bundle, and the source code is included in 
the bundle (snackAmp.app/MacOS/snackAmp.vfs).

Here's a link to the download page:

http://www.codebykevin.com/opensource/snackamp.html

Enjoy!

--Kevin
--

-- 
Kevin Walzer
Code by Kevin
http://www.codebykevin.com

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
(Continue reading)

Kevin Walzer | 17 Oct 02:50
Favicon

snackAmp for OS X

Hi all,

I've scratched a long-standing personal itch by porting snackAmp to OS 
X. SnackAmp is a multi-platform music player with normal music player 
abilities, multi-user support, integrated web server, and a powerful 
AutoPlaylist feature.

snackAmp for OS X is based on the original snackAmp by Tom Wilkason at 
http://snackamp.sourceforge.net/. The Mac version incorporates some 
enhancements to make the program a good Mac OS X citizen. It requires 
Mac OS X 10.7 (Lion) to run.

snackAmp is licensed under the GPL. The snackAmp application is deployed 
as a standard Mac application bundle, and the source code is included in 
the bundle (snackAmp.app/MacOS/snackAmp.vfs).

Here's a link to the download page:

http://www.codebykevin.com/opensource/snackamp.html

Enjoy!

--Kevin
--

-- 
Kevin Walzer
Code by Kevin
http://www.codebykevin.com

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
(Continue reading)

daneyul | 30 Sep 19:19
Favicon

Universal Binary, Embedded 8.5.9 Wish possible?


Hi,

Having trouble creating a Universal Binary embedded build.  I've tried on
multiple Macs w/multiple versions of OSX (Leopard, Snow Leopard).
While it builds with no errors on Leopard, I get either an intel binary, or
a ppc one, depending on my system.

Below is an example of my environment on an intel OSX 10.5.8 (intel)
computer that stubbornly only will create an Intel Wish binary.

Specs:
tcl/tk 8.5.9
Xcode 3.0
OSX 10.5.8
Intel Core 2 Duo

sh-3.2# pwd
/Users/danielb/desktop/tcl

sh-3.2# ls
tcl8.5.9	tk8.5.9

sh-3.2# ver="8.5.9"

sh-3.2# export CFLAGS="-arch ppc -arch i386 -isysroot /Developer/SDKs/
MacOSX10.4u.sdk -mmacosx-version-min=10.4"

sh-3.2# sudo make -C tcl${ver}/macosx embedded

(Continue reading)

Luc MOULINIER | 12 Sep 17:53
Picon
Favicon

Tk with Xft enabled ...

Hello all !

I'm porting my Tcl/Tk app on a mac. This is my first attempt to develop on a Mac, so sorry if my questions are naives.
First of all, I must use a 8.6 X11 Tcl/Tk version, which uses Xft. When compiling Tk, the --enable-xft flag is
set, but configure reports an error as it can't find the Xft.h header file. This file exists, in
/usr/include/X11/Xft/, as on a normal unix platform, but it isn't seen by the system header path.
I'm working with Mac OSX 10.5.8, XCode 3.1.

Is it possible to build a Xft enabled Tk ? And if so, how do I add /usr/include/X11/Xft/ to the system headers
path ?

Many thanks in advance !!
Luc

----------------------------------------------------------------
Dr. Luc Moulinier,
Laboratoire de Biologie et Génomique Intégratives
IGBMC
1, rue Laurent Fries
67 404 ILLKIRCH Cedex
Phone : +33 (0)3 88 65 32 79
----------------------------------------------------------------
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
Alexander Agathos | 2 Sep 12:21
Picon

TkMacOSXDrawbableWindow problem

Hi,

I am working on a code that has TkMacOSXDrawbableWindowRef, this function is no longer supported in TCL/TK
8.5.9 Cocoa should I replace it with TkMacOSXDrawbableWindow? I have tried this and the linker can't find
it and returns an error. I have tried recompiling the Cocoa based TCL/TK 8.5.9 with no luck the function
can't be found. What should I do?

Cheers,
Alexander.
------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
Ned Deily | 16 Aug 02:49
Picon
Favicon
Gravatar

Dvorak - Qwerty input method?

Has anyone had any experience using Aqua Tk (either Carbon or Cocoa) 
with the Mac OS X Dvorak - Qwerty Cmd input method.  (See System 
Preferences -> Language & Text -> Input Sources).  The idea behind it is 
to have a Dvorak keyboard layout except when the Command key is pressed 
(as when using keyboard accelerators): then the keyboard reverts to a 
standard Qwerty layout.  I had never run into it before until someone 
submitted this Python issue:

    http://bugs.python.org/issue12748

As I noted in the issue, I'm really not keen on tracking this down 
further myself at the moment but I thought I'd bring it up here in (1) 
to see if anyone else had any experience using this input method with Tk 
apps (in particular, with text processing and keyboard menu 
accelerators) and (2) to bring it to the attention of anyone who might 
want to look into it sometime.

Thanks.

--

-- 
 Ned Deily,
 nad@...

------------------------------------------------------------------------------
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
Andreas Kupries | 5 Aug 22:59
Picon

3rd Call For Papers, 18th Annual Tcl/Tk Conference 2011

[[
    Get your papers in.

    The deadline for abstracts and proposals is
    three weeks away.
]]

18th Annual Tcl/Tk Conference (Tcl'2011)
http://www.tcl.tk/community/tcl2011/

October 24 - 28, 2011
Comfort Suites Manassas

Manassas, Virgina, USA

Important Dates:

Abstracts and proposals due   August  26, 2011
Notification to authors       September 12, 2011
WIP and BOF reservations open August   1, 2011
Author materials due          October  9, 2011
Tutorials Start               October 24, 2011
Conference starts             October 26, 2011

Email Contact:                tclconference@...

Submission of Summaries

Tcl/Tk 2011 will be held in Manassas, Virgina, USA from
October 24 - 28, 2011. The program committee is asking for papers and
(Continue reading)


Gmane