mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-11-02 20:51:23 -07:00 
			
		
		
		
	Fix build issues on Windows
This commit is contained in:
		
							parent
							
								
									fada7224f1
								
							
						
					
					
						commit
						a1dc7a5c41
					
				
					 4 changed files with 4 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -19,7 +19,7 @@ int main(const int argc, const char * argv[])
 | 
			
		|||
{
 | 
			
		||||
    using namespace Slic3r;
 | 
			
		||||
    
 | 
			
		||||
    if (argc < 1) return EXIT_FAILURE;
 | 
			
		||||
    if (argc <= 1) return EXIT_FAILURE;
 | 
			
		||||
    
 | 
			
		||||
    DynamicPrintConfig cfg;
 | 
			
		||||
    auto model = Model::read_from_file(argv[1], &cfg);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -20,6 +20,7 @@ target_link_libraries(opencsg_example libslic3r)
 | 
			
		|||
target_include_directories(opencsg_example PRIVATE ${wxWidgets_INCLUDE_DIRS})
 | 
			
		||||
target_compile_definitions(opencsg_example PRIVATE ${wxWidgets_DEFINITIONS})
 | 
			
		||||
 | 
			
		||||
slic3r_remap_configs(OpenCSG::opencsg RelWithDebInfo Release)
 | 
			
		||||
target_link_libraries(opencsg_example ${wxWidgets_LIBRARIES} 
 | 
			
		||||
    OpenCSG::opencsg 
 | 
			
		||||
    GLEW::GLEW
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue