|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
followup on "building issue with TnFox 0.86"Ok, found the problem,
apparantly CopyCursor is a macro that is defined by winuser.h, so including winuser.h will result in this compilation problem. Renaming all references to CopyCursor from CopyCursor to TnCopyCursor for example, resolved the problem. David De Weerdt ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Tnfox-discussion mailing list Tnfox-discussion@... https://lists.sourceforge.net/lists/listinfo/tnfox-discussion |
|
|
Re: followup on>
> Ok, found the problem, > > apparantly CopyCursor is a macro that is defined by winuser.h, so > including winuser.h will result in this compilation problem. Renaming > all references to CopyCursor from CopyCursor to TnCopyCursor for > example, resolved the problem. > > David De Weerdt Compilation went fine now, but now I am unable to link: FXColorWheel.obj : error LNK2005: "private: int __thiscall FX::FXAtomicInt::get(void)const " (?get@FXAtomicInt@FX@@ABEHXZ) already defined in FXApp.obj FXColorWheel.obj : error LNK2005: "public: __thiscall FX::FXAtomicInt::operator int(void)const " (??BFXAtomicInt@FX@@QBEHXZ) already defined in FXApp.obj FXColorWheel.obj : error LNK2005: "private: int __thiscall FX::FXAtomicInt::set(int)" (?set@FXAtomicInt@FX@@AAEHH@Z) already defined in FXApp.obj FXColorWheel.obj : error LNK2005: "public: int __thiscall FX::FXAtomicInt::operator=(int)" (??4FXAtomicInt@FX@@QAEHH@Z) already defined in FXApp.obj FXColorWheel.obj : error LNK2005: "private: int __thiscall FX::FXAtomicInt::incp(void)" (?incp@FXAtomicInt@FX@@AAEHXZ) already defined in FXApp.obj FXColorWheel.obj : error LNK2005: "public: int __thiscall FX::FXAtomicInt::operator++(int)" (??EFXAtomicInt@FX@@QAEHH@Z) already defined in FXApp.obj FXColorWheel.obj : error LNK2005: "private: int __thiscall FX::FXAtomicInt::pinc(void)" (?pinc@FXAtomicInt@FX@@AAEHXZ) already defined in FXApp.obj FXColorWheel.obj : error LNK2005: "public: int __thiscall FX::FXAtomicInt::operator++(void)" (??EFXAtomicInt@FX@@QAEHXZ) already defined in FXApp.obj FXColorWheel.obj : error LNK2005: "private: int __thiscall FX::FXAtomicInt::finc(void)" (?finc@FXAtomicInt@FX@@AAEHXZ) already defined in FXApp.obj ... I get this for a lot of files, always the symbol already seems to be defined in FXApp.obj, even for TnFXApp.obj I get this problem. Am I alone with this problem? :-) David De Weerdt ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Tnfox-discussion mailing list Tnfox-discussion@... https://lists.sourceforge.net/lists/listinfo/tnfox-discussion |
|
|
Re: Re: followup onOn 5 May 2006 at 10:36, David De Weerdt wrote:
> > Ok, found the problem, > > > > apparantly CopyCursor is a macro that is defined by winuser.h, so > > including winuser.h will result in this compilation problem. Renaming > > all references to CopyCursor from CopyCursor to TnCopyCursor for > > example, resolved the problem. How wonderful of Microsoft! :( I'll commit a fix to SVN, but in the meantime your problems appear to be caused by defining FXINLINE_MUTEX_IMPLEMENTATION. If you can wait to tomorrow I'll have a full fix in SVN as I don't think it's ever been tested on msvc8. Until then, best undefine it! Cheers, Niall ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Tnfox-discussion mailing list Tnfox-discussion@... https://lists.sourceforge.net/lists/listinfo/tnfox-discussion |
|
|
Re: Re: followup onOn 5 May 2006 at 10:36, David De Weerdt wrote:
> > apparantly CopyCursor is a macro that is defined by winuser.h, so > > including winuser.h will result in this compilation problem. Renaming > > all references to CopyCursor from CopyCursor to TnCopyCursor for > > example, resolved the problem. I have committed fixes to SVN at http://svn.berlios.de/viewcvs/tnfox/. Cheers, Niall ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Tnfox-discussion mailing list Tnfox-discussion@... https://lists.sourceforge.net/lists/listinfo/tnfox-discussion |
| Free embeddable forum powered by Nabble | Forum Help |