Author Topic: PCS2 under Wine  (Read 5619 times)

0 Members and 1 Guest are viewing this topic.

Hi guys, I'm desperately trying to make PCS2 work under Wine (linux). Once I got it working perfectly but I went through a system format and now I don't remember which library I had installed before that. Here's a debug log from wine debugger. Can anyone tell me what to do to get it working properly? Thanks!
Code: [Select]
Unhandled exception: page fault on read access to 0x01ff8058 in 32-bit code (0x00436303).
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
 EIP:00436303 ESP:00cbdb8c EBP:00cbe874 EFLAGS:00010206(  R- --  I   - -P- )
 EAX:fffd0006 EBX:000034ea ECX:020b8040 EDX:02427590
 ESI:00000000 EDI:00000000
Stack dump:
0x00cbdb8c:  99ec02e9 0121f020 00148e9a 0228b21c
0x00cbdb9c:  01367eba 0229c340 00000003 0000005c
0x00cbdbac:  43247a01 01efb8e0 44921793 00000000
0x00cbdbbc:  7ece141a 00110000 005e592c 01efb8e0
0x00cbdbcc:  00000004 00000001 00000000 00000000
0x00cbdbdc:  3f800000 00000000 00000000 00000000
Backtrace:
=>0 0x00436303 in pcs2 (+0x36303) (0x00cbe874)
0x00436303: movl 0x0(%ecx,%eax,4),%edx
Modules:
Module Address Debug info Name (119 modules)
PE   340000-  34e000 Deferred        ilu
PE   350000-  357000 Deferred        ilut
PE   400000-  798000 Export          pcs2
PE 10000000-10101000 Deferred        devil
PE 61b80000-61b96000 Deferred        zlib1
PE 67580000-675b6000 Deferred        libpng13
ELF 7a299000-7b800000 Deferred        libllvm-3.2.so.1
ELF 7b800000-7ba5b000 Deferred        kernel32<elf>
  \-PE 7b810000-7ba5b000 \               kernel32
ELF 7bc00000-7bcdf000 Deferred        ntdll<elf>
  \-PE 7bc10000-7bcdf000 \               ntdll
ELF 7bf00000-7bf04000 Deferred        <wine-loader>
ELF 7d201000-7d243000 Deferred        usp10<elf>
  \-PE 7d210000-7d243000 \               usp10
ELF 7d3f6000-7d42a000 Deferred        libtxc_dxtn.so
ELF 7d42a000-7d431000 Deferred        libffi.so.6
ELF 7d459000-7d47e000 Deferred        imm32<elf>
  \-PE 7d460000-7d47e000 \               imm32
ELF 7d4a0000-7d4a5000 Deferred        libgpg-error.so.0
ELF 7d4a5000-7d4bc000 Deferred        libresolv.so.2
ELF 7d4bc000-7d4c0000 Deferred        libkeyutils.so.1
ELF 7d4c0000-7d50a000 Deferred        libdbus-1.so.3
ELF 7d50a000-7d51e000 Deferred        libp11-kit.so.0
ELF 7d51e000-7d530000 Deferred        libtasn1.so.3
ELF 7d530000-7d5b4000 Deferred        libgcrypt.so.11
ELF 7d5b4000-7d5bd000 Deferred        libkrb5support.so.0
ELF 7d5bd000-7d5e5000 Deferred        libk5crypto.so.3
ELF 7d5e5000-7d6b3000 Deferred        libkrb5.so.3
ELF 7d6b3000-7d778000 Deferred        libgnutls.so.26
ELF 7d778000-7d7b5000 Deferred        libgssapi_krb5.so.2
ELF 7d7b5000-7d814000 Deferred        libcups.so.2
ELF 7d83c000-7d872000 Deferred        uxtheme<elf>
  \-PE 7d840000-7d872000 \               uxtheme
ELF 7d872000-7d87d000 Deferred        libxcursor.so.1
ELF 7d87d000-7d88d000 Deferred        libxi.so.6
ELF 7d88d000-7d891000 Deferred        libxcomposite.so.1
ELF 7d891000-7d89c000 Deferred        libxrandr.so.2
ELF 7d89c000-7d8a6000 Deferred        libxrender.so.1
ELF 7d8a6000-7d8aa000 Deferred        libxinerama.so.1
ELF 7d8aa000-7d8b0000 Deferred        libuuid.so.1
ELF 7d8b0000-7d8ca000 Deferred        libice.so.6
ELF 7d8ca000-7d8d3000 Deferred        libsm.so.6
ELF 7d8d4000-7d8d9000 Deferred        libcom_err.so.2
ELF 7d8d9000-7d8eb000 Deferred        libavahi-client.so.3
ELF 7d8eb000-7d8f9000 Deferred        libavahi-common.so.3
ELF 7d8fb000-7d98d000 Deferred        winex11<elf>
  \-PE 7d910000-7d98d000 \               winex11
ELF 7da0d000-7da35000 Deferred        libexpat.so.1
ELF 7da35000-7da6e000 Deferred        libfontconfig.so.1
ELF 7da6e000-7db09000 Deferred        libfreetype.so.6
ELF 7db09000-7db41000 Deferred        msvcr100<elf>
  \-PE 7db10000-7db41000 \               msvcr100
ELF 7db41000-7db6f000 Deferred        msvcr80<elf>
  \-PE 7db50000-7db6f000 \               msvcr80
ELF 7db6f000-7dcb0000 Deferred        msvcp90<elf>
  \-PE 7dbb0000-7dcb0000 \               msvcp90
ELF 7dcb0000-7dd52000 Deferred        msvcp80<elf>
  \-PE 7dcc0000-7dd52000 \               msvcp80
ELF 7dd52000-7ddd3000 Deferred        rpcrt4<elf>
  \-PE 7dd60000-7ddd3000 \               rpcrt4
ELF 7ddd3000-7df0f000 Deferred        ole32<elf>
  \-PE 7ddf0000-7df0f000 \               ole32
ELF 7df0f000-7df36000 Deferred        mpr<elf>
  \-PE 7df20000-7df36000 \               mpr
ELF 7df36000-7df4f000 Deferred        libz.so.1
ELF 7df4f000-7dfca000 Deferred        wininet<elf>
  \-PE 7df60000-7dfca000 \               wininet
ELF 7dfca000-7dfd1000 Deferred        libxdmcp.so.6
ELF 7dfd1000-7dfd5000 Deferred        libxau.so.6
ELF 7dfd5000-7dfe2000 Deferred        libdrm.so.2
ELF 7dfe2000-7dfe8000 Deferred        libxxf86vm.so.1
ELF 7dfe8000-7e00a000 Deferred        libxcb.so.1
ELF 7e00a000-7e022000 Deferred        libxcb-glx.so.0
ELF 7e022000-7e159000 Deferred        libx11.so.6
ELF 7e159000-7e160000 Deferred        libxfixes.so.3
ELF 7e160000-7e172000 Deferred        libxext.so.6
ELF 7e172000-7e189000 Deferred        libglapi.so.0
ELF 7e189000-7e1a6000 Deferred        libgcc_s.so.1
ELF 7e28f000-7e2e8000 Deferred        libgl.so.1
ELF 7e2e8000-7e36f000 Deferred        libglu.so.1
ELF 7e397000-7e3af000 Deferred        glu32<elf>
  \-PE 7e3a0000-7e3af000 \               glu32
ELF 7e3af000-7e4bd000 Deferred        opengl32<elf>
  \-PE 7e3d0000-7e4bd000 \               opengl32
ELF 7e4bd000-7e4fd000 Deferred        winspool<elf>
  \-PE 7e4c0000-7e4fd000 \               winspool
ELF 7e4fd000-7e605000 Deferred        comctl32<elf>
  \-PE 7e500000-7e605000 \               comctl32
ELF 7e605000-7e67f000 Deferred        shlwapi<elf>
  \-PE 7e610000-7e67f000 \               shlwapi
ELF 7e67f000-7e8b3000 Deferred        shell32<elf>
  \-PE 7e690000-7e8b3000 \               shell32
ELF 7e8b3000-7e99f000 Deferred        comdlg32<elf>
  \-PE 7e8c0000-7e99f000 \               comdlg32
ELF 7e99f000-7e9b9000 Deferred        version<elf>
  \-PE 7e9a0000-7e9b9000 \               version
ELF 7e9b9000-7ea28000 Deferred        advapi32<elf>
  \-PE 7e9d0000-7ea28000 \               advapi32
ELF 7ea28000-7eb46000 Deferred        gdi32<elf>
  \-PE 7ea30000-7eb46000 \               gdi32
ELF 7eb46000-7eca1000 Deferred        user32<elf>
  \-PE 7eb60000-7eca1000 \               user32
ELF 7eca1000-7ed4a000 Deferred        msvcrt<elf>
  \-PE 7ecb0000-7ed4a000 \               msvcrt
ELF 7ed51000-7ed5e000 Deferred        libnss_files.so.2
ELF 7ed5e000-7ed6a000 Deferred        libnss_nis.so.2
ELF 7ed6a000-7ed83000 Deferred        libnsl.so.1
ELF 7ed83000-7ed8c000 Deferred        libnss_compat.so.2
ELF 7ef8c000-7efcf000 Deferred        libm.so.6
ELF 7efcf000-7efd8000 Deferred        librt.so.1
ELF 7efd8000-7efdd000 Deferred        libxcb-dri2.so.0
ELF f7362000-f7365000 Deferred        libx11-xcb.so.1
ELF f7366000-f736b000 Deferred        libdl.so.2
ELF f736b000-f751e000 Deferred        libc.so.6
ELF f751f000-f753a000 Deferred        libpthread.so.0
ELF f753c000-f7540000 Deferred        libxdamage.so.1
ELF f7562000-f7717000 Dwarf           libwine.so.1
ELF f7719000-f773b000 Deferred        ld-linux.so.2
ELF f773b000-f773c000 Deferred        [vdso].so
Threads:
process  tid      prio (all id:s are in hex)
0000000e services.exe
0000001e    0
0000001d    0
00000019    0
00000016    0
00000014    0
00000010    0
0000000f    0
00000012 winedevice.exe
0000001c    0
00000018    0
00000017    0
00000013    0
0000001a plugplay.exe
00000020    0
0000001f    0
0000001b    0
00000021 explorer.exe
00000023    0
00000022    0
00000024 (D) C:\Program Files (x86)\POFCS2\pcs2.exe
00000028    0 <==
00000027    0
00000026    0
00000025    0
System information:
    Wine build: wine-1.7.1
    Platform: i386 (WOW64)
    Host system: Linux
    Host version: 3.8.0-30-generic

 
PCS2 was written with cross-platform in mind; I built it on Ubuntu a couple months ago, it's fairly straightforward. You can check out the code from git://alliance.git.sourceforge.net/gitroot/alliance/PCS2

Surely running it natively is a better option than using Wine? The only gotcha, at least last time I checked, is that it handles texture filenames case-sensitive on Linux, while FSO does not.

 
What tool do you use for compiling it?

 
It's set up for Scons; some of the other dependencies that comes to mind are Boost and DevIL (libdevil-dev on Ubuntu). I may be forgetting a few.

 
I installed all scons' and boost's dependencies, but I'm still getting an error such as "boost-shared file not found". Maybe I miss the other library you mentioned. I'll try later and let you know...

 
I'm getting this now...
Code: [Select]
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
g++ -o debug/Main_Panel.o -c -Wall -pthread -g -DUNIX -DHAVE_SYS_TYPES_H -DHAVE_SYS_STAT_H -DHAVE_UNISTD_H -DILUT_USE_OPENGL -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXDEBUG__ -D__WXGTK__ -D_DEBUG -Ipugixml -I/usr/lib/x86_64-linux-gnu/wx/include/gtk2-unicode-debug-2.8 -I/usr/include/wx-2.8 debug/Main_Panel.cpp
In file included from debug/model_editor_ctrl.h:5:0,
                 from debug/main_panel.h:66,
                 from debug/Main_Panel.cpp:120:
debug/primitive_ctrl.h: In instantiation of '_vector_button_ctrl<data_ctrl>::_vector_button_ctrl(wxWindow*, wxString, wxString, wxString) [with data_ctrl = text_ctrl]':
debug/primitive_ctrl.h:280:77:   required from here
debug/primitive_ctrl.h:253:3: error: 'add_control' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
debug/primitive_ctrl.h:253:3: note: declarations in dependent base 'editor<vector3d>' are not found by unqualified lookup
debug/primitive_ctrl.h:253:3: note: use 'this->add_control' instead
debug/primitive_ctrl.h: In instantiation of 'primitive_ctrl<type, data_ctrl>::primitive_ctrl(wxWindow*, wxString, int, int, int) [with type = bobboau::matrix; data_ctrl = text_ctrl]':
debug/primitive_ctrl.h:455:60:   required from here
debug/primitive_ctrl.h:66:3: error: 'add_control' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
debug/primitive_ctrl.h:66:3: note: declarations in dependent base 'editor<bobboau::matrix>' are not found by unqualified lookup
debug/primitive_ctrl.h:66:3: note: use 'this->add_control' instead
In file included from debug/SHLD_editor.h:4:0,
                 from debug/chunk_editors.h:1,
                 from debug/Main_Panel.cpp:121:
debug/array_ctrl.h: In instantiation of 'type_array_ctrl<type, type_control>::type_array_ctrl(wxWindow*, wxString, wxString, int, int, int, bool) [with type = float; type_control = float_ctrl]':
debug/array_ctrl.h:412:81:   required from here
debug/array_ctrl.h:369:3: error: 'add_control' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
debug/array_ctrl.h:369:3: note: declarations in dependent base 'editor<std::vector<float> >' are not found by unqualified lookup
debug/array_ctrl.h:369:3: note: use 'this->add_control' instead
debug/array_ctrl.h: In instantiation of 'type_array_ctrl<type, type_control>::type_array_ctrl(wxWindow*, wxString, wxString, int, int, int, bool) [with type = int; type_control = int_ctrl]':
debug/array_ctrl.h:428:77:   required from here
debug/array_ctrl.h:369:3: error: 'add_control' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
debug/array_ctrl.h:369:3: note: declarations in dependent base 'editor<std::vector<int> >' are not found by unqualified lookup
debug/array_ctrl.h:369:3: note: use 'this->add_control' instead
debug/array_ctrl.h: In instantiation of 'type_array_ctrl<type, type_control>::type_array_ctrl(wxWindow*, wxString, wxString, int, int, int, bool) [with type = int; type_control = model_list_ctrl]':                                                                                                                                                     
debug/array_ctrl.h:444:84:   required from here                                                                                                                             
debug/array_ctrl.h:369:3: error: 'add_control' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
debug/array_ctrl.h:369:3: note: declarations in dependent base 'editor<std::vector<int> >' are not found by unqualified lookup
debug/array_ctrl.h:369:3: note: use 'this->add_control' instead
debug/array_ctrl.h: In instantiation of 'type_array_ctrl<type, type_control>::type_array_ctrl(wxWindow*, wxString, wxString, int, int, int, bool) [with type = int; type_control = path_list_ctrl]':
debug/array_ctrl.h:455:83:   required from here
debug/array_ctrl.h:369:3: error: 'add_control' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
debug/array_ctrl.h:369:3: note: declarations in dependent base 'editor<std::vector<int> >' are not found by unqualified lookup
debug/array_ctrl.h:369:3: note: use 'this->add_control' instead
debug/array_ctrl.h: In instantiation of 'type_array_ctrl<type, type_control>::type_array_ctrl(wxWindow*, wxString, wxString, int, int, int, bool) [with type = std::basic_string<char>; type_control = string_ctrl]':
debug/array_ctrl.h:466:88:   required from here
debug/array_ctrl.h:369:3: error: 'add_control' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
debug/array_ctrl.h:369:3: note: declarations in dependent base 'editor<std::vector<std::basic_string<char> > >' are not found by unqualified lookup
debug/array_ctrl.h:369:3: note: use 'this->add_control' instead
debug/array_ctrl.h: In instantiation of 'type_array_ctrl<type, type_control>::type_array_ctrl(wxWindow*, wxString, wxString, int, int, int, bool) [with type = std::basic_string<char>; type_control = multi_string_ctrl]':
debug/array_ctrl.h:482:94:   required from here
debug/array_ctrl.h:369:3: error: 'add_control' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
debug/array_ctrl.h:369:3: note: declarations in dependent base 'editor<std::vector<std::basic_string<char> > >' are not found by unqualified lookup
debug/array_ctrl.h:369:3: note: use 'this->add_control' instead
debug/array_ctrl.h: In instantiation of 'type_array_ctrl<type, type_control>::type_array_ctrl(wxWindow*, wxString, wxString, int, int, int, bool) [with type = vector3d; type_control = vector_ctrl]':
debug/array_ctrl.h:498:85:   required from here
debug/array_ctrl.h:369:3: error: 'add_control' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
debug/array_ctrl.h:369:3: note: declarations in dependent base 'editor<std::vector<vector3d> >' are not found by unqualified lookup
debug/array_ctrl.h:369:3: note: use 'this->add_control' instead
In file included from debug/model_editor_ctrl.h:5:0,
                 from debug/main_panel.h:66,
                 from debug/Main_Panel.cpp:120:
debug/primitive_ctrl.h: In instantiation of 'suggest_ctrl<type, ctrl>::suggest_ctrl(wxWindow*, wxString, std::vector<L1TYPE>, int) [with type = std::basic_string<char>; ctrl = multi_string_ctrl]':
debug/SOBJ_editor.h:91:114:   required from here
debug/primitive_ctrl.h:487:3: error: 'add_control' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
debug/primitive_ctrl.h:487:3: note: declarations in dependent base 'editor<std::basic_string<char> >' are not found by unqualified lookup
debug/primitive_ctrl.h:487:3: note: use 'this->add_control' instead
In file included from debug/SHLD_editor.h:4:0,
                 from debug/chunk_editors.h:1,
                 from debug/Main_Panel.cpp:121:
debug/array_ctrl.h: In instantiation of 'type_array_ctrl<type, type_control>::type_array_ctrl(wxWindow*, wxString, wxString, int, int, int, bool) [with type = pcs_pvert; type_control = path_vert_ctrl]':
debug/PATH_editor.h:51:103:   required from here
debug/array_ctrl.h:369:3: error: 'add_control' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
debug/array_ctrl.h:369:3: note: declarations in dependent base 'editor<std::vector<pcs_pvert> >' are not found by unqualified lookup
debug/array_ctrl.h:369:3: note: use 'this->add_control' instead
In file included from debug/model_editor_ctrl.h:5:0,
                 from debug/main_panel.h:66,
                 from debug/Main_Panel.cpp:120:
debug/primitive_ctrl.h: In instantiation of 'suggest_ctrl<type, ctrl>::suggest_ctrl(wxWindow*, wxString, std::vector<L1TYPE>, int) [with type = std::basic_string<char>; ctrl = string_ctrl]':
debug/PATH_editor.h:80:89:   required from here
debug/primitive_ctrl.h:487:3: error: 'add_control' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
debug/primitive_ctrl.h:487:3: note: declarations in dependent base 'editor<std::basic_string<char> >' are not found by unqualified lookup
debug/primitive_ctrl.h:487:3: note: use 'this->add_control' instead
In file included from debug/SHLD_editor.h:4:0,
                 from debug/chunk_editors.h:1,
                 from debug/Main_Panel.cpp:121:
debug/array_ctrl.h: In instantiation of 'type_array_ctrl<type, type_control>::type_array_ctrl(wxWindow*, wxString, wxString, int, int, int, bool) [with type = pcs_path; type_control = path_ctrl]':
debug/PATH_editor.h:129:97:   required from here
debug/array_ctrl.h:369:3: error: 'add_control' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
debug/array_ctrl.h:369:3: note: declarations in dependent base 'editor<std::vector<pcs_path> >' are not found by unqualified lookup
debug/array_ctrl.h:369:3: note: use 'this->add_control' instead
debug/array_ctrl.h: In instantiation of 'type_array_ctrl<type, type_control>::type_array_ctrl(wxWindow*, wxString, wxString, int, int, int, bool) [with type = pcs_hardpoint; type_control = hard_point_ctrl]':
debug/hardpoint_editor.h:49:106:   required from here
debug/array_ctrl.h:369:3: error: 'add_control' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
debug/array_ctrl.h:369:3: note: declarations in dependent base 'editor<std::vector<pcs_hardpoint> >' are not found by unqualified lookup
debug/array_ctrl.h:369:3: note: use 'this->add_control' instead
debug/array_ctrl.h: In instantiation of 'type_array_ctrl<type, type_control>::type_array_ctrl(wxWindow*, wxString, wxString, int, int, int, bool) [with type = pcs_turret; type_control = turret_ctrl]':
debug/TURRET_editor.h:75:102:   required from here
debug/array_ctrl.h:369:3: error: 'add_control' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
debug/array_ctrl.h:369:3: note: declarations in dependent base 'editor<std::vector<pcs_turret> >' are not found by unqualified lookup
debug/array_ctrl.h:369:3: note: use 'this->add_control' instead
debug/array_ctrl.h: In instantiation of 'type_array_ctrl<type, type_control>::type_array_ctrl(wxWindow*, wxString, wxString, int, int, int, bool) [with type = pcs_thrust_glow; type_control = glow_point_ctrl]':
debug/glow_points.h:53:108:   required from here
debug/array_ctrl.h:369:3: error: 'add_control' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
debug/array_ctrl.h:369:3: note: declarations in dependent base 'editor<std::vector<pcs_thrust_glow> >' are not found by unqualified lookup
debug/array_ctrl.h:369:3: note: use 'this->add_control' instead
debug/array_ctrl.h: In instantiation of 'type_array_ctrl<type, type_control>::type_array_ctrl(wxWindow*, wxString, wxString, int, int, int, bool) [with type = pcs_glow_array; type_control = glow_bank_point_ctrl]':
debug/GLOW_editor.h:85:112:   required from here
debug/array_ctrl.h:369:3: error: 'add_control' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
debug/array_ctrl.h:369:3: note: declarations in dependent base 'editor<std::vector<pcs_glow_array> >' are not found by unqualified lookup
debug/array_ctrl.h:369:3: note: use 'this->add_control' instead
debug/array_ctrl.h: In instantiation of 'type_array_ctrl<type, type_control>::type_array_ctrl(wxWindow*, wxString, wxString, int, int, int, bool) [with type = pcs_thruster; type_control = thruster_bank_point_ctrl]':
debug/FUEL_editor.h:59:114:   required from here
debug/array_ctrl.h:369:3: error: 'add_control' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
debug/array_ctrl.h:369:3: note: declarations in dependent base 'editor<std::vector<pcs_thruster> >' are not found by unqualified lookup
debug/array_ctrl.h:369:3: note: use 'this->add_control' instead
debug/array_ctrl.h: In instantiation of 'type_array_ctrl<type, type_control>::type_array_ctrl(wxWindow*, wxString, wxString, int, int, int, bool) [with type = pcs_eye_pos; type_control = eye_point_ctrl]':
debug/EYE_editor.h:52:102:   required from here
debug/array_ctrl.h:369:3: error: 'add_control' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
debug/array_ctrl.h:369:3: note: declarations in dependent base 'editor<std::vector<pcs_eye_pos> >' are not found by unqualified lookup
debug/array_ctrl.h:369:3: note: use 'this->add_control' instead
debug/array_ctrl.h: In instantiation of 'type_array_ctrl<type, type_control>::type_array_ctrl(wxWindow*, wxString, wxString, int, int, int, bool) [with type = pcs_special; type_control = spcl_point_ctrl]':
debug/SPCL_editor.h:69:107:   required from here
debug/array_ctrl.h:369:3: error: 'add_control' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
debug/array_ctrl.h:369:3: note: declarations in dependent base 'editor<std::vector<pcs_special> >' are not found by unqualified lookup
debug/array_ctrl.h:369:3: note: use 'this->add_control' instead
debug/array_ctrl.h: In instantiation of 'type_array_ctrl<type, type_control>::type_array_ctrl(wxWindow*, wxString, wxString, int, int, int, bool) [with type = pcs_dock_point; type_control = dock_pnt_ctrl]':
debug/DOCK_editor.h:68:107:   required from here
debug/array_ctrl.h:369:3: error: 'add_control' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
debug/array_ctrl.h:369:3: note: declarations in dependent base 'editor<std::vector<pcs_dock_point> >' are not found by unqualified lookup
debug/array_ctrl.h:369:3: note: use 'this->add_control' instead
debug/array_ctrl.h: In instantiation of 'type_array_ctrl<type, type_control>::type_array_ctrl(wxWindow*, wxString, wxString, int, int, int, bool) [with type = std::vector<pcs_hardpoint>; type_control = weapon_hard_point_array_ctrl]':
debug/WPNT_editor.h:134:140:   required from here
debug/array_ctrl.h:369:3: error: 'add_control' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
debug/array_ctrl.h:369:3: note: declarations in dependent base 'editor<std::vector<std::vector<pcs_hardpoint>, std::allocator<std::vector<pcs_hardpoint> > > >' are not found by unqualified lookup
debug/array_ctrl.h:369:3: note: use 'this->add_control' instead
debug/array_ctrl.h: In instantiation of 'type_array_ctrl<type, type_control>::type_array_ctrl(wxWindow*, wxString, wxString, int, int, int, bool) [with type = pcs_insig_face_vert; type_control = insignia_vert_ctrl]':
debug/INSG_editor.h:75:126:   required from here
debug/array_ctrl.h:369:3: error: 'add_control' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
debug/array_ctrl.h:369:3: note: declarations in dependent base 'editor<std::vector<pcs_insig_face_vert, std::allocator<pcs_insig_face_vert> > >' are not found by unqualified lookup
debug/array_ctrl.h:369:3: note: use 'this->add_control' instead
debug/array_ctrl.h: In instantiation of 'type_array_ctrl<type, type_control>::type_array_ctrl(wxWindow*, wxString, wxString, int, int, int, bool) [with type = pcs_insig_face; type_control = insignia_face_ctrl]':
debug/INSG_editor.h:129:113:   required from here
debug/array_ctrl.h:369:3: error: 'add_control' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
debug/array_ctrl.h:369:3: note: declarations in dependent base 'editor<std::vector<pcs_insig_face> >' are not found by unqualified lookup
debug/array_ctrl.h:369:3: note: use 'this->add_control' instead
debug/array_ctrl.h: In instantiation of 'type_array_ctrl<type, type_control>::type_array_ctrl(wxWindow*, wxString, wxString, int, int, int, bool) [with type = pcs_insig; type_control = insignia_ctrl]':
debug/INSG_editor.h:288:103:   required from here
debug/array_ctrl.h:369:3: error: 'add_control' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
debug/array_ctrl.h:369:3: note: declarations in dependent base 'editor<std::vector<pcs_insig> >' are not found by unqualified lookup
debug/array_ctrl.h:369:3: note: use 'this->add_control' instead
debug/array_ctrl.h: In instantiation of 'type_array_ctrl<type, type_control>::type_array_ctrl(wxWindow*, wxString, wxString, int, int, int, bool) [with type = pcs_crs_sect; type_control = cross_section_editor]':
debug/header_editor.h:49:103:   required from here
debug/array_ctrl.h:369:3: error: 'add_control' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
debug/array_ctrl.h:369:3: note: declarations in dependent base 'editor<std::vector<pcs_crs_sect> >' are not found by unqualified lookup
debug/array_ctrl.h:369:3: note: use 'this->add_control' instead
In file included from debug/model_editor_ctrl.h:5:0,
                 from debug/main_panel.h:66,
                 from debug/Main_Panel.cpp:120:
debug/primitive_ctrl.h: In instantiation of 'primitive_ctrl<type, data_ctrl>::primitive_ctrl(wxWindow*, wxString, int, int, int) [with type = std::basic_string<char>; data_ctrl = text_ctrl]':
debug/primitive_ctrl.h:102:55:   required from '_string_ctrl<data_ctrl>::_string_ctrl(wxWindow*, wxString) [with data_ctrl = text_ctrl]'
debug/primitive_ctrl.h:109:83:   required from here
debug/primitive_ctrl.h:66:3: error: 'add_control' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
debug/primitive_ctrl.h:66:3: note: declarations in dependent base 'editor<std::basic_string<char> >' are not found by unqualified lookup
debug/primitive_ctrl.h:66:3: note: use 'this->add_control' instead
debug/primitive_ctrl.h: In instantiation of 'primitive_ctrl<type, data_ctrl>::primitive_ctrl(wxWindow*, wxString, int, int, int) [with type = std::basic_string<char>; data_ctrl = wxStaticText]':
debug/primitive_ctrl.h:102:55:   required from '_string_ctrl<data_ctrl>::_string_ctrl(wxWindow*, wxString) [with data_ctrl = wxStaticText]'
debug/primitive_ctrl.h:113:86:   required from here
debug/primitive_ctrl.h:66:3: error: 'add_control' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
debug/primitive_ctrl.h:66:3: note: declarations in dependent base 'editor<std::basic_string<char> >' are not found by unqualified lookup
debug/primitive_ctrl.h:66:3: note: use 'this->add_control' instead
debug/primitive_ctrl.h: In instantiation of 'primitive_ctrl<type, data_ctrl>::primitive_ctrl(wxWindow*, wxString, int, int, int) [with type = float; data_ctrl = text_ctrl]':
debug/primitive_ctrl.h:157:50:   required from '_float_ctrl<data_ctrl>::_float_ctrl(wxWindow*, wxString) [with data_ctrl = text_ctrl]'
debug/primitive_ctrl.h:164:81:   required from here
debug/primitive_ctrl.h:66:3: error: 'add_control' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
debug/primitive_ctrl.h:66:3: note: declarations in dependent base 'editor<float>' are not found by unqualified lookup
debug/primitive_ctrl.h:66:3: note: use 'this->add_control' instead
debug/primitive_ctrl.h: In instantiation of 'primitive_ctrl<type, data_ctrl>::primitive_ctrl(wxWindow*, wxString, int, int, int) [with type = float; data_ctrl = wxStaticText]':
debug/primitive_ctrl.h:157:50:   required from '_float_ctrl<data_ctrl>::_float_ctrl(wxWindow*, wxString) [with data_ctrl = wxStaticText]'
debug/primitive_ctrl.h:168:84:   required from here
debug/primitive_ctrl.h:66:3: error: 'add_control' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
debug/primitive_ctrl.h:66:3: note: declarations in dependent base 'editor<float>' are not found by unqualified lookup
debug/primitive_ctrl.h:66:3: note: use 'this->add_control' instead
debug/primitive_ctrl.h: In instantiation of 'primitive_ctrl<type, data_ctrl>::primitive_ctrl(wxWindow*, wxString, int, int, int) [with type = int; data_ctrl = text_ctrl]':
debug/primitive_ctrl.h:184:47:   required from '_int_ctrl<data_ctrl>::_int_ctrl(wxWindow*, wxString) [with data_ctrl = text_ctrl]'
debug/primitive_ctrl.h:191:77:   required from here
debug/primitive_ctrl.h:66:3: error: 'add_control' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
debug/primitive_ctrl.h:66:3: note: declarations in dependent base 'editor<int>' are not found by unqualified lookup
debug/primitive_ctrl.h:66:3: note: use 'this->add_control' instead
debug/primitive_ctrl.h: In instantiation of 'primitive_ctrl<type, data_ctrl>::primitive_ctrl(wxWindow*, wxString, int, int, int) [with type = int; data_ctrl = wxStaticText]':
debug/primitive_ctrl.h:184:47:   required from '_int_ctrl<data_ctrl>::_int_ctrl(wxWindow*, wxString) [with data_ctrl = wxStaticText]'
debug/primitive_ctrl.h:195:80:   required from here
debug/primitive_ctrl.h:66:3: error: 'add_control' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
debug/primitive_ctrl.h:66:3: note: declarations in dependent base 'editor<int>' are not found by unqualified lookup
debug/primitive_ctrl.h:66:3: note: use 'this->add_control' instead
debug/primitive_ctrl.h: In instantiation of 'primitive_ctrl<type, data_ctrl>::primitive_ctrl(wxWindow*, wxString, int, int, int) [with type = vector3d; data_ctrl = text_ctrl]':
debug/primitive_ctrl.h:228:52:   required from '_vector_ctrl<data_ctrl>::_vector_ctrl(wxWindow*, wxString) [with data_ctrl = text_ctrl]'
debug/primitive_ctrl.h:236:83:   required from here
debug/primitive_ctrl.h:66:3: error: 'add_control' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
debug/primitive_ctrl.h:66:3: note: declarations in dependent base 'editor<vector3d>' are not found by unqualified lookup
debug/primitive_ctrl.h:66:3: note: use 'this->add_control' instead
debug/primitive_ctrl.h: In instantiation of 'primitive_ctrl<type, data_ctrl>::primitive_ctrl(wxWindow*, wxString, int, int, int) [with type = vector3d; data_ctrl = wxStaticText]':
debug/primitive_ctrl.h:228:52:   required from '_vector_ctrl<data_ctrl>::_vector_ctrl(wxWindow*, wxString) [with data_ctrl = wxStaticText]'
debug/primitive_ctrl.h:240:86:   required from here
debug/primitive_ctrl.h:66:3: error: 'add_control' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
debug/primitive_ctrl.h:66:3: note: declarations in dependent base 'editor<vector3d>' are not found by unqualified lookup
debug/primitive_ctrl.h:66:3: note: use 'this->add_control' instead
In file included from debug/main_panel.h:66:0,
                 from debug/Main_Panel.cpp:120:
debug/model_editor_ctrl.h: In instantiation of 'void editor_ctrl<type>::undo() [with type = std::vector<pcs_insig>]':
debug/model_editor_ctrl.h:180:3:   required from 'void model_editor_ctrl<type, editor_type>::undo() [with type = std::vector<pcs_insig>; editor_type = INSG_ctrl]'
debug/Main_Panel.cpp:2041:1:   required from here
debug/model_editor_ctrl.h:117:3: error: 'set_value' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
debug/model_editor_ctrl.h:117:3: note: declarations in dependent base 'editor<std::vector<pcs_insig> >' are not found by unqualified lookup
debug/model_editor_ctrl.h:117:3: note: use 'this->set_value' instead
debug/model_editor_ctrl.h: In instantiation of 'void editor_ctrl<type>::redo() [with type = std::vector<pcs_insig>]':
debug/model_editor_ctrl.h:183:3:   required from 'void model_editor_ctrl<type, editor_type>::redo() [with type = std::vector<pcs_insig>; editor_type = INSG_ctrl]'
debug/Main_Panel.cpp:2041:1:   required from here
debug/model_editor_ctrl.h:121:3: error: 'set_value' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
debug/model_editor_ctrl.h:121:3: note: declarations in dependent base 'editor<std::vector<pcs_insig> >' are not found by unqualified lookup
debug/model_editor_ctrl.h:121:3: note: use 'this->set_value' instead
debug/model_editor_ctrl.h: In instantiation of 'void editor_ctrl<type>::undo() [with type = std::vector<pcs_shield_triangle>]':
debug/model_editor_ctrl.h:180:3:   required from 'void model_editor_ctrl<type, editor_type>::undo() [with type = std::vector<pcs_shield_triangle>; editor_type = SHLD_ctrl]'
debug/Main_Panel.cpp:2041:1:   required from here
debug/model_editor_ctrl.h:117:3: error: 'set_value' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
debug/model_editor_ctrl.h:117:3: note: declarations in dependent base 'editor<std::vector<pcs_shield_triangle> >' are not found by unqualified lookup
debug/model_editor_ctrl.h:117:3: note: use 'this->set_value' instead
debug/model_editor_ctrl.h: In instantiation of 'void editor_ctrl<type>::redo() [with type = std::vector<pcs_shield_triangle>]':
debug/model_editor_ctrl.h:183:3:   required from 'void model_editor_ctrl<type, editor_type>::redo() [with type = std::vector<pcs_shield_triangle>; editor_type = SHLD_ctrl]'
debug/Main_Panel.cpp:2041:1:   required from here
debug/model_editor_ctrl.h:121:3: error: 'set_value' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
debug/model_editor_ctrl.h:121:3: note: declarations in dependent base 'editor<std::vector<pcs_shield_triangle> >' are not found by unqualified lookup
debug/model_editor_ctrl.h:121:3: note: use 'this->set_value' instead
debug/model_editor_ctrl.h: In instantiation of 'void editor_ctrl<type>::undo() [with type = std::vector<std::basic_string<char> >]':
debug/model_editor_ctrl.h:180:3:   required from 'void model_editor_ctrl<type, editor_type>::undo() [with type = std::vector<std::basic_string<char> >; editor_type = PINF_ctrl]'
debug/Main_Panel.cpp:2041:1:   required from here
debug/model_editor_ctrl.h:117:3: error: 'set_value' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
debug/model_editor_ctrl.h:117:3: note: declarations in dependent base 'editor<std::vector<std::basic_string<char> > >' are not found by unqualified lookup
debug/model_editor_ctrl.h:117:3: note: use 'this->set_value' instead
debug/model_editor_ctrl.h: In instantiation of 'void editor_ctrl<type>::redo() [with type = std::vector<std::basic_string<char> >]':
debug/model_editor_ctrl.h:183:3:   required from 'void model_editor_ctrl<type, editor_type>::redo() [with type = std::vector<std::basic_string<char> >; editor_type = PINF_ctrl]'
debug/Main_Panel.cpp:2041:1:   required from here
debug/model_editor_ctrl.h:121:3: error: 'set_value' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
debug/model_editor_ctrl.h:121:3: note: declarations in dependent base 'editor<std::vector<std::basic_string<char> > >' are not found by unqualified lookup
debug/model_editor_ctrl.h:121:3: note: use 'this->set_value' instead
debug/model_editor_ctrl.h: In instantiation of 'void editor_ctrl<type>::undo() [with type = std::vector<pcs_path>]':
debug/model_editor_ctrl.h:180:3:   required from 'void model_editor_ctrl<type, editor_type>::undo() [with type = std::vector<pcs_path>; editor_type = PATH_ctrl]'
debug/Main_Panel.cpp:2041:1:   required from here
debug/model_editor_ctrl.h:117:3: error: 'set_value' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
debug/model_editor_ctrl.h:117:3: note: declarations in dependent base 'editor<std::vector<pcs_path> >' are not found by unqualified lookup
debug/model_editor_ctrl.h:117:3: note: use 'this->set_value' instead
debug/model_editor_ctrl.h: In instantiation of 'void editor_ctrl<type>::redo() [with type = std::vector<pcs_path>]':
debug/model_editor_ctrl.h:183:3:   required from 'void model_editor_ctrl<type, editor_type>::redo() [with type = std::vector<pcs_path>; editor_type = PATH_ctrl]'
debug/Main_Panel.cpp:2041:1:   required from here
debug/model_editor_ctrl.h:121:3: error: 'set_value' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
debug/model_editor_ctrl.h:121:3: note: declarations in dependent base 'editor<std::vector<pcs_path> >' are not found by unqualified lookup
debug/model_editor_ctrl.h:121:3: note: use 'this->set_value' instead
debug/model_editor_ctrl.h: In instantiation of 'void editor_ctrl<type>::undo() [with type = std::vector<pcs_glow_array>]':
debug/model_editor_ctrl.h:180:3:   required from 'void model_editor_ctrl<type, editor_type>::undo() [with type = std::vector<pcs_glow_array>; editor_type = GLOW_ctrl]'
debug/Main_Panel.cpp:2041:1:   required from here
debug/model_editor_ctrl.h:117:3: error: 'set_value' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
debug/model_editor_ctrl.h:117:3: note: declarations in dependent base 'editor<std::vector<pcs_glow_array> >' are not found by unqualified lookup
debug/model_editor_ctrl.h:117:3: note: use 'this->set_value' instead
debug/model_editor_ctrl.h: In instantiation of 'void editor_ctrl<type>::redo() [with type = std::vector<pcs_glow_array>]':
debug/model_editor_ctrl.h:183:3:   required from 'void model_editor_ctrl<type, editor_type>::redo() [with type = std::vector<pcs_glow_array>; editor_type = GLOW_ctrl]'
debug/Main_Panel.cpp:2041:1:   required from here
debug/model_editor_ctrl.h:121:3: error: 'set_value' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
debug/model_editor_ctrl.h:121:3: note: declarations in dependent base 'editor<std::vector<pcs_glow_array> >' are not found by unqualified lookup
debug/model_editor_ctrl.h:121:3: note: use 'this->set_value' instead
debug/model_editor_ctrl.h: In instantiation of 'void editor_ctrl<type>::undo() [with type = std::vector<pcs_turret>]':
debug/model_editor_ctrl.h:180:3:   required from 'void model_editor_ctrl<type, editor_type>::undo() [with type = std::vector<pcs_turret>; editor_type = TGUN_ctrl]'
debug/Main_Panel.cpp:2041:1:   required from here
debug/model_editor_ctrl.h:117:3: error: 'set_value' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
debug/model_editor_ctrl.h:117:3: note: declarations in dependent base 'editor<std::vector<pcs_turret> >' are not found by unqualified lookup
debug/model_editor_ctrl.h:117:3: note: use 'this->set_value' instead
debug/model_editor_ctrl.h: In instantiation of 'void editor_ctrl<type>::redo() [with type = std::vector<pcs_turret>]':
debug/model_editor_ctrl.h:183:3:   required from 'void model_editor_ctrl<type, editor_type>::redo() [with type = std::vector<pcs_turret>; editor_type = TGUN_ctrl]'
debug/Main_Panel.cpp:2041:1:   required from here
debug/model_editor_ctrl.h:121:3: error: 'set_value' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
debug/model_editor_ctrl.h:121:3: note: declarations in dependent base 'editor<std::vector<pcs_turret> >' are not found by unqualified lookup
debug/model_editor_ctrl.h:121:3: note: use 'this->set_value' instead
debug/model_editor_ctrl.h: In instantiation of 'void editor_ctrl<type>::undo() [with type = std::vector<pcs_thruster>]':
debug/model_editor_ctrl.h:180:3:   required from 'void model_editor_ctrl<type, editor_type>::undo() [with type = std::vector<pcs_thruster>; editor_type = FUEL_ctrl]'
debug/Main_Panel.cpp:2041:1:   required from here
debug/model_editor_ctrl.h:117:3: error: 'set_value' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
debug/model_editor_ctrl.h:117:3: note: declarations in dependent base 'editor<std::vector<pcs_thruster> >' are not found by unqualified lookup
debug/model_editor_ctrl.h:117:3: note: use 'this->set_value' instead
debug/model_editor_ctrl.h: In instantiation of 'void editor_ctrl<type>::redo() [with type = std::vector<pcs_thruster>]':
debug/model_editor_ctrl.h:183:3:   required from 'void model_editor_ctrl<type, editor_type>::redo() [with type = std::vector<pcs_thruster>; editor_type = FUEL_ctrl]'
debug/Main_Panel.cpp:2041:1:   required from here
debug/model_editor_ctrl.h:121:3: error: 'set_value' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
debug/model_editor_ctrl.h:121:3: note: declarations in dependent base 'editor<std::vector<pcs_thruster> >' are not found by unqualified lookup
debug/model_editor_ctrl.h:121:3: note: use 'this->set_value' instead
debug/model_editor_ctrl.h: In instantiation of 'void editor_ctrl<type>::undo() [with type = std::vector<pcs_eye_pos>]':
debug/model_editor_ctrl.h:180:3:   required from 'void model_editor_ctrl<type, editor_type>::undo() [with type = std::vector<pcs_eye_pos>; editor_type = EYE_ctrl]'
debug/Main_Panel.cpp:2041:1:   required from here
debug/model_editor_ctrl.h:117:3: error: 'set_value' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
debug/model_editor_ctrl.h:117:3: note: declarations in dependent base 'editor<std::vector<pcs_eye_pos> >' are not found by unqualified lookup
debug/model_editor_ctrl.h:117:3: note: use 'this->set_value' instead
debug/model_editor_ctrl.h: In instantiation of 'void editor_ctrl<type>::redo() [with type = std::vector<pcs_eye_pos>]':
debug/model_editor_ctrl.h:183:3:   required from 'void model_editor_ctrl<type, editor_type>::redo() [with type = std::vector<pcs_eye_pos>; editor_type = EYE_ctrl]'
debug/Main_Panel.cpp:2041:1:   required from here
debug/model_editor_ctrl.h:121:3: error: 'set_value' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
debug/model_editor_ctrl.h:121:3: note: declarations in dependent base 'editor<std::vector<pcs_eye_pos> >' are not found by unqualified lookup
debug/model_editor_ctrl.h:121:3: note: use 'this->set_value' instead
debug/model_editor_ctrl.h: In instantiation of 'void editor_ctrl<type>::undo() [with type = std::vector<pcs_special>]':
debug/model_editor_ctrl.h:180:3:   required from 'void model_editor_ctrl<type, editor_type>::undo() [with type = std::vector<pcs_special>; editor_type = SPCL_ctrl]'
debug/Main_Panel.cpp:2041:1:   required from here
debug/model_editor_ctrl.h:117:3: error: 'set_value' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
debug/model_editor_ctrl.h:117:3: note: declarations in dependent base 'editor<std::vector<pcs_special> >' are not found by unqualified lookup
debug/model_editor_ctrl.h:117:3: note: use 'this->set_value' instead
debug/model_editor_ctrl.h: In instantiation of 'void editor_ctrl<type>::redo() [with type = std::vector<pcs_special>]':
debug/model_editor_ctrl.h:183:3:   required from 'void model_editor_ctrl<type, editor_type>::redo() [with type = std::vector<pcs_special>; editor_type = SPCL_ctrl]'
debug/Main_Panel.cpp:2041:1:   required from here
debug/model_editor_ctrl.h:121:3: error: 'set_value' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
debug/model_editor_ctrl.h:121:3: note: declarations in dependent base 'editor<std::vector<pcs_special> >' are not found by unqualified lookup
debug/model_editor_ctrl.h:121:3: note: use 'this->set_value' instead
debug/model_editor_ctrl.h: In instantiation of 'void editor_ctrl<type>::undo() [with type = std::vector<pcs_dock_point>]':
debug/model_editor_ctrl.h:180:3:   required from 'void model_editor_ctrl<type, editor_type>::undo() [with type = std::vector<pcs_dock_point>; editor_type = DOCK_ctrl]'
debug/Main_Panel.cpp:2041:1:   required from here
debug/model_editor_ctrl.h:117:3: error: 'set_value' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
debug/model_editor_ctrl.h:117:3: note: declarations in dependent base 'editor<std::vector<pcs_dock_point> >' are not found by unqualified lookup
debug/model_editor_ctrl.h:117:3: note: use 'this->set_value' instead
debug/model_editor_ctrl.h: In instantiation of 'void editor_ctrl<type>::redo() [with type = std::vector<pcs_dock_point>]':
debug/model_editor_ctrl.h:183:3:   required from 'void model_editor_ctrl<type, editor_type>::redo() [with type = std::vector<pcs_dock_point>; editor_type = DOCK_ctrl]'
debug/Main_Panel.cpp:2041:1:   required from here
debug/model_editor_ctrl.h:121:3: error: 'set_value' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
debug/model_editor_ctrl.h:121:3: note: declarations in dependent base 'editor<std::vector<pcs_dock_point> >' are not found by unqualified lookup
debug/model_editor_ctrl.h:121:3: note: use 'this->set_value' instead
debug/model_editor_ctrl.h: In instantiation of 'void editor_ctrl<type>::undo() [with type = std::vector<pcs_slot>]':
debug/model_editor_ctrl.h:180:3:   required from 'void model_editor_ctrl<type, editor_type>::undo() [with type = std::vector<pcs_slot>; editor_type = WPNT_ctrl<1>]'
debug/Main_Panel.cpp:2041:1:   required from here
debug/model_editor_ctrl.h:117:3: error: 'set_value' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
debug/model_editor_ctrl.h:117:3: note: declarations in dependent base 'editor<std::vector<pcs_slot> >' are not found by unqualified lookup
debug/model_editor_ctrl.h:117:3: note: use 'this->set_value' instead
debug/model_editor_ctrl.h: In instantiation of 'void editor_ctrl<type>::redo() [with type = std::vector<pcs_slot>]':
debug/model_editor_ctrl.h:183:3:   required from 'void model_editor_ctrl<type, editor_type>::redo() [with type = std::vector<pcs_slot>; editor_type = WPNT_ctrl<1>]'
debug/Main_Panel.cpp:2041:1:   required from here
debug/model_editor_ctrl.h:121:3: error: 'set_value' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
debug/model_editor_ctrl.h:121:3: note: declarations in dependent base 'editor<std::vector<pcs_slot> >' are not found by unqualified lookup
debug/model_editor_ctrl.h:121:3: note: use 'this->set_value' instead
debug/model_editor_ctrl.h: In instantiation of 'void editor_ctrl<type>::undo() [with type = pcs_sobj]':
debug/model_editor_ctrl.h:180:3:   required from 'void model_editor_ctrl<type, editor_type>::undo() [with type = pcs_sobj; editor_type = SOBJ_ctrl]'
debug/Main_Panel.cpp:2041:1:   required from here
debug/model_editor_ctrl.h:117:3: error: 'set_value' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
debug/model_editor_ctrl.h:117:3: note: declarations in dependent base 'editor<pcs_sobj>' are not found by unqualified lookup
debug/model_editor_ctrl.h:117:3: note: use 'this->set_value' instead
debug/model_editor_ctrl.h: In instantiation of 'void editor_ctrl<type>::redo() [with type = pcs_sobj]':
debug/model_editor_ctrl.h:183:3:   required from 'void model_editor_ctrl<type, editor_type>::redo() [with type = pcs_sobj; editor_type = SOBJ_ctrl]'
debug/Main_Panel.cpp:2041:1:   required from here
debug/model_editor_ctrl.h:121:3: error: 'set_value' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
debug/model_editor_ctrl.h:121:3: note: declarations in dependent base 'editor<pcs_sobj>' are not found by unqualified lookup
debug/model_editor_ctrl.h:121:3: note: use 'this->set_value' instead
debug/model_editor_ctrl.h: In instantiation of 'void editor_ctrl<type>::undo() [with type = header_data]':
debug/model_editor_ctrl.h:180:3:   required from 'void model_editor_ctrl<type, editor_type>::undo() [with type = header_data; editor_type = header_ctrl]'
debug/Main_Panel.cpp:2041:1:   required from here
debug/model_editor_ctrl.h:117:3: error: 'set_value' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
debug/model_editor_ctrl.h:117:3: note: declarations in dependent base 'editor<header_data>' are not found by unqualified lookup
debug/model_editor_ctrl.h:117:3: note: use 'this->set_value' instead
debug/model_editor_ctrl.h: In instantiation of 'void editor_ctrl<type>::redo() [with type = header_data]':
debug/model_editor_ctrl.h:183:3:   required from 'void model_editor_ctrl<type, editor_type>::redo() [with type = header_data; editor_type = header_ctrl]'
debug/Main_Panel.cpp:2041:1:   required from here
debug/model_editor_ctrl.h:121:3: error: 'set_value' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
debug/model_editor_ctrl.h:121:3: note: declarations in dependent base 'editor<header_data>' are not found by unqualified lookup
debug/model_editor_ctrl.h:121:3: note: use 'this->set_value' instead
debug/model_editor_ctrl.h: In instantiation of 'void editor_ctrl<type>::undo() [with type = vector3d]':
debug/model_editor_ctrl.h:180:3:   required from 'void model_editor_ctrl<type, editor_type>::undo() [with type = vector3d; editor_type = ACEN_ctrl]'
debug/Main_Panel.cpp:2041:1:   required from here
debug/model_editor_ctrl.h:117:3: error: 'set_value' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
debug/model_editor_ctrl.h:117:3: note: declarations in dependent base 'editor<vector3d>' are not found by unqualified lookup
debug/model_editor_ctrl.h:117:3: note: use 'this->set_value' instead
debug/model_editor_ctrl.h: In instantiation of 'void editor_ctrl<type>::redo() [with type = vector3d]':
debug/model_editor_ctrl.h:183:3:   required from 'void model_editor_ctrl<type, editor_type>::redo() [with type = vector3d; editor_type = ACEN_ctrl]'
debug/Main_Panel.cpp:2041:1:   required from here
debug/model_editor_ctrl.h:121:3: error: 'set_value' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
debug/model_editor_ctrl.h:121:3: note: declarations in dependent base 'editor<vector3d>' are not found by unqualified lookup
debug/model_editor_ctrl.h:121:3: note: use 'this->set_value' instead
scons: *** [debug/Main_Panel.o] Error 1
scons: building terminated because of errors.

Any idea?

 

Offline Tomo

  • 28
Looks like you're missing wxWidgets to me - do you have that library?

I believe PSC2 is currently using wxWidgets v2.8 (at least, that's the Windows dependency I'm missing to run it)

 
yes, I already have it.

 
PCS2 was written with cross-platform in mind; I built it on Ubuntu a couple months ago, it's fairly straightforward. You can check out the code from git://alliance.git.sourceforge.net/gitroot/alliance/PCS2

Surely running it natively is a better option than using Wine? The only gotcha, at least last time I checked, is that it handles texture filenames case-sensitive on Linux, while FSO does not.

@FreeSpaceFreak, may I have your build folder for download?

 
Oh yes, you'll need to add the -fpermissive flag to the SConstruct file - change line 6 to cc_flags = ['-Wall', '-fpermissive']

If that fails, here's the folder (20.3MB): http://www.mediafire.com/download/k911d7dd0ri1d6p/PCS2.tar.gz

 
thanks for your help! I'm still having issue:
1) As far as your PCS2 build is concerned, I manage to start the program, the UI shows correctly, but I don't manage to load .pof/.cob files. I get this:
Code: [Select]
pcs2d: /usr/include/boost/smart_ptr/shared_array.hpp:106: T& boost::shared_array<T>::operator[](std::ptrdiff_t) const [with T = vector3d; std::ptrdiff_t = long int]: asserzione "i >= 0" non riuscita. (this means assertion [...] not achieved)

2) when I try to compile my own PCS2 build I get this:
Code: [Select]
ale@ale-Zalman-i5:~/Applications/PCS2/alliance-pcs2$ scons
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
g++ -o pcs2d -pthread debug/AsyncProgress.o debug/BSPDataStructs.o debug/BSPHandler.o debug/COBHandler.o debug/DAEHandler.o debug/FileList.o debug/MOI.o debug/Main_Panel.o debug/POFHandler.o debug/VPReader.o debug/ase_file.o debug/color_options_dlg.o debug/combo.o debug/editor.o debug/geo_sphere.o debug/matrix.o debug/matrix3d.o debug/obj_file.o debug/ogl_vertex_buffers.o debug/op_stack.o debug/pcs2.o debug/pcs2_filethread.o debug/pcs_file.o debug/pcs_file_dstructs.o debug/pcs_pmf_ase.o debug/pcs_pmf_cob.o debug/pcs_pmf_dae.o debug/pcs_pmf_pof.o debug/pcs_pof_bspfuncs.o debug/tex_ctrl.o debug/text_ctrl.o debug/vector3d.o debug/versions.o debug/wxGL_PMFCanvas.o debug/wxPCSPref.o debug/GLee.o debug/compat/FE_GR_ogl_functable.o debug/compat/filelength.o debug/compat/strncmp.o -L/usr/lib/x86_64-linux-gnu -lGL -lGLU -lboost_system -lboost_filesystem -lboost_regex -lIL -lILU -lILUT -lwx_gtk2ud_gl-2.8 -lwx_gtk2ud_richtext-2.8 -lwx_gtk2ud_aui-2.8 -lwx_gtk2ud_xrc-2.8 -lwx_gtk2ud_qa-2.8 -lwx_gtk2ud_html-2.8 -lwx_gtk2ud_adv-2.8 -lwx_gtk2ud_core-2.8 -lwx_baseud_xml-2.8 -lwx_baseud_net-2.8 -lwx_baseud-2.8
/usr/bin/ld: debug/compat/FE_GR_ogl_functable.o: undefined reference to symbol 'SDL_GL_GetProcAddress'
/usr/bin/ld: note: 'SDL_GL_GetProcAddress' is defined in DSO /usr/lib/x86_64-linux-gnu/libSDL-1.2.so.0 so try adding it to the linker command line
/usr/lib/x86_64-linux-gnu/libSDL-1.2.so.0: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
scons: *** [pcs2d] Error 1
scons: building terminated because of errors.

I feel I'm missing some dependency, but I've got no clue about what it could be...
I'm sorry, but really a noob in compiling stuff. My know-how about this is limited to: "when you see a makefile you must type ./configure... make... make install and the trick is done!"...  :sigh:

 

Offline niffiwan

  • 211
  • Eluder Class
I think the linker wants "-lSDL" in the link command, but I don't know anything about how scons works.  Perhaps try running this on the command line before running scons?

Code: [Select]
export CXXFLAGS="$CXXFLAGS -lSDL"
Creating a fs2_open.log | Red Alert Bug = Hex Edit | MediaVPs 2014: Bigger HUD gauges | 32bit libs for 64bit Ubuntu
----
Debian Packages (testing/unstable): Freespace2 | wxLauncher
----
m|m: I think I'm suffering from Stockholm syndrome. Bmpman is starting to make sense and it's actually written reasonably well...

 
Just tried. Same result...

 
Maybe if someone could provide a complete list of libraries I should get for windows or linux alternatively I could manage to make it work in wine or natively on linux... Actually my netbook is running windows 7 and PCS2 obviously work there. Is there a way to see what libraries a program is using while running in windows?

 

Offline niffiwan

  • 211
  • Eluder Class
This is odd.  I downloaded FSF's tarball and had a look at the SConstruct file:

It seems to include the SDL lib:
Code: [Select]
libs = ['GL', 'GLU', 'boost_system', 'boost_filesystem', 'boost_regex', 'IL', 'ILU', 'ILUT', 'SDL']

But it's missing from your command output.
Code: [Select]
... -lGL -lGLU -lboost_system -lboost_filesystem -lboost_regex -lIL -lILU -lILUT ...

Maybe check if 'SDL' is still in your SConstruct file?  If it is, perhaps add it a 2nd time? i.e.

Code: [Select]
libs = ['GL', 'GLU', 'boost_system', 'boost_filesystem', 'boost_regex', 'IL', 'ILU', 'ILUT', 'SDL', 'SDL']

(I'm going to attempt to compile PCS2 on the PC on currently on, but I'll need to hunt down wxWidgets for Centos 1st...)
Creating a fs2_open.log | Red Alert Bug = Hex Edit | MediaVPs 2014: Bigger HUD gauges | 32bit libs for 64bit Ubuntu
----
Debian Packages (testing/unstable): Freespace2 | wxLauncher
----
m|m: I think I'm suffering from Stockholm syndrome. Bmpman is starting to make sense and it's actually written reasonably well...

 
Thank you Niffiwan! Compiling was successful now. but I'm still getting this error when trying to load a .pof:
Code: [Select]
pcs2d: /usr/include/boost/smart_ptr/shared_array.hpp:106: T& boost::shared_array<T>::operator[](std::ptrdiff_t) const [with T = vector3d; std::ptrdiff_t = long int]: asserzione "i >= 0" non riuscita.

How does your build? Everything regular?

 

Offline niffiwan

  • 211
  • Eluder Class
Finally sorted out all the dependencies (I had to compile wxWidgets & libdevil from source) and successfully compiled PCS2 on my Centos6 PC.  Using pcs2d I've managed to open Bomber2S-01.pof & Bomber04.pof from mediavps_3612 OK.  Which pof are you having problems opening?
Creating a fs2_open.log | Red Alert Bug = Hex Edit | MediaVPs 2014: Bigger HUD gauges | 32bit libs for 64bit Ubuntu
----
Debian Packages (testing/unstable): Freespace2 | wxLauncher
----
m|m: I think I'm suffering from Stockholm syndrome. Bmpman is starting to make sense and it's actually written reasonably well...

 
I tried with Vexor and Colonial Viper mk.7 from Diaspora. I think that the errors I get running PCS2 both under wine and in linux are somehow connected, because in both cases the program crashes while performing the loading operation. I got the linux build from FreeSpaceFreak too but it led to the very same result. That's why I suspect some component is missing...

 

Offline niffiwan

  • 211
  • Eluder Class
Well, I've compiled PCS2 on my Linux Mint 13 PC and it can successfully open these .pofs I extracted from Diaspora:
Code: [Select]
Col_Viper_Mk7_CP.pof  Col_Viper_Mk7e_CP.pof  Col_Viper_Mk7e.pof  Col_Viper_Mk7.pof

In case it helps, I documented the build process that I used: http://www.hard-light.net/wiki/index.php/Fs2_open_on_Linux/Compiling_PCS2

Maybe you could try following this? If it still doesn't work, could you let me know what version of Linux you're using?

edit: just updated the wiki doc, it seems that SDL isn't required after all, so I'm not sure what was going on with your install! :)  Maybe the build dir from FSF was an older version?
« Last Edit: September 25, 2013, 05:06:57 am by niffiwan »
Creating a fs2_open.log | Red Alert Bug = Hex Edit | MediaVPs 2014: Bigger HUD gauges | 32bit libs for 64bit Ubuntu
----
Debian Packages (testing/unstable): Freespace2 | wxLauncher
----
m|m: I think I'm suffering from Stockholm syndrome. Bmpman is starting to make sense and it's actually written reasonably well...

 
I think I'll give up this thing. I got PCS2 working in linux both natively and under wine. Paradoxically the only thing the program manages to load is the Vexor, but its textures appear only when I run PCS under wine. Any other model I attempted to load lacks textures or simply crashes the program. Moreover the only version that partially works is 2.0.2/3 without collada support.
So, at last, I tried running it in Windows 7 in a virtual machine. You know what? same result!
In the end I'll keep on using the PCS2 I installed in my netbook, since it seems to work flawlessly there...
Niffiwan and FreeSpaceFreak, thanks for your help anyway!

Niffiwan, I had a look to your wiki doc and I can confirm that the procedure works well, but I had to download three libraries (libboost-regex1.46-dev libboost-system1.46-dev libboost-filesystem1.46-dev) separately because they were not present in ubuntu repositories (at least the ones I had in my source list)

EDIT:
edit: just updated the wiki doc, it seems that SDL isn't required after all, so I'm not sure what was going on with your install! :)  Maybe the build dir from FSF was an older version?
Well, in my case SDL was necessary, since I managed to get the compling process done only by adding it to the libraries' list in the Sconstruct file.

ps: I'm running Kubuntu 13.04 - Linux 3.8.0-30-generic
Intel i5 + Nvidia GTX-650Ti with proprietary Nvidia driver v. 325.15