Newbie Developer Forum

This forum will be closed shortly. Please post all development related questions and/or discussion on the Haiku Development, or Haiku 3rd party Development mailing lists.

Developer Tutorials

Forum thread started by admin on Tue, 2004-06-29 23:19

Hey everyone,
We're in need of some simple tutorials to help people get started programming in BeOS / Haiku. If anyone would be interested in writing a tutorial, please email me at kurtis at zekimedia dot com and let me know what you'd be interested in doing. Some sample ideas are:

Caution updating /installing yab with HaikuDepot

Forum thread started by bbjimmy on Fri, 2015-07-10 22:06

The yab-IDE version available is not right for the yab version. see:

Caution updating... http://yab.orgfree.com/forum/showthread.php?tid=19

What apps are you working on?

Forum thread started by bbjimmy on Mon, 2015-07-06 04:31

recent work in progress by yab devs:

http://yab.orgfree.com/forum/showthread.php?tid=11

What native apps are you working on?

New yab version

Forum thread started by bbjimmy on Mon, 2015-06-29 03:52

http://yab.orgfree.com/ has links to:

yab-1.7.5-1-x86_gcc2.hpkg

yab_ide-2.2.5-1-x86_gcc2.hpkg

as well as a download/compile/install script for pre and post PM Haiku:

GetLatest-yab.zip

Want to build Blender on haiku

Forum thread started by skarmiglione on Wed, 2015-04-15 19:24

What i need for? is possible? blender 2.74

building haiku with openssl-1.0.2a?

Forum thread started by khallebal on Wed, 2015-04-15 10:10

Hi
I just tried building the latest openssl-1.0.2a and it builds fairly easy,however Haiku refused to boot with it,missing symbol rc_??? (can't remember exactly). abviously i need to build an image with this version.
So how do i build Haiku with this version?

Error trying to compile QT app: any ideas?

Forum thread started by un_spacyar on Sat, 2015-04-11 23:34

Hi. I'm trying to compile the TagainiJisho app (is a japanese dictionary), but I get the following error:

cc1plus: Invalid option `-Wextra'
cc1plus: Invalid option `-Wno-unused-parameter'
make[2]: *** [src/sqlite/CMakeFiles/tagaini_sqlite.dir/Error.cc.o] Error 1
make[1]: *** [src/sqlite/CMakeFiles/tagaini_sqlite.dir/all] Error 2
make: *** [all] Error 2

I'm using a x86_gcc2 nightly. I do the follow steps before:

setarch x86
cmake 

This is the content of the CmakeLists.txt

# The project name decides the naming pattern of many things - choose it according
# to the standard of the platform we run on.
if(APPLE)
	project("Tagaini Jisho")
else(APPLE)
	project("tagainijisho")
endif(APPLE)
 
# Set the program name to be the same as the project
set(tagaini_binary ${CMAKE_PROJECT_NAME})
 
set(VERSION 1.0.3)
 
cmake_minimum_required(VERSION 2.8.0)
 
find_package(Qt4 4.5 REQUIRED)
# FIXME only required when CMake downloads dictionary files. Not necessary for building from source package.
find_program(GUNZIP NAMES gunzip REQUIRED)
 
# Global GCC options
if(CMAKE_COMPILER_IS_GNUCC)
	set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -Wnon-virtual-dtor -Wno-unused-parameter -fno-exceptions -fno-rtti")
endif(CMAKE_COMPILER_IS_GNUCC)
 
# Add the default database lookup data path for Linux if not defined
if(UNIX AND NOT APPLE AND NOT DATA_DIR)
	set(DATA_DIR "${CMAKE_INSTALL_PREFIX}/share/tagainijisho")
endif(UNIX AND NOT APPLE AND NOT DATA_DIR)
 
# 64 bits Intel binary with 10.6 compatibility 
if(APPLE)
	set(CMAKE_OSX_ARCHITECTURES "${ARCHS_STANDARD_64_BIT}")
	set(CMAKE_OSX_SYSROOT "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk")
	set(CMAKE_OSX_DEPLOYMENT_TARGET "10.6")
	set(CMAKE_PREFIX_PATH "${CMAKE_OSX_SYSROOT}/usr")  
	set(CMAKE_FRAMEWORK_PATH "${CMAKE_OSX_SYSROOT}/Library/Frameworks:${CMAKE_OSX_SYSROOT}/System/")
	set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/pack/MacOS/")
endif(APPLE)
if(WIN32)
	set(extra_link_flags "-static-libgcc -static-libstdc++ -mwindows")
endif(WIN32)
 
# By default, enable all languages
if(NOT DICT_LANG)
	set(DICT_LANG "fr;de;es;ru;it;pt;th;tr")
endif()
# Set DICT_LANG to always appear in the cache
set(DICT_LANG ${DICT_LANG} CACHE STRING "Languages to use for the dictionary data (semicolon-separated 2-letter codes)")
 
# Debug options
option(DEBUG_ENTRIES_CACHE "Debug entries cache behavior" OFF)
option(DEBUG_PATHS "Debug files lookup" OFF)
option(DEBUG_DETAILED_VIEW "Debug detailed view output" OFF)
option(DEBUG_QUERIES "Debug SQL queries" OFF)
option(DEBUG_TRANSACTIONS "Debug database transactions" OFF)
option(DEBUG_LISTS "Debug lists (very slow)" OFF)
 
# Build tests suite?
option(BUILD_TESTS "Build tests suite" OFF)
 
# Databases helper targets
add_custom_target(databases ALL)
 
# i18n
add_subdirectory(i18n)
 
# Source code
add_subdirectory(src)
 
# Docs
add_subdirectory(doc)
 
# Packaging stuff
add_subdirectory(pack)
 
# External resources fetching and generation
if(NOT EXISTS ${CMAKE_SOURCE_DIR}/3rdparty/)
	FILE(MAKE_DIRECTORY ${CMAKE_SOURCE_DIR}/3rdparty/)
endif()
 
# Uninstall
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/cmake_uninstall.cmake.in" "${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake" IMMEDIATE @ONLY)
add_custom_target(uninstall "${CMAKE_COMMAND}" -P "${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake")

Anyone could help me? Thanks in advance!!!

Syndicate content