hi,guys , i need some help

Added by warmsun almost 8 years ago

I compile the "server" successfully in vs2008 Express ,but when i compile the server in vs2008 pro, i get some new error:

8>nlmisc_r.lib(bitmap_jpeg.obj) : error LNK2001: unresolved external symbol _jpeg_resync_to_restart
8>nlmisc_r.lib(bitmap_jpeg.obj) : error LNK2019: unresolved external symbol _jpeg_finish_decompress referenced in function "private: unsigned char __thiscall NLMISC::CBitmap::readJPG(class NLMISC::IStream &)" (?readJPG@CBitmap@NLMISC@AAEEAAVIStream@2@Z)
8>nlmisc_r.lib(bitmap_jpeg.obj) : error LNK2019: unresolved external symbol _jpeg_read_scanlines referenced in function "private: unsigned char __thiscall NLMISC::CBitmap::readJPG(class NLMISC::IStream &)" (?readJPG@CBitmap@NLMISC@AAEEAAVIStream@2@Z)
8>nlmisc_r.lib(bitmap_jpeg.obj) : error LNK2019: unresolved external symbol _jpeg_start_decompress referenced in function "private: unsigned char __thiscall NLMISC::CBitmap::readJPG(class NLMISC::IStream &)" (?readJPG@CBitmap@NLMISC@AAEEAAVIStream@2@Z)
8>nlmisc_r.lib(bitmap_jpeg.obj) : error LNK2019: unresolved external symbol _jpeg_read_header referenced in function "private: unsigned char __thiscall NLMISC::CBitmap::readJPG(class NLMISC::IStream &)" (?readJPG@CBitmap@NLMISC@AAEEAAVIStream@2@Z)
8>nlmisc_r.lib(bitmap_jpeg.obj) : error LNK2019: unresolved external symbol _jpeg_CreateDecompress referenced in function "private: unsigned char __thiscall NLMISC::CBitmap::readJPG(class NLMISC::IStream &)" (?readJPG@CBitmap@NLMISC@AAEEAAVIStream@2@Z)
8>nlmisc_r.lib(bitmap_jpeg.obj) : error LNK2019: unresolved external symbol _jpeg_destroy_decompress referenced in function "private: unsigned char __thiscall NLMISC::CBitmap::readJPG(class NLMISC::IStream &)" (?readJPG@CBitmap@NLMISC@AAEEAAVIStream@2@Z)
8>nlmisc_r.lib(bitmap_jpeg.obj) : error LNK2019: unresolved external symbol _jpeg_std_error referenced in function "private: unsigned char __thiscall NLMISC::CBitmap::readJPG(class NLMISC::IStream &)" (?readJPG@CBitmap@NLMISC@AAEEAAVIStream@2@Z)


Replies (7)

RE: hi,guys , i need some help - Added by molator almost 8 years ago

Looks like your missing a dependency.
Did you properly add the external libs in VC++ settings ?

RE: hi,guys , i need some help - Added by warmsun almost 8 years ago

G:\ryzom\external\lib
G:\ryzom\code\nel\lib
D:\Program Files\Microsoft DirectX SDK (February 2010)\Lib\x86

Is those enough?

RE: hi,guys , i need some help - Added by warmsun almost 8 years ago

2>------ Build started: Project: driver_direct3d, Configuration: Release Win32 ------
2>Linking...
1>Compiling...
2> Creating library ..\..\..\..\lib\nel_drv_direct3d_win_r.lib and object ..\..\..\..\lib\nel_drv_direct3d_win_r.exp
2>nlmisc_r.lib(bitmap_jpeg.obj) : error LNK2001: unresolved external symbol _jpeg_resync_to_restart
2>nlmisc_r.lib(bitmap_jpeg.obj) : error LNK2019: unresolved external symbol _jpeg_finish_decompress referenced in function "private: unsigned char __thiscall NLMISC::CBitmap::readJPG(class NLMISC::IStream &)" (?readJPG@CBitmap@NLMISC@AAEEAAVIStream@2@Z)
2>nlmisc_r.lib(bitmap_jpeg.obj) : error LNK2019: unresolved external symbol _jpeg_read_scanlines referenced in function "private: unsigned char __thiscall NLMISC::CBitmap::readJPG(class NLMISC::IStream &)" (?readJPG@CBitmap@NLMISC@AAEEAAVIStream@2@Z)
2>nlmisc_r.lib(bitmap_jpeg.obj) : error LNK2019: unresolved external symbol _jpeg_start_decompress referenced in function "private: unsigned char __thiscall NLMISC::CBitmap::readJPG(class NLMISC::IStream &)" (?readJPG@CBitmap@NLMISC@AAEEAAVIStream@2@Z)
1>player_r2_cl.cpp

RE: hi,guys , i need some help - Added by molator almost 8 years ago

It should be enough.
Place it on top of the settings, in case VC Pro would use some others depencies (depencies missing in VC Express maybe).

You might have a different version of libjpeg already set in VC Pro.

RE: hi,guys , i need some help - Added by warmsun almost 8 years ago

new link error :

1>game_share_r.lib(generic_xml_msg_mngr.obj) : error LNK2001: unresolved external symbol _xmlFree
1>game_share_r.lib(ring_access.obj) : error LNK2001: unresolved external symbol _xmlFree
1>nlmisc_r.lib(i_xml.obj) : error LNK2001: unresolved external symbol _xmlFree
1>nlgeorges_r.lib(form_dfn.obj) : error LNK2001: unresolved external symbol _xmlFree
1>nlgeorges_r.lib(header.obj) : error LNK2001: unresolved external symbol _xmlFree
1>nlgeorges_r.lib(form.obj) : error LNK2001: unresolved external symbol _xmlFree
1>nlgeorges_r.lib(form_elm.obj) : error LNK2001: unresolved external symbol _xmlFree
1>cdb_branch.obj : error LNK2001: unresolved external symbol _xmlFree
1>cdb_leaf.obj : error LNK2001: unresolved external symbol _xmlFree
1>nlsound_r.lib(sound_animation.obj) : error LNK2001: unresolved external symbol _xmlFree
1>nlgeorges_r.lib(type.obj) : error LNK2001: unresolved external symbol _xmlFree
1>view_text.obj : error LNK2001: unresolved external symbol _xmlFree
1>view_text_formated.obj : error LNK2001: unresolved external symbol _xmlFree
1>view_text_id.obj : error LNK2001: unresolved external symbol _xmlFree
1>view_text_id_formated.obj : error LNK2001: unresolved external symbol _xmlFree
1>view_bitmap_combo.obj : error LNK2001: unresolved external symbol _xmlFree
1>view_bitmap_faber_mp.obj : error LNK2001: unresolved external symbol _xmlFree
1>view_pointer.obj : error LNK2001: unresolved external symbol _xmlFree
1>view_radar.obj : error LNK2001: unresolved external symbol _xmlFree
1>interface_parser.obj : error LNK2001: unresolved external symbol _xmlFree
1>inventory_manager.obj : error LNK2001: unresolved external symbol _xmlFree
1>macrocmd_manager.obj : error LNK2001: unresolved external symbol _xmlFree
1>view_bitmap.obj : error LNK2001: unresolved external symbol _xmlFree
1>interface_ddx.obj : error LNK2001: unresolved external symbol _xmlFree
1>interface_element.obj : error LNK2001: unresolved external symbol _xmlFree
1>interface_group.obj : error LNK2019: unresolved external symbol _xmlFree referenced in function "public: virtual bool __thiscall CInterfaceGroup::parse(struct _xmlNode *,class CInterfaceGroup *)" (?parse@CInterfaceGroup@UAE_NPAU_xmlNode@PAV1@@Z)
1>interface_options.obj : error LNK2001: unresolved external symbol _xmlFree
1>group_tree.obj : error LNK2001: unresolved external symbol _xmlFree
1>input_handler_manager.obj : error LNK2001: unresolved external symbol _xmlFree
1>interface_3d_scene.obj : error LNK2001: unresolved external symbol _xmlFree
1>interface_anim.obj : error LNK2001: unresolved external symbol _xmlFree
1>group_scrolltext.obj : error LNK2001: unresolved external symbol _xmlFree
1>group_skills.obj : error LNK2001: unresolved external symbol _xmlFree
1>group_tab.obj : error LNK2001: unresolved external symbol _xmlFree
1>group_table.obj : error LNK2001: unresolved external symbol _xmlFree
1>group_modal.obj : error LNK2001: unresolved external symbol _xmlFree
1>group_paragraph.obj : error LNK2001: unresolved external symbol _xmlFree
1>group_phrase_skill_filter.obj : error LNK2001: unresolved external symbol _xmlFree
1>group_quick_help.obj : error LNK2001: unresolved external symbol _xmlFree
1>group_in_scene.obj : error LNK2001: unresolved external symbol _xmlFree
1>group_list.obj : error LNK2001: unresolved external symbol _xmlFree
1>group_map.obj : error LNK2001: unresolved external symbol _xmlFree
1>group_menu.obj : error LNK2001: unresolved external symbol _xmlFree
1>group_editbox.obj : error LNK2001: unresolved external symbol _xmlFree
1>group_frame.obj : error LNK2001: unresolved external symbol _xmlFree
1>group_header.obj : error LNK2001: unresolved external symbol _xmlFree
1>group_html.obj : error LNK2001: unresolved external symbol _xmlFree
1>dbview_quantity.obj : error LNK2001: unresolved external symbol _xmlFree
1>group_career.obj : error LNK2001: unresolved external symbol _xmlFree
1>group_compas.obj : error LNK2001: unresolved external symbol _xmlFree
1>group_container.obj : error LNK2001: unresolved external symbol _xmlFree
1>dbview_bar.obj : error LNK2001: unresolved external symbol _xmlFree
1>dbview_bar3.obj : error LNK2001: unresolved external symbol _xmlFree
1>dbview_digit.obj : error LNK2001: unresolved external symbol _xmlFree
1>dbview_number.obj : error LNK2001: unresolved external symbol _xmlFree
1>dbgroup_list_sheet_text_brick_composition.obj : error LNK2001: unresolved external symbol _xmlFree
1>dbgroup_list_sheet_text_share.obj : error LNK2001: unresolved external symbol _xmlFree
1>dbgroup_list_sheet_trade.obj : error LNK2001: unresolved external symbol _xmlFree
1>dbgroup_select_number.obj : error LNK2001: unresolved external symbol _xmlFree
1>dbgroup_combo_box.obj : error LNK2001: unresolved external symbol _xmlFree
1>dbgroup_list_sheet.obj : error LNK2001: unresolved external symbol _xmlFree
1>dbgroup_list_sheet_bonus_malus.obj : error LNK2001: unresolved external symbol _xmlFree
1>dbgroup_list_sheet_text.obj : error LNK2001: unresolved external symbol _xmlFree
1>ctrl_col_pick.obj : error LNK2001: unresolved external symbol _xmlFree
1>ctrl_scroll.obj : error LNK2001: unresolved external symbol _xmlFree
1>ctrl_text_button.obj : error LNK2001: unresolved external symbol _xmlFree
1>dbctrl_sheet.obj : error LNK2001: unresolved external symbol _xmlFree
1>action_handler.obj : error LNK2001: unresolved external symbol _xmlFree
1>ctrl_base.obj : error LNK2001: unresolved external symbol _xmlFree
1>ctrl_base_button.obj : error LNK2001: unresolved external symbol _xmlFree
1>ctrl_button.obj : error LNK2001: unresolved external symbol _xmlFree
1>game_share_r.lib(generic_xml_msg_mngr.obj) : error LNK2001: unresolved external symbol _xmlGetProp
1>game_share_r.lib(scenario_entry_points.obj) : error LNK2001: unresolved external symbol _xmlGetProp
1>game_share_r.lib(ring_access.obj) : error LNK2001: unresolved external symbol _xmlGetProp
1>nlmisc_r.lib(i_xml.obj) : error LNK2001: unresolved external symbol _xmlGetProp
1>nlgeorges_r.lib(form_dfn.obj) : error LNK2001: unresolved external symbol _xmlGetProp

RE: hi,guys , i need some help - Added by molator almost 8 years ago

Same thing for libxml2.

RE: hi,guys , i need some help - Added by warmsun almost 8 years ago

I find the reason..I compiled the code in X64_lib before(my windows is 32-bit,I selected wrong lib) and this result in the link error now in X86:)

(1-7/7)