[Freeswitch-users] Compile error fscomm?

Lars Zeb larclap at yahoo.com
Sun Jan 10 18:25:00 PST 2010


After realizing I need to build FreeSWITCH, which builds FreeSwitchCore.lib,
I then open fscomm and build it after setting the dependency. Now I get
these messages, which is really strange since the configuration for each
FreeSWITCH and fscomm is set to Debug. The missing files are in .\debug.
What am I missing?

 

Error  1      fatal error C1083: Cannot open source file:
'.\release\qrc_resources.cpp': No such file or directory     c1xx   FSComm

Error  2      fatal error C1083: Cannot open source file:
'.\release\moc_prefsofia.cpp': No such file or directory     c1xx   FSComm

Error  3      fatal error C1083: Cannot open source file:
'.\release\moc_prefportaudio.cpp': No such file or directory  c1xx   FSComm

Error  4      fatal error C1083: Cannot open source file:
'.\release\moc_prefdialog.cpp': No such file or directory     c1xx   FSComm

Error  5      fatal error C1083: Cannot open source file:
'.\release\moc_mainwindow.cpp': No such file or directory     c1xx   FSComm

Error  6      fatal error C1083: Cannot open source file:
'.\release\moc_fshost.cpp': No such file or directory     c1xx   FSComm

Error  7      fatal error C1083: Cannot open source file:
'.\release\moc_accountdialog.cpp': No such file or directory  c1xx   FSComm

 

From: freeswitch-users-bounces at lists.freeswitch.org
[mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Jeff
Lenk
Sent: Sunday, January 10, 2010 2:16 PM
To: freeswitch-users at lists.freeswitch.org
Subject: Re: [Freeswitch-users] Compile error fscomm?

 

you must also add FreeSwitchCoreLib as a dependency of FSComm
 
please update http://wiki.freeswitch.org/wiki/FSComm with any additional
information you found helpful

 

  _____  

From: larclap at yahoo.com
To: freeswitch-users at lists.freeswitch.org
Date: Sun, 10 Jan 2010 13:45:59 -0800
Subject: Re: [Freeswitch-users] Compile error fscomm?

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 at 0 referenced in function "public: __thiscall
FSHost::FSHost(class QObject *)" (??0FSHost@@QAE at PAVQObject@@@Z)
fshost.obj       FSComm

Error  2      error LNK2019: unresolved external symbol
__imp__switch_core_setrlimits at 0 referenced in function "public: __thiscall
FSHost::FSHost(class QObject *)" (??0FSHost@@QAE at PAVQObject@@@Z)
fshost.obj       FSComm

Error  3      error LNK2019: unresolved external symbol
__imp__switch_core_destroy at 0 referenced in function "protected: virtual void
__thiscall FSHost::run(void)" (?run at FSHost@@MAEXXZ)      fshost.obj
FSComm

Error  4      error LNK2019: unresolved external symbol
__imp__switch_event_unbind_callback at 4 referenced in function "protected:
virtual void __thiscall FSHost::run(void)" (?run at FSHost@@MAEXXZ)
fshost.obj       FSComm

Error  5      error LNK2019: unresolved external symbol
__imp__switch_core_runtime_loop at 4 referenced in function "protected: virtual
void __thiscall FSHost::run(void)" (?run at FSHost@@MAEXXZ)    fshost.obj
FSComm

Error  6      error LNK2019: unresolved external symbol
__imp__switch_core_init_and_modload at 12 referenced in function "protected:
virtual void __thiscall FSHost::run(void)" (?run at 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 at 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 at 20 referenced in function "protected: virtual void
__thiscall FSHost::run(void)" (?run at FSHost@@MAEXXZ)      fshost.obj
FSComm

Error  11     error LNK2019: unresolved external symbol
__imp__switch_core_init at 12 referenced in function "protected: virtual void
__thiscall FSHost::run(void)" (?run at 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 at 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 at 4 referenced in function "private: enum
switch_status_t __thiscall FSHost::processAlegEvent(struct switch_event
*,class QString)"
(?processAlegEvent at FSHost@@AAE?AW4switch_status_t@@PAUswitch_event@@VQString
@@@Z) fshost.obj    FSComm

Error  15     error LNK2019: unresolved external symbol
__imp__switch_event_get_header at 8 referenced in function "private: enum
switch_status_t __thiscall FSHost::processAlegEvent(struct switch_event
*,class QString)"
(?processAlegEvent at FSHost@@AAE?AW4switch_status_t@@PAUswitch_event@@VQString
@@@Z)     fshost.obj       FSComm

Error  16     error LNK2019: unresolved external symbol
__imp__switch_api_execute at 16 referenced in function "public: enum
switch_status_t __thiscall FSHost::sendCmd(char const *,char const *,class
QString *)" (?sendCmd at 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 at 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 at FSHost@@QAE?AW4switch_status_t@@PBD0PAVQString@@@Z)
fshost.obj    FSComm

Error  19     error LNK2019: unresolved external symbol
__imp__switch_xml_parse_str at 8 referenced in function "public: struct
switch_xml * __thiscall XMLBinding::getConfigXML(class QString)"
(?getConfigXML at XMLBinding@@QAEPAUswitch_xml@@VQString@@@Z)
mod_qsettings.obj    FSComm

Error  20     error LNK2019: unresolved external symbol
__imp__switch_event_expand_headers at 8 referenced in function "public: struct
switch_xml * __thiscall XMLBinding::getConfigXML(class QString)"
(?getConfigXML at XMLBinding@@QAEPAUswitch_xml@@VQString@@@Z)
mod_qsettings.obj    FSComm

Error  21     error LNK2019: unresolved external symbol
__imp__switch_event_add_header_string at 16 referenced in function "public:
struct switch_xml * __thiscall XMLBinding::getConfigXML(class QString)"
(?getConfigXML at XMLBinding@@QAEPAUswitch_xml@@VQString@@@Z)
mod_qsettings.obj    FSComm

Error  22     error LNK2019: unresolved external symbol
__imp__switch_event_create_subclass_detailed at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 16 referenced in function "public: void
__thiscall PrefSofia::readConfig(void)" (?readConfig at PrefSofia@@QAEXXZ)
prefsofia.obj FSComm

Error  30     fatal error LNK1120: 27 unresolved externals
debug\FSComm.exe     FSComm

 

From: freeswitch-users-bounces at lists.freeswitch.org
[mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Jeff
Lenk
Sent: Thursday, January 07, 2010 7:17 PM
To: freeswitch-users at 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 at freeswitch.org
To: freeswitch-users at 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 at 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 at lists.freeswitch.org
[mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Michael
Collins
Sent: Thursday, January 07, 2010 2:36 PM
To: freeswitch-users at lists.freeswitch.org
Subject: Re: [Freeswitch-users] Compile error fscomm?

 

 

On Thu, Jan 7, 2010 at 2:15 PM, Lars Zeb <larclap at 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 at 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.
<http://clk.atdmt.com/GBL/go/196390709/direct/01/> 

 

  _____  

Your E-mail and More On-the-Go. Get Windows Live Hotmail Free. Sign up
<http://clk.atdmt.com/GBL/go/196390709/direct/01/>  now.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100110/087477f3/attachment-0002.html 


More information about the FreeSWITCH-users mailing list