Difference between revisions of "MiniAudicle/miniAudiclebuildInstructionsforwindows/buildinstructionswindowsvc6"

From CSWiki
Jump to: navigation, search
 
Line 8: Line 8:
 
I chose not to do that but with these instruction you should be able to locate all the dependencies needed to build mini Audicle.
 
I chose not to do that but with these instruction you should be able to locate all the dependencies needed to build mini Audicle.
  
'''Paths includes and libraries:'''
+
==='''Paths includes and libraries:'''===
  
'''miniAudicle:'''
+
===='''miniAudicle:'''====
 
mini Audicle source directory and main Visual C++ 6.0 workspace/project file location  
 
mini Audicle source directory and main Visual C++ 6.0 workspace/project file location  
  
Line 16: Line 16:
 
c:\miniAudicle-0.1.3.8b\miniAudicle.dsw
 
c:\miniAudicle-0.1.3.8b\miniAudicle.dsw
  
'''wxWidgets:'''
+
===='''wxWidgets:'''====
 
wxWidgets source directory and main Visual C++ 6.0 workspace/project file location  
 
wxWidgets source directory and main Visual C++ 6.0 workspace/project file location  
 
c:\wxWidgets-2.8.6\build\msw
 
c:\wxWidgets-2.8.6\build\msw
 
c:\wxWidgets-2.8.6\build\msw\wx_dll.dsw
 
c:\wxWidgets-2.8.6\build\msw\wx_dll.dsw
  
'''Extra paths for Visual C++:'''
+
===='''Extra paths for Visual C++:'''====
 
These paths need to be added to the development environment
 
These paths need to be added to the development environment
 
To change these go to the VC menu "Tools" and select "Options". The options tabbed dialog appears select "Directories". Notice there is a dropdown list on the right by default it should be displaying Include files.
 
To change these go to the VC menu "Tools" and select "Options". The options tabbed dialog appears select "Directories". Notice there is a dropdown list on the right by default it should be displaying Include files.
 
Add the additional paths below.
 
Add the additional paths below.
'''Include:'''
+
===='''Include:'''====
 
c:\wxWidgets-2.8.6\include
 
c:\wxWidgets-2.8.6\include
 +
 
c:\wxWidgets-2.8.6
 
c:\wxWidgets-2.8.6
 +
 
c:\wxWidgets-2.8.6\contrib\include
 
c:\wxWidgets-2.8.6\contrib\include
  
 
Change the dropdown list to Library files and add the path below.
 
Change the dropdown list to Library files and add the path below.
'''Libraries:'''
+
===='''Libraries:'''====
 
c:\wxWidgets-2.8.6\lib\vc_lib
 
c:\wxWidgets-2.8.6\lib\vc_lib
  
 
The following is strictly for informational purpose in case one wants to examine the details.
 
The following is strictly for informational purpose in case one wants to examine the details.
 
wxWidgets library output directory
 
wxWidgets library output directory
 +
 
c:\wxWidgets-2.8.6\lib\vc_lib
 
c:\wxWidgets-2.8.6\lib\vc_lib
  
miniAudicle Project settings:
+
===='''miniAudicle Project settings:'''====
 
The project will need to be altered if you chose to use the updated wxWidget files I decided to use 2.8.6 and needed to change the project setting.
 
The project will need to be altered if you chose to use the updated wxWidget files I decided to use 2.8.6 and needed to change the project setting.
 
Go to the VC 6.0 menu "Project" and then get to the tab Link. In that you will see library names like the following
 
Go to the VC 6.0 menu "Project" and then get to the tab Link. In that you will see library names like the following
Line 44: Line 47:
 
The "d" in the names indicates a debug build for a release build you will only need to alter 26 to 28.
 
The "d" in the names indicates a debug build for a release build you will only need to alter 26 to 28.
 
Select okay and build your copy of miniAudicle 0.1.3.8 alpha for windows and you now can begin developing other additional changes or features for miniAudicle.
 
Select okay and build your copy of miniAudicle 0.1.3.8 alpha for windows and you now can begin developing other additional changes or features for miniAudicle.
'''Miscelaneous:'''
+
 
 +
===='''Miscelaneous:'''====
 
Explanations:
 
Explanations:
 
I added the root of the wxWidgets source directory into the includes so that the build could locate "c:\wxWidgets-2.8.6\lib\vc_lib\mswd\wx\setup.h" which is needed to build the libraries.
 
I added the root of the wxWidgets source directory into the includes so that the build could locate "c:\wxWidgets-2.8.6\lib\vc_lib\mswd\wx\setup.h" which is needed to build the libraries.
  
'''Other:'''
+
===='''Other:'''====
 
I found that you need to go through the wxWidget Library build process per each sub-project contained in the workspace file.
 
I found that you need to go through the wxWidget Library build process per each sub-project contained in the workspace file.
 
This is just a limitation that perhaps I will locate a solution for it is just the way the wxWidget developers did it and has nothing to do with the miniAudicle developers, so don't complain to them.
 
This is just a limitation that perhaps I will locate a solution for it is just the way the wxWidget developers did it and has nothing to do with the miniAudicle developers, so don't complain to them.
Line 54: Line 58:
 
With all the include and library paths setup and the wxWidgets libraies built you should now be able to build a debug version of miniAudicle.
 
With all the include and library paths setup and the wxWidgets libraies built you should now be able to build a debug version of miniAudicle.
  
'''Reasons:'''
+
===='''Reasons:'''====
 
I wished to try and add the MAUI elements to miniAudicle but haven't yet figured that out. That may be my next wiki entry hopefully this will assist people getting started developing miniAudicle.
 
I wished to try and add the MAUI elements to miniAudicle but haven't yet figured that out. That may be my next wiki entry hopefully this will assist people getting started developing miniAudicle.

Revision as of 14:26, 19 October 2007

mini Audicle Build directory setup guide:

I noticed that there were no setup intructions for building miniAudicle so I decided to add these instructions to encourage others who might wish to become involved. I am limiting these instructions to Visual C++ 6.0 and may add instructions later for how to import the projects in to Visual Studio 2003. you will need to first download the source for miniAudicle and wxWidgets. I chose wxWidgets all 2.8.6 at a later time there may be a newer version. first I decided to extract the main directory structure to a partition, in my case it was G: but you might prefer C:. I changed all the paths in this document to C: since that is the likely structure. It might be good to create a new directory called C:/miniAudicleProject and extract the files within that sub-directory. I chose not to do that but with these instruction you should be able to locate all the dependencies needed to build mini Audicle.

Paths includes and libraries:

miniAudicle:

mini Audicle source directory and main Visual C++ 6.0 workspace/project file location

c:\miniAudicle-0.1.3.8b c:\miniAudicle-0.1.3.8b\miniAudicle.dsw

wxWidgets:

wxWidgets source directory and main Visual C++ 6.0 workspace/project file location c:\wxWidgets-2.8.6\build\msw c:\wxWidgets-2.8.6\build\msw\wx_dll.dsw

Extra paths for Visual C++:

These paths need to be added to the development environment To change these go to the VC menu "Tools" and select "Options". The options tabbed dialog appears select "Directories". Notice there is a dropdown list on the right by default it should be displaying Include files. Add the additional paths below.

Include:

c:\wxWidgets-2.8.6\include

c:\wxWidgets-2.8.6

c:\wxWidgets-2.8.6\contrib\include

Change the dropdown list to Library files and add the path below.

Libraries:

c:\wxWidgets-2.8.6\lib\vc_lib

The following is strictly for informational purpose in case one wants to examine the details. wxWidgets library output directory

c:\wxWidgets-2.8.6\lib\vc_lib

miniAudicle Project settings:

The project will need to be altered if you chose to use the updated wxWidget files I decided to use 2.8.6 and needed to change the project setting. Go to the VC 6.0 menu "Project" and then get to the tab Link. In that you will see library names like the following wxmsw26d_adv.lib wxmsw26d_stc.lib wxmsw26d_core.lib change them all to wxmsw28d_adv.lib wxmsw28d_stc.lib wxmsw28d_core.lib. The "d" in the names indicates a debug build for a release build you will only need to alter 26 to 28. Select okay and build your copy of miniAudicle 0.1.3.8 alpha for windows and you now can begin developing other additional changes or features for miniAudicle.

Miscelaneous:

Explanations: I added the root of the wxWidgets source directory into the includes so that the build could locate "c:\wxWidgets-2.8.6\lib\vc_lib\mswd\wx\setup.h" which is needed to build the libraries.

Other:

I found that you need to go through the wxWidget Library build process per each sub-project contained in the workspace file. This is just a limitation that perhaps I will locate a solution for it is just the way the wxWidget developers did it and has nothing to do with the miniAudicle developers, so don't complain to them. I assume if I properly configure the imported Visual C++ 6.0 files into Visual C++ 7.1 (Visual Studio 2003) it will be resolved. With all the include and library paths setup and the wxWidgets libraies built you should now be able to build a debug version of miniAudicle.

Reasons:

I wished to try and add the MAUI elements to miniAudicle but haven't yet figured that out. That may be my next wiki entry hopefully this will assist people getting started developing miniAudicle.