Box2D Forums

It is currently Thu May 23, 2013 9:46 am

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Some build Issue
PostPosted: Mon May 14, 2012 1:55 pm 
Offline

Joined: Mon May 14, 2012 1:13 pm
Posts: 1
Hi.
I have some issue with building Box2D.
In Building.txt we have 3 steps to do this
Quote:
For example, on Linux, you would type:
premake4 gmake

This will create a gmake folder in the Build directory. From there you can run:
make config="debug"

If you have build problems, you can post a question here:
viewforum.php?f=7

So now I'm in step number 3.

After type 'make' I have this result:
Code:
==== Building Box2D (debug) ====

… here looks everything fine ...

==== Building GLUI (debug) ====
Creating obj/Debug/GLUI
glui_string.cpp
glui_tree.cpp
glui_rollout.cpp
glui_scrollbar.cpp
glui_filebrowser.cpp
glui_radio.cpp
glui_add_controls.cpp
glui_translation.cpp
glui.cpp
glui_checkbox.cpp
glui_edittext.cpp
../../glui/glui_edittext.cpp: In member function ‘int GLUI_EditText::find_word_break(int, int)’:
../../glui/glui_edittext.cpp:934: warning: deprecated conversion from string constant to ‘char*’
glui_mouse_iaction.cpp
glui_listbox.cpp
glui_button.cpp
glui_textbox.cpp
../../glui/glui_textbox.cpp: In member function ‘virtual int GLUI_TextBox::mouse_down_handler(int, int)’:
../../glui/glui_textbox.cpp:98: warning: deprecated conversion from string constant to ‘char*’
../../glui/glui_textbox.cpp:116: warning: deprecated conversion from string constant to ‘char*’
../../glui/glui_textbox.cpp: In member function ‘virtual int GLUI_TextBox::mouse_held_down_handler(int, int, bool)’:
../../glui/glui_textbox.cpp:139: warning: deprecated conversion from string constant to ‘char*’
../../glui/glui_textbox.cpp:158: warning: deprecated conversion from string constant to ‘char*’
../../glui/glui_textbox.cpp: In member function ‘virtual int GLUI_TextBox::key_handler(unsigned char, int)’:
../../glui/glui_textbox.cpp:174: warning: deprecated conversion from string constant to ‘char*’
../../glui/glui_textbox.cpp:312: warning: deprecated conversion from string constant to ‘char*’
../../glui/glui_textbox.cpp: In member function ‘virtual void GLUI_TextBox::activate(int)’:
../../glui/glui_textbox.cpp:338: warning: deprecated conversion from string constant to ‘char*’
../../glui/glui_textbox.cpp:350: warning: deprecated conversion from string constant to ‘char*’
../../glui/glui_textbox.cpp: In member function ‘virtual void GLUI_TextBox::deactivate()’:
../../glui/glui_textbox.cpp:364: warning: deprecated conversion from string constant to ‘char*’
../../glui/glui_textbox.cpp:386: warning: deprecated conversion from string constant to ‘char*’
../../glui/glui_textbox.cpp: In member function ‘int GLUI_TextBox::update_substring_bounds()’:
../../glui/glui_textbox.cpp:511: warning: deprecated conversion from string constant to ‘char*’
../../glui/glui_textbox.cpp:549: warning: deprecated conversion from string constant to ‘char*’
../../glui/glui_textbox.cpp: In member function ‘void GLUI_TextBox::draw_text(int, int)’:
../../glui/glui_textbox.cpp:573: warning: deprecated conversion from string constant to ‘char*’
../../glui/glui_textbox.cpp:657: warning: deprecated conversion from string constant to ‘char*’
../../glui/glui_textbox.cpp: In member function ‘void GLUI_TextBox::draw_insertion_pt()’:
../../glui/glui_textbox.cpp:777: warning: deprecated conversion from string constant to ‘char*’
../../glui/glui_textbox.cpp:851: warning: deprecated conversion from string constant to ‘char*’
../../glui/glui_textbox.cpp: In member function ‘void GLUI_TextBox::dump(FILE*, char*)’:
../../glui/glui_textbox.cpp:1074: warning: format ‘%d’ expects type ‘int’, but argument 11 has type ‘size_t’
quaternion.cpp
glui_commandline.cpp
glui_panel.cpp
glui_spinner.cpp
glui_bitmaps.cpp
glui_statictext.cpp
glui_control.cpp
glui_separator.cpp
glui_treepanel.cpp
glui_window.cpp
algebra3.cpp
glui_rotation.cpp
arcball.cpp
glui_bitmap_img_data.cpp
glui_node.cpp
glui_list.cpp
glui_column.cpp
Linking GLUI
==== Building HelloWorld (debug) ====
Creating obj/Debug/HelloWorld
make[1]: *** No rule to make target `../../HelloWorld/Helloworld.cpp', needed by `obj/Debug/HelloWorld/Helloworld.o'. Stop.
make: *** [HelloWorld] Error 2
 


Can someone tell mi what are those warnings in Building GLUI
and what is that error in Building HelloWorld
and what should I do to build everything.


Top
 Profile  
 
 Post subject: Re: Some build Issue
PostPosted: Sat Jun 09, 2012 4:23 pm 
Offline

Joined: Sat Jun 09, 2012 4:20 pm
Posts: 1
Yes, I had the same problem. There is a typo. You can either change the filename of HelloWorld.cpp to Helloworld.cpp, or you can change the corresponding line in HelloWorld.make so that HelloWorld is in camel case: $(OBJDIR)/Helloworld.o: ../../HelloWorld/HelloWorld.cpp.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group