Skip to content

Development

177 Topics 594 Posts

NetXMS development discussion.

  • 0 Votes
    2 Posts
    35k Views
    V
    You need flex version 2.5.33. Probably you have older one. These functions defined in src/libnetxms/crypto.cpp. Did you compile this file as part of libnetxms? Best regards, Victor
  • nxagentd files missing

    Locked windows
    2
    0 Votes
    2 Posts
    43k Views
    V
    Hi! Missing files attached. Best regards, Victor netinfo.cpp service.cpp
  • File missing in netxmsd

    Locked windows
    2
    0 Votes
    2 Posts
    42k Views
    V
    Hi! Missing file attached. Best regards, Victor winsrv.cpp
  • Compilation Error - Windows Environment

    Locked windows
    5
    0 Votes
    5 Posts
    61k Views
    ?
    Thanks for your reply  victor, that was very helpful... Am trying to compile Netxms project using VC6 Express Edition. And these are the errors am facing.... netxms-0.2.22\src\console\nxuilib\inplaceedit.h(70) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int netxms-0.2.22\src\console\nxuilib\inplacecombo.h(65) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int netxms-0.2.22\src\console\win32\nxcon.h(16) : fatal error C1189: #error :  Building NetXMS console without UNICODE support is deprecated Compiling netxms-0.2.22\src\libnxsl\parser.y Compiling netxms-0.2.22\src\libnxsl\parser.l ------ Build started: Project: libnxsrv, Configuration: Debug Win32 ------ Running Message Compiler on netxms-0.2.22\src\server\libnxsrv\messages.mc flex: unknown flag '-'.  For usage, try  flex --help Project : error PRJ0019: A tool returned an error code from "Compiling  netxms-0.2.22\src\libnxsl\parser.l" same error is in "netxms-0.2.22\src\server\core\nxmp_parser.l" file The most important error is "error LNK2019: unresolved external symbol "  - 1758 errors 8>  Creating library .\Debug/libnxmc.lib and object .\Debug/libnxmc.exp 8>wxPieCtrl.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall wxString::~wxString(void)" (__imp_??1wxString@@QAE@XZ) referenced in function "public: void * __thiscall wxString::`vector deleting destructor'(unsigned int)" (??_EwxString@@QAEPAXI@Z) 8>tools.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall wxString::~wxString(void)" (__imp_??1wxString@@QAE@XZ) 8>userSelectionDialog.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall wxString::~wxString(void)" (__imp_??1wxString@@QAE@XZ) 8>view.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall wxString::~wxString(void)" (__imp_??1wxString@@QAE@XZ) 8>viewtracker.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall wxString::~wxString(void)" (__imp_??1wxString@@QAE@XZ) 8>image.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall wxString::~wxString(void)" (__imp_??1wxString@@QAE@XZ) 8>main.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall wxString::~wxString(void)" (__imp_??1wxString@@QAE@XZ) 8>nxview.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall wxString::~wxString(void)" (__imp_??1wxString@@QAE@XZ) 8>objseldlg.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall wxString::~wxString(void)" (__imp_??1wxString@@QAE@XZ) 8>alarms.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall wxString::~wxString(void)" (__imp_??1wxString@@QAE@XZ) 8>events.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall wxString::~wxString(void)" (__imp_??1wxString@@QAE@XZ) I have no idea about these errors and it would be rely nice if someone helps me.... Thanks, Shobha
  • Files missing

    Locked windows
    2
    0 Votes
    2 Posts
    38k Views
    V
    Hi! MSG00001.bin is a file generated by message compiler from messages.mc, so it should be generated during compilation. All other missing files will appear in 0.2.23 release. I suggest you to wait a few days for it. Best regards, Victor
  • inconsistent dll linkage

    Locked windows
    2
    0 Votes
    2 Posts
    43k Views
    V
    Hi! Probably you have not defined LIBNXMAP_EXPORTS in libnxmap project properties. Best regards, Victor
  • Linker error

    Locked windows
    1
    0 Votes
    1 Posts
    35k Views
    A
    Hi Victor, I have got the following linker errors . could u please help me to resolve the same . Thanks in advance..  Creating library Debug\netxms.lib and object Debug\netxms.exp 1>CVTRES : fatal error CVT1100: duplicate resource.  type:XRS, name:101, language:0x0409 1>LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt Regards, Antony Vasanth.
  • Error2 during compilation

    Locked windows
    2
    0 Votes
    2 Posts
    46k Views
    V
    Same problem with mixing files from different versions - 0.2.22 and latest. Best regards, Victor
  • Errors: during compilation

    Locked windows
    2
    0 Votes
    2 Posts
    50k Views
    V
    It's because I post there missing files taken from current branch, not 0.2.22. Try to compile latest 0.2.23-rc or wait a few days for official 0.2.23 release. NetWare subagent intended for Novell NetWare platform - you need Novell SDK and supported compiler (I use GCC) to compile it - it's not intended to be compiled by Visual C++ into Windows executable. nxreport is outdated tool - it may not compile, because nobody actually test it. Strange error, try to add explicit type cast to LPCTSTR. Best regards, Victor
  • Files missing : "AgentParamSelDlg.h","RemoveTemplateDlg.h"

    Locked windows
    2
    0 Votes
    2 Posts
    55k Views
    V
    Missing files. Best regards, Victor AgentParamSelDlg.cpp AgentParamSelDlg.h RemoveTemplateDlg.cpp RemoveTemplateDlg.h
  • Macros not defined

    Locked windows
    2
    0 Votes
    2 Posts
    46k Views
    V
    Looks like same problem: https://www.netxms.org/forum/index.php/topic,522.0.html Best regards, Victor
  • MSG Macro errors

    Locked windows
    2
    0 Votes
    2 Posts
    42k Views
    V
    Hi! Looks like you need to recompile messages.mc. Try to remove messages.h and MSG00001.bin and recompile project. Best regards, Victor
  • 'InternalItemSelDlg.h' --> file not found

    Locked windows
    2
    0 Votes
    2 Posts
    42k Views
    V
    Missing files. Best regards, Victor InternalItemSelDlg.cpp InternalItemSelDlg.h
  • LastValuesPropDlg.h file missing during compilation

    Locked windows
    2
    0 Votes
    2 Posts
    45k Views
    V
    Looks like duplicate bug report, post these files already. Best regards, Victor
  • WinSrvPage.h file missing

    Locked windows
    2
    0 Votes
    2 Posts
    50k Views
    V
    Missing files. Best regards, Victor WinSrvPage.cpp WinSrvPage.h
  • "GroupPropDlg.h" file missing

    Locked windows
    2
    0 Votes
    2 Posts
    45k Views
    V
    Missing files. Best regards, Victor GroupPropDlg.cpp GroupPropDlg.h
  • LastValuesPropDlg.h file missing

    Locked windows
    2
    0 Votes
    2 Posts
    47k Views
    V
    Missing files. Best regards, Victor LastValuesPropDlg.cpp LastValuesPropDlg.h
  • "SaveDesktopDlg.h" file missing

    Locked windows
    2
    0 Votes
    2 Posts
    44k Views
    V
    Missing files. Best regards, Victor SaveDesktopDlg.cpp SaveDesktopDlg.h
  • 0 Votes
    2 Posts
    38k Views
    A
    Hi , I have fixed this error by adding the flag NXCORE_EXPORTS in the project->properties->C\C++\preprocessor--> preprocessor definitions. Regards, Antony vasanth.
  • Typecasting error during compilation

    Locked windows
    1
    0 Votes
    1 Posts
    36k Views
    A
    Hi Victor, I am getting the following typecast error .I have posted the same error which i have obtained here..Kindly please help me to resolve this.. c:\documents and settings\user\desktop\netxms-0.2.22\netxms-0.2.22\src\console\win32\objectbrowser.cpp(118) : error C2440: 'static_cast' : cannot convert from 'void (__thiscall CObjectBrowser::* )(LPNMTREEVIEWA,LRESULT *)' to 'void (__thiscall CCmdTarget::* )(NMHDR *,LRESULT *)' 1>        None of the functions with this name in scope match the target type 1>c:\documents and settings\user\desktop\netxms-0.2.22\netxms-0.2.22\src\console\win32\objectbrowser.cpp(119) : error C2440: 'static_cast' : cannot convert from 'void (__thiscall CObjectBrowser::* )(LPNMTVDISPINFOA,LRESULT *)' to 'void (__thiscall CCmdTarget::* )(NMHDR *,LRESULT *)' 1>        None of the functions with this name in scope match the target type 1>c:\documents and settings\user\desktop\netxms-0.2.22\netxms-0.2.22\src\console\win32\objectbrowser.cpp(120) : error C2440: 'static_cast' : cannot convert from 'void (__thiscall CObjectBrowser::* )(LPNMTREEVIEWA,LRESULT *)' to 'void (__thiscall CCmdTarget::* )(NMHDR *,LRESULT *)' 1>        None of the functions with this name in scope match the target type 1>c:\documents and settings\user\desktop\netxms-0.2.22\netxms-0.2.22\src\console\win32\objectbrowser.cpp(121) : error C2440: 'static_cast' : cannot convert from 'void (__thiscall CObjectBrowser::* )(WPARAM,LPARAM)' to 'LRESULT (__thiscall CWnd::* )(WPARAM,LPARAM)' 1>        None of the functions with this name in scope match the target type 1>c:\documents and settings\user\desktop\netxms-0.2.22\netxms-0.2.22\src\console\win32\objectbrowser.cpp(122) : error C2440: 'static_cast' : cannot convert from 'void (__thiscall CObjectBrowser::* )(WPARAM,TCHAR *)' to 'LRESULT (__thiscall CWnd::* )(WPARAM,LPARAM)' 1>        None of the functions with this name in scope match the target type 1>c:\documents and settings\user\desktop\netxms-0.2.22\netxms-0.2.22\src\console\win32\objectbrowser.cpp(123) : error C2440: 'static_cast' : cannot convert from 'void (__thiscall CObjectBrowser::* )(WPARAM,LPARAM)' to 'LRESULT (__thiscall CWnd::* )(WPARAM,LPARAM)' 1>        None of the functions with this name in scope match the target type Thanks and regards, Antony Vasanth