[Bf-committers] linking problems on ptex/sculpt branch

Brecht Van Lommel brechtvanlommel at pandora.be
Fri Sep 3 10:53:43 CEST 2010


To fix the error, you can include "BLI_string.h" and use BLI_snprintf instead.

Brecht.

On Fri, Sep 3, 2010 at 1:55 AM, Dalai Felinto <dfelinto at gmail.com> wrote:
> Anyone building it in Windows?
> </poke>
>
> 2010/8/25 Dalai Felinto <dfelinto at gmail.com>:
>> Hi Nicholas,
>>
>> I'm trying to build your branch here but since some commits ago it
>> stop linking in MSVC.
>> I'm using CMake + MSVC2008 on Windows 7. I have no problem building
>> any other branch. Any clues on what can be the problem?
>>
>> This is MSVC log:
>> Error   1   error LNK2019: unresolved external symbol _snprintf
>> referenced in function _ptex_resolution_items   rna_scene.obj
>> Error   2       fatal error LNK1120: 1 unresolved
>> externals       C:\Blender\branches\soc-2010-nicolasbishop\release\bin\Release\makesrna.exe
>>
>> Error   3       error PRJ0019: A tool returned an error code from "Generating
>> rna_action_gen.c, rna_actuator_gen.c, rna_animation_gen.c,
>> rna_animviz_gen.c, rna_armature_gen.c, rna_boid_gen.c,
>> rna_brush_gen.c, rna_camera_gen.c, rna_cloth_gen.c, rna_color_gen.c,
>> rna_constraint_gen.c, rna_context_gen.c, rna_controller_gen.c,
>> rna_curve_gen.c, rna_fcurve_gen.c, rna_fluidsim_gen.c,
>> rna_gpencil_gen.c, rna_group_gen.c, rna_ID_gen.c, rna_image_gen.c,
>> rna_key_gen.c, rna_lamp_gen.c, rna_lattice_gen.c, rna_main_gen.c,
>> rna_material_gen.c, rna_mesh_gen.c, rna_meta_gen.c,
>> rna_modifier_gen.c, rna_nla_gen.c, rna_nodetree_gen.c,
>> rna_object_gen.c, rna_object_force_gen.c, rna_packedfile_gen.c,
>> rna_particle_gen.c, rna_pose_gen.c, rna_property_gen.c,
>> rna_render_gen.c, rna_rna_gen.c, rna_scene_gen.c, rna_screen_gen.c,
>> rna_sculpt_paint_gen.c, rna_sensor_gen.c, rna_sequencer_gen.c,
>> rna_smoke_gen.c, rna_sound_gen.c, rna_space_gen.c, rna_test_gen.c,
>> rna_text_gen.c, rna_texture_gen.c, rna_timeline_gen.c, rna_ui_gen.c,
>> rna_userdef_gen.c, rna_vfont_gen.c, rna_wm_gen.c,
>> rna_world_gen.c"        bf_rna
>> Error   4       fatal error LNK1181: cannot open input file
>> '..\..\lib\Release\bf_rna.lib'  blender
>>
>> Thanks,
>> Dalai
>>
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers
>


More information about the Bf-committers mailing list