Project knowledge Summary

Source: Internet
Author: User

1.
Click "run Configuration" under "Run,
There is an arguments in the upper right corner. Click
Write the nine parameters you want to enter in program argumenst

2.
./Configure -- configure Environment Monitoring

./Configure> 11.txt --print output information to 11.txt

3.
Eclipse does not recognize make
In window-> Build-> Environment-> Add PATH: Msys/.../bin

4.
Ignore files submitted by svn
Right-click eclipse> Project node and choose "Team"> "Set Properties"> "svn: ignore" as the property name. Enter the text property to add the name of the root directory folder to be ignored.

5.
Svn command
Svn checkout svn: // 192.168.0.113: 8083/qixingshi/14. project
Svn ci-m "dd" main. c
Restructured the svn address: Relocate option to modify the IP address
See: http://blog.csdn.net/lx111000lx0/article/details/8296744

6.
Makefile $ {CP}
$ {CP} dist/Debug/MinGW-Windows/*. dll E:/software/.../Debug/

7.
Open ipconfig and find two Ethernet adapters
Control Panel-> network and internet-> network connection
Destroy one of them and add the ip address and mask displayed in ipconfig to the next one.

Mac virtual machine:
System Configuration-Network-Ethernet-
Configure ipv4: manually
IP Address: changed to nobody else
Mask: 255.255.255.0
Advanced-"proxy
Web Proxy (http) 192.168.0.1: 808
Security web Proxy (https) 192.168.0.1: 808

8.
Modify the path of the mac Database
In makefile, after. build-post:. build-impl, add:
Sh install_change.sh $ {CONF }$ {LIB_VERSION}
$ {CP} dist/$ {CONF}/GNU-MacOSX/*. dylib/software/project/videodownload/$ {MAIN_VERSION}/osx32/share/$ {CONF}
Add to install_change.sh ($1, $2 corresponds to the corresponding parameter ):
Echo "CONF" = $1, $2

Install_name_tool-change libboost_regex.dylib @ loader_path/libboost_regex.dylib dist/$1/GNU-MacOSX/QX_VDown. $2. dylib
Install_name_tool-change/usr/lib/libcurl.4.dylib @ loader_path/libcurl.4.dylib Dist/$1/gnu-MacOSX/qx_vdown. $2. dylib
Install_name_tool-change/usr/lib/libiconv.2.dylib @ loader_path/libiconv.2.dylib Dist/$1/gnu-MacOSX/qx_vdown. $2. dylib

9.
Add copyright under Windows
In makefile:
# Build
Build:. Build-post

. Build-pre: Dist/version. o
# Add your pre 'build 'Code here...

. Build-post:. Build-impl
# Add your post 'built' code here...

Dist/version. O: Resources/RC/version. RC
$ {Mkdir}-P Dist
Windres resources/RC/version. RC $ @
Add the version. RC file to the Resource Directory.

-------------- Version. RC --------------------------------------------------------
# Include "winresrc. H"

Language lang_english, sublang_english_us

//////////////////////////////////////// /////////////////////////////////////
//
// Version
//
Vs_version_info versioninfo
Fileversion
Productversion
Fileflagsmask 0x3fl
Fileflags 0x0l
Fileos 0x40004l
Filetype 0x2l
Filesubtype 0x0l
Begin
Block "stringfileinfo"
Begin
Block "040904b0"
Begin
Value "companyName", "ipubsoft \ 0"
Value "filedescription", "ipubsoft qx_mobi \ 0"
Value "fileversion", "0, 2, 1, 0 \ 0"
VALUE "InternalName", "QX_Mobi \ 0"
VALUE "LegalCopyright", "Copyright (c) iPubsoft Studio All Rights Reserved \ 0"
VALUE "OriginalFilename", "QX_Mobi.dll \ 0"
VALUE "ProductName", "QX_Mobi \ 0"
VALUE "ProductVersion", "0, 2, 1, 0 \ 0"
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x409,120 0
END
END
-------------- Version. rc --------------------------------------------------------

10.
Set the path of the library file that eclipse references mingw

Project-c/c ++ Build-Tool Chain Editor:
Current toolchain select MingGW GCC

11.
Eclipse cannot debug
Project-c/c ++ Build-settings:
Binary parsers-> PE WIndows Parser

12.
Jdk not found in eclipse prompt
Find the eclipse.exe directory and modify eclipse. ini to delete it.
-Vm
D:/software/java/jdk1.6.15/bin/javaw.exe

13.
Eclipse configuration to open the current file directory
Eclipse window-Run-> External Tools
Program-> click the new ICON ABOVE
Add name such as open_folder
Location: C: \ Windows \ assumer.exe
Arguments: $ {container_loc}

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.