Jeff,
I downloaded and install QT as you suggested, and created an
environmental variable QTDIR as C:\Qt\4.6.0 (the installation directory).
I then downloaded FreeSWITCH source via svn (v16230) and built
it successfully. I then opened the FSCOMM project within the FreeSWITCH directory
and attempted to build it. It failed with the messages below. Any ideas on what
I might have done wrong? The environment is Windows 7/64.
Error 1 error LNK2019: unresolved external symbol
__imp__switch_core_set_globals@0 referenced in function "public:
__thiscall FSHost::FSHost(class QObject *)"
(??0FSHost@@QAE@PAVQObject@@@Z) fshost.obj FSComm
Error 2 error LNK2019: unresolved external symbol
__imp__switch_core_setrlimits@0 referenced in function "public: __thiscall
FSHost::FSHost(class QObject *)" (??0FSHost@@QAE@PAVQObject@@@Z) fshost.obj FSComm
Error 3 error LNK2019: unresolved external symbol
__imp__switch_core_destroy@0 referenced in function "protected: virtual
void __thiscall FSHost::run(void)" (?run@FSHost@@MAEXXZ) fshost.obj FSComm
Error 4 error LNK2019: unresolved external symbol
__imp__switch_event_unbind_callback@4 referenced in function "protected:
virtual void __thiscall FSHost::run(void)" (?run@FSHost@@MAEXXZ) fshost.obj FSComm
Error 5 error LNK2019: unresolved external symbol
__imp__switch_core_runtime_loop@4 referenced in function "protected:
virtual void __thiscall FSHost::run(void)" (?run@FSHost@@MAEXXZ) fshost.obj FSComm
Error 6 error LNK2019: unresolved external symbol
__imp__switch_core_init_and_modload@12 referenced in function "protected:
virtual void __thiscall FSHost::run(void)" (?run@FSHost@@MAEXXZ) fshost.obj FSComm
Error 7 error LNK2019: unresolved external symbol
__imp__switch_log_printf referenced in function "protected: virtual void
__thiscall FSHost::run(void)" (?run@FSHost@@MAEXXZ) fshost.obj FSComm
Error 8 error LNK2001: unresolved external symbol
__imp__switch_log_printf mod_qsettings.obj FSComm
Error 9 error LNK2001: unresolved external symbol
__imp__switch_log_printf prefportaudio.obj FSComm
Error 10 error LNK2019: unresolved external symbol
__imp__switch_event_bind@20 referenced in function "protected: virtual
void __thiscall FSHost::run(void)" (?run@FSHost@@MAEXXZ) fshost.obj FSComm
Error 11 error LNK2019: unresolved external symbol __imp__switch_core_init@12
referenced in function "protected: virtual void __thiscall
FSHost::run(void)" (?run@FSHost@@MAEXXZ) fshost.obj FSComm
Error 12 error LNK2001: unresolved external symbol
__imp__SWITCH_GLOBAL_dirs fshost.obj FSComm
Error 13 error LNK2019: unresolved external symbol
__imp__switch_event_dup@8 referenced in function "void __cdecl
eventHandlerCallback(struct switch_event *)"
(?eventHandlerCallback@@YAXPAUswitch_event@@@Z) fshost.obj FSComm
Error 14 error LNK2019: unresolved external symbol __imp__switch_event_name@4
referenced in function "private: enum switch_status_t __thiscall
FSHost::processAlegEvent(struct switch_event *,class QString)"
(?processAlegEvent@FSHost@@AAE?AW4switch_status_t@@PAUswitch_event@@VQString@@@Z) fshost.obj FSComm
Error 15 error LNK2019: unresolved external symbol
__imp__switch_event_get_header@8 referenced in function "private: enum
switch_status_t __thiscall FSHost::processAlegEvent(struct switch_event *,class
QString)" (?processAlegEvent@FSHost@@AAE?AW4switch_status_t@@PAUswitch_event@@VQString@@@Z) fshost.obj FSComm
Error 16 error LNK2019: unresolved external symbol
__imp__switch_api_execute@16 referenced in function "public: enum
switch_status_t __thiscall FSHost::sendCmd(char const *,char const *,class
QString *)" (?sendCmd@FSHost@@QAE?AW4switch_status_t@@PBD0PAVQString@@@Z) fshost.obj FSComm
Error 17 error LNK2019: unresolved external symbol
__imp__switch_console_stream_raw_write referenced in function "public:
enum switch_status_t __thiscall FSHost::sendCmd(char const *,char const *,class
QString *)" (?sendCmd@FSHost@@QAE?AW4switch_status_t@@PBD0PAVQString@@@Z) fshost.obj FSComm
Error 18 error LNK2019: unresolved external symbol
__imp__switch_console_stream_write referenced in function "public: enum
switch_status_t __thiscall FSHost::sendCmd(char const *,char const *,class
QString *)" (?sendCmd@FSHost@@QAE?AW4switch_status_t@@PBD0PAVQString@@@Z) fshost.obj FSComm
Error 19 error LNK2019: unresolved external symbol
__imp__switch_xml_parse_str@8 referenced in function "public: struct
switch_xml * __thiscall XMLBinding::getConfigXML(class QString)"
(?getConfigXML@XMLBinding@@QAEPAUswitch_xml@@VQString@@@Z) mod_qsettings.obj FSComm
Error 20 error LNK2019: unresolved external symbol
__imp__switch_event_expand_headers@8 referenced in function "public:
struct switch_xml * __thiscall XMLBinding::getConfigXML(class QString)"
(?getConfigXML@XMLBinding@@QAEPAUswitch_xml@@VQString@@@Z) mod_qsettings.obj FSComm
Error 21 error LNK2019: unresolved external symbol
__imp__switch_event_add_header_string@16 referenced in function "public:
struct switch_xml * __thiscall XMLBinding::getConfigXML(class QString)"
(?getConfigXML@XMLBinding@@QAEPAUswitch_xml@@VQString@@@Z) mod_qsettings.obj FSComm
Error 22 error LNK2019: unresolved external symbol
__imp__switch_event_create_subclass_detailed@24 referenced in function
_switch_event_create_plain mod_qsettings.obj FSComm
Error 23 error LNK2019: unresolved external symbol
__imp__switch_xml_bind_search_function_ret@16 referenced in function "enum
switch_status_t __cdecl do_config(void)"
(?do_config@@YA?AW4switch_status_t@@XZ) mod_qsettings.obj FSComm
Error 24 error LNK2019: unresolved external symbol
__imp__switch_xml_parse_section_string@4 referenced in function "enum
switch_status_t __cdecl do_config(void)"
(?do_config@@YA?AW4switch_status_t@@XZ) mod_qsettings.obj FSComm
Error 25 error LNK2019: unresolved external symbol
__imp__switch_xml_attr_soft@8 referenced in function "enum switch_status_t
__cdecl do_config(void)" (?do_config@@YA?AW4switch_status_t@@XZ) mod_qsettings.obj FSComm
Error 26 error LNK2019: unresolved external symbol
__imp__switch_xml_free@4 referenced in function "enum switch_status_t
__cdecl do_config(void)" (?do_config@@YA?AW4switch_status_t@@XZ) mod_qsettings.obj FSComm
Error 27 error LNK2019: unresolved external symbol
__imp__switch_xml_child@8 referenced in function "enum switch_status_t
__cdecl do_config(void)" (?do_config@@YA?AW4switch_status_t@@XZ) mod_qsettings.obj FSComm
Error 28 error LNK2019: unresolved external symbol __imp__switch_xml_open_cfg@12
referenced in function "enum switch_status_t __cdecl do_config(void)"
(?do_config@@YA?AW4switch_status_t@@XZ) mod_qsettings.obj FSComm
Error 29 error LNK2019: unresolved external symbol
__imp__switch_find_local_ip@16 referenced in function "public: void
__thiscall PrefSofia::readConfig(void)" (?readConfig@PrefSofia@@QAEXXZ) prefsofia.obj FSComm
Error 30 fatal error LNK1120: 27 unresolved externals debug\FSComm.exe FSComm
From: freeswitch-users-bounces@lists.freeswitch.org
[mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Jeff
Lenk
Sent: Thursday, January 07, 2010 7:17 PM
To: freeswitch-users@lists.freeswitch.org
Subject: Re: [Freeswitch-users] Compile error fscomm?
The
windows support is very experimental at this time!
You must manually install http://get.qt.nokia.com/qt/source/qt-win-opensource-4.6.0-vs2008.exe
Then set the environment variable QTDIR in the environment variables. This can
be set from the Computer/Properties/Advanced system settings/Environment
Variables/User Variables settings screen.
QTDIR=c:\qt\4.6.0 - or wherever you installed it
then restart VS
Date:
Thu, 7 Jan 2010 21:45:56 -0200
From: jmesquita@freeswitch.org
To: freeswitch-users@lists.freeswitch.org
Subject: Re: [Freeswitch-users] Compile error fscomm?
I don't have a Windows machine to test that. Maybe jlenk could give us a hand
since he is the one who has created the visual studio project?
Regards,
João Mesquita
FreeSWITCH™ Solutions
t: +1 (646) 4959927
On
Thu, Jan 7, 2010 at 9:11 PM, Lars Zeb <larclap@yahoo.com> wrote:
No Qt installed. I just checked out from
http://svn.freeswitch.org/svn/freeswitch/trunk/fscomm and loaded it into
VS2008.
Do I need to get
http://get.qt.nokia.com/qtsdk/qt-sdk-win-opensource-2009.05.exe ?
From:
freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org]
On Behalf Of Michael Collins
Sent: Thursday, January 07, 2010 2:36 PM
To: freeswitch-users@lists.freeswitch.org
Subject: Re: [Freeswitch-users] Compile error fscomm?
On
Thu, Jan 7, 2010 at 2:15 PM, Lars Zeb <larclap@yahoo.com> wrote:
I
just downloaded the fscomm project and loaded it into vs2008. I’ve never
programmed in C++ (or c), just C#, so I can’t make anything of the following
two messages:
Error
1
error PRJ0019: A tool returned an error code from "RCC
resources.qrc"
FSComm
FSComm
Warning
2
The following environment variables were not found: $(QTDIR)
Project FSComm
Any
suggestions? I do see the file “resources.qrc” in the fscomm folder.
The
environment is Windows 7 64bit & VS2008 (Version 9.0.30729.1 SP)
Lars
Do
you have Qt 4.6 installed?
-MC
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Your
E-mail and More On-the-Go. Get Windows Live Hotmail Free. Sign up
now.